Create a Shortcut

index -|- end -|- home

For example, the following set of verbal instructions, can be reduced to a button, an ICON, on the desktop ...

(b) Run the WEB CAM capture - uses JWebCam4 in java - in the C:\Gtools\java, folder ... this can be done via a SHORTCUT ICON, or by using the 'Command Prompt' ... click [ Start ], select 'All Programs' ... 'Accessories' ... 'Command Prompt' ... the standard DOS window will open ... type, at the command prompt, HJAVA ... this will take you to the C:\Gtools\java folder ... check, do 'Dir JWebCam4.class' file is present ... at the prompt enter - java JWebCam4

Creating that button ...

With the mouse on a BLANK part of your desktop, do a RIGHT-CLICK ... this should open a context menu ... slide the mouse down to 'New ...', and in the sub-menu, click on 'Shortcut ...' ... If there is no 'New ...' on the context menu, then click else where ... hover over some BLANK space, on the DESKTOP, and RIGHT-CLICK the mouse button ...

This is how this looks on a sample screen ... right-clicking on the mountain, brings up the context menu ... slide mouse down to 'New ...' line, and in the new context menu opened, click on the 'Shortcut ...' line ...

[Desktop view, showing context menu to create a short cut]

top

This will open a 'Create Shortcut' dialog, like this ...

[Create Shortcut diaglog box]

a. You could click on the [ Browse... ] button, and navigate to the folder where the file java.exe resides, namely C:\WINDOWS\System32,

* OR *

b. You could TYPE the folder, and file - type 'C:\WINDOWS\System32\javaj.exe', without the inverted commas, in the edit box, under the words 'Type the location of the items:' ... ignore the context help that may extend down from where you type ...

top

Either method, should look like the following, when done ...

[Create Shortcut diaglog box with 'Type the location of the item' filled in.]

Click on the [ Next > ] button ...

The next page request the name you want to call this shortcut ... suggest, say 'Run WebCAM 1' ... That is, the window that arrives shows ...

[After Next, view of the 'Select a Title for the Program' dialog.]

Just type - Run WebCAM 1 - these words will replace the java.exe, highlighted in the above .. to get the following ...

[The 'Select a Title for the Program' dialog filled in.]

top

Clicking on the [ Finish ] button, will complete the first part of the short cut ... as in the following, after clicking [ Finish ] button, there should be a new ICON called 'Run WebCAM 1' on the desktop, like ...

[Desktop view, showing the ICON of the new shortcut.]

At this stage, this new 'button' -

[View of the default ICON]

will only start java.exe ... we need to AMEND some of its properties ...

With the mouse hovering OVER THE ICON, right-click the mouse again ... and a context menu should open ... slide down the list, and click on the bottom 'Properties' ... this looks like the following ...

[View of the right mouse click context menu, with properties selected.]

After clicking on the 'Properties' ... a dialog will open, like ...

[Properties dialog on the desktop.]

top

You must CHANGE some of these properties ... here is what it look like at the beginning ...

[View of the Properties dialog.]

Two or three of these, so called, properties, must be changed ... before clicking the [ Apply ] button, and eventually the [ ok ] button, to close the dialog ...

top

1. Modifying the 'Target:' line

The 'Target:' must be added to - use the right arrow key to get to the end of current Target: string ... and add a space, then type JWebCam4 ... gives the following ...

[View of the Properties dialog with the target line altered.]

2. Modifying the 'Start in:' property line

The second property to change is the 'Start in:' ... it presently reads C:\WINDOWS\System32 ... this line should be selected, and replaced with the string C:\Gtools\java ... so it ends up looking like this ...

[View of the Properties dialog with the start in line altered.]

Clicking, first the [ Apply ] button, then the [ ok ] button, and the new short cut will work ... but it is usually better to try to find an ICON that better suits the action ...

3. Changing the ICON image

The present ICON is very 'general' ...

[Another view of the very general ICON.]

To change this ICON, click on the [ Change Icon... ] button ... when this button is clicked, it is NORMAL to get a 'warning' dialog, like ...

[View of error dialog when chosen application does not contains its own ICONS.]

Just click on the [ Ok ] button, on this dialog ... and a window opens, containing loads of ICON images ... like ...

[Change Icon dialog showing ICONS in shell32.dll.]

On the 'Change Icon' window, you can use the slider at the bottom to see a considerable array of possible icons ... below, it is slid to the right, and a 'Camera' icon is selected ... choose any of the icons shown ... click on it, to select it ...

[Choosing and selecting an ICON from shell32.dll list.]

Click the [ Ok ], on the 'Change Icon' window ... notice, back at the window, the icon has changed ...

[Back to the Change Icon dialog, showing the selected ICON.]

There are other changes, and modifications, that can be done in the multi-tabbed page of properties ... feel free to experiment ... you may want the change the windows colour, from the rather drab DOS black background, to white, with the text in say mauve ...

top

Done All Property Changes

Now, click, first the [ Apply ] button, then the [ Ok ] button ... and the shortcut is complete ... you should be able to find the following on your DESKTOP ...

[Final view of the new shortcut on the desktop.]

Using the ICON

Double clicking on the 'Run WebCAM 1' icon, on the desktop, should run the WEB CAM ... opening new windows, like the following -

[Desktop view, after runnign this particular Web CAM capture java program.]

Note, two windows have opened ... the small top left, is a view 'through-the-web-cam' ... and after 30-30 seconds, the writing of the snaps should begin ...

End of creating, setting properties of, and using a SHORTCUT ... an ICON on the desktop ... a button ... to do a set of actions ... IT MAKES LIFE EASIER ;=))

top

checked by tidy  Valid HTML 4.01 Transitional