Showing posts with label Windows GUI. Show all posts
Showing posts with label Windows GUI. Show all posts

How to run a program every time Windows starts

In a previous post I explained how to stop programs running when Windows starts up, but in this post I will explain how to make one run every time you boot up. There are a variety of ways of telling Windows to run a program when it starts, but using the 'Startup' folder on the Start menu is probably the simplest. For the purposes of this tutorial we will set Windows to run Firefox automatically.

Click on the Start menu and browse to the appropriate sub-menu. Right-click on the icon for the program you want to start automatically, and click 'Copy'.

Now find the 'Startup' folder on the Start menu, right-click on it and click 'Open'.

This will open a new window showing some of the programs that run whenever you start Windows.

Right-click on some empty space in that window and click paste.

If you cannot find the icon for the program you want in the Start menu, but you have it on your desktop then you can copy that one into the 'Startup' folder. You can repeat this process for all the programs you wish to start automatically; however, be warned that the more programs you have running the slower Windows will work.

I can see clearly now...

Eye strain is a hazard to anyone who uses their computers for any extended period. So anything that eases the pressure on the eyes is a bonus. To this end, Microsoft have developed a tool for making text more legible called ClearType Tuner.

The ClearType Tuner only works on Windows Vista and XP, and is available as a web-based tool here. You will be required to choose which is the clearer text from a variety of options a couple of times, and then - hopefully - text should be clearer on your screen. Windows XP users can also download a Control Panel version from the Microsoft XP Power Toys page.

If you are a Vista user and wish to switch off ClearType check out Diana Huggin's instructions on the excellent Lockergnome site.

How to pin shortcuts to the Start menu

The left hand side of the Start menu in Windows XP and Vista includes a list of recently used applications at the bottom below the divider, and a list of 'pinned' items at the top, as shown below.

You can add and remove shortcuts to this list of 'pinned' items in two ways. Firstly, you can simply drag-and-drop a shortcut from the bottom list to the top, as shown in the following video. Click on the icon in the lower list and hold down the mouse button while you drag the icon up above the divider.


Secondly, right-click on any shortcut and click on 'Pin to Start Menu'.

You can alter the order of the shortcuts by dragging and dropping them into their new position. To remove a pinned shortcut, right-click on it and select 'Remove from this list'. You can also alter the number of shortcuts displayed on the Start menu.

Windows XP
Right-click on the Start menu and click 'Properties' making sure the mouse pointer is not over an icon. You will then see a window like this.


Click the 'Customize...' button to open the following window.

You can adjust the number of programs on the Start menu here. Other settings on this page include the size of the icons on the Start menu, a button to clear the recently used applications and a way to select the email and web browser applications that are displayed on the menu. Adjust these as you desire and click 'OK' to close that window, and 'OK' again to close the first window.

Windows Vista
Right-click on the Start menu and click 'Properties' making sure the mouse pointer is not over an icon. You will then see a window like this.

Go to the 'Start Menu' tab and click the 'Customize...' button.

You can adjust the number of programs on the Start menu on the following window, as well a variety of other features on the Start menu.


Once you have adjusted the settings click 'OK' on both windows to close them and implement the changes.

Windows Folder Options Explained (Part 1)

In the 'Tools' menu of any Explorer window there is a 'Folder Options' item. This opens a dialog box that enables us to change the behaviour and the look of Explorer windows. This series of articles explore these various settings. The first part will deal with the 'General' tab.

Note: This article refers to Windows Explorer, the in-built file manager program, not to Internet Explorer, the web browser.

General Settings
The 'General' page has three settings, and a 'Restore Defaults' button that you can press to return to Windows' original settings.


Tasks

The first setting, 'Tasks', can be used to either show or hide the left hand pane in Explorer windows. The default setting - 'Show common tasks in folders' -will make Explorer windows look like this:


Selecting 'Use Windows classic folders' will make the windows look like this:


Browse folders
This setting can be used to change the way that Explorer responds to a double-click on a folder. If you have 'Open each folder in the same window' set, when you double click on a folder icon the current Explorer window will show the contents of that folder. This is the default setting for more recent versions of Windows; older versions defaulted to the other setting - 'Open each folder in its own window'. If this is selected then a double click on a folder will result in a new window opening up showing the contents of that folder. All fairly self explanatory.

Click items as follows
You can change the way that Windows responds to clicks on icons with this setting. The default is 'Double-click to open an item (single-click to select)'; however, you can make Windows behave like a web browser, that is, it will open a file when you click on it once. To do this select 'Single-click to open an item (point to select)'. This has two sub-settings, which change the way that the icons appear. They will look like the following image all the time if the 'Underline icon titles consistent with my browser' option is elected, or only when you hover the mouse pointer over them if the 'Underline icon titles only when I point at them' option is selected.

I recommend that you leave this setting as default.

The next article will look at the first collection of the settings on the 'View' tab.

Windows Task Manager Explained: Part 1

Starting the Task Manager

There are a couple of ways to show the Windows Task Manager: hold down the Ctrl and Alt keys and press the Delete key - Task Manager will then open some versions of Windows, in others you will be presented with a small dialog box that has a button you can click to open the Task Manager; alternatively you can right-click on empty space on the Taskbar and select Task Manager from the menu.


Applications Tab

The first page on the Task Manager lists all the applications that are running on the PC. This mimics the list that you see as buttons on the Taskbar. If you highlight an application in the list and click the 'End Task' button that application will then close. This is particularly useful if an application has a status of 'Not Responding' when normal attempts to close it will fail.

The 'New Task' button works in the same way as the 'Run' item in the Start Menu.


Processes Tab

The 'Processes' page lists all the programs that are running on your computer. Note that there are more items listed here than on the 'Applications' tab. This is because the listed items include all the programs that run in the background and are either unavailable on the Taskbar or appear as small icons in the Systray. Using the mouse to right-click on an entry (or using the Application key) will open a context menu. As with the 'Applications' tab you can end a process, but you also have the option of changing the priority that Windows gives a process, which means you can effectively give the process more or less of Windows' resources making it run faster or slower. Beware of using this function as you can slow other processes down, including Windows' own essential services.

Performance Tab

The 'Performance' tab provides a visual representation of how much 'work' your CPU is doing. The CPU - also known as the processor - is the engine of the computer carrying out all the mathematical tasks that enable the programs to run.

This tab also displays the Page File usage. The Page File - sometimes known as the Swap File - is a file on the hard drive which Windows uses as an extra memory store, because running many processes often requires more memory storage than is physically available on the PC. Windows shifts information back and forth between the physical memory - known as RAM - and the Page File.


The remaining tabs and features of the Task Manager will be explored in the following post.

How to save a list of files in a folder

There are a number of programs available that will create a text file from a list of files in a folder, but here is a quick and easy way of doing the same using the Command Prompt.

Firstly, open up the Command Prompt (aka the MS-DOS Box). To do this either click on 'Run' in the 'Start' menu, or hold down the Windows key and press R (the Windows key is the one with the Windows logo on). In the box that opens type cmd, and either click the 'OK' button or press the Return key. The Command Prompt application should open, looking something like this.


Secondly, you will need to navigate to the folder which contains the files you wish to list. If it is on a different drive type the drive letter followed by colon (e.g. D:) and hit return. Then type cd (change directory) followed by the path of the folder, for example:

cd c:\documents and settings\owner\my documents


On some versions of Windows you only need to type part of the folder name and then press the Tab key and the Command Prompt will fill in the rest, e.g. type cd c:\docu and press Tab to change the command to cd c:\documents and settings.

If you do not know the full path of the folder, you can set Windows Explorer to show it in the address bar or title bar - one of my earlier posts explains how to do this (I would recommend showing the full bath in the address bar). You can copy the path from the address bar and paste it into the command prompt screen by clicking on its icon in the top left hand corner, which opens a drop down menu as shown below.


Once you have navigated to the right folder you can type the command to create a file list in that folder in the form of a text file that can be opened in notepad or your word processor.

Note: Windows Vista includes a feature where you can hold down the Shift key and right-click on the icon of the folder you wish to list the files contained within and select 'Open Command Window Here' from the menu that opens. I will be publishing a post soon which will provide instructions on how to add this feature to Windows XP.


Directory List Command

To create a list of all the files in the folder type dir /a-d /b > filelist.txt and press Return/Enter.

The command includes two switches, /a-d and /b. The first of these stops the dir command. from listing folders; the second prevents the command from showing the extra information you see if you just type dir and hit Return. If you wish the text file to have a different name change it from 'filelist' but remember to put '.txt' at the end so that Windows knows that it is a text file.

The dir command has a variety of other switches, the following command will list the names of all the mp3 files in the current folder and all the sub-folders that it contains:
dir *.mp3 /a-d /s /b > mp3filelist.txt

The *.mp3 part tells the command to only list files with that extension, and the /s sets it to list the files in sub-folders too. Note that the files in the sub-folders will be listed prefixed by the folder name, e.g. 'D:\soulseek\placebo - covers\01 Running up That Hill.mp3'.

If you have a particular requirement for a file list leave a comment on this post and I will look into it for you. Also, if anyone is interested in learning more about the various commands and programs available in the Command Prompt please leave a comment.

One last point, you can use > filename.txt to send the results of any command to a text file, which can be very useful if you have to pass information on to a technician.

Now you can impress your friends and co-workers with your 'old skool' techie skills.

How to sort the Programs Menu

If, like me, you have a lot of applications installed on Windows XP, it can be time consuming to find the folder or icon for the program that you are looking for on the Start menu. You can sort the contents of the Programs menu into alphabetical order, with the folders listed first and then the applications. To do so open up the Start menu and then the Programs menu. Right-click on any folder or icon and click 'Sort ny Name' on the menu that opens.

Jargon Busting: Anatomy of a window (Part 2)

A number of weeks ago I posted an article naming the various elements that you will find in in Windows programs. This is the second part of that series. Unfortunately, whereas in the last post the displayed elements were interactive, in this post they will only be images.

Scroll Bar
A control for shifting the contents of a window left and right on horizontal scroll bars or up and down on vertical ones.


Slider
This control can be used to adjust a value within a limited range. Sometimes the value chosen with the slider will be displayed. On some sliders there will be only a few values that can be chosen, as with the screen resolution selector.


Spinner
The spinner is a combination of a numeric input box and two small buttons with which you can increase and decrease its value.

Tree View
Tree views appear in a variety of forms, but share the same basic characteristics: items containing sub-items containing sub-items and so on. On some tree views each item will have an associated tick boxes. Click on the + symbol next to an item to see the sub-items it contains. The symbol will then change to a -, which you can click to hide the sub-items.

Keyboard shortcut of the week: Alternative windows hopping

In a previous post I mentioned that you can hop between open windows by holding down the Alt key and pressing the Tab key repeatedly. A little dialog box will open that in Windows XP or 2000 looks like this:


And in Windows Vista looks like this:


There is an alternate way of hopping between windows that does not show this box. Simply hold down the Alt key and press the Escape key (marked Esc) to hop between windows in the order that you opened them. If you hop using this method Windows will leave any minimised windows in that state, it will not restore them like the Alt+Tab method does.

How to see the Explorer menus in Windows Vista and 7

As promised some time ago, here is the first post about Windows 7 (and Vista).

Users of XP and earlier versions of Windows who now use Vista or 7 will have noticed that the Explorer menus are no longer shown.


Thankfully there is an easy way to remedy this either temporarily or permenantly. To see the menu bar simply press the Alt key.


If you wish to always have the menus visible, select 'Folder options...' from the 'Tools' menu.


On the 'Folder Options' window, go to the 'View' tab and tick 'Always show menus' and then click the 'OK' button.

Windows Hopping reprise

Hopping Between Windows
Have you ever needed to swap windows while you are using the keyboard? Have you needed to jump quickly from that email you are composing to the report you are supposed to be writing? Then try holding down Alt key and pressing the Tab key. Select the window you want and release the Alt key to bring that one to the front. A little dialog box will open that looks like this in Windows XP or 2000:


And looks like this in Windows Vista:


There is also an alternate way of hopping between windows that does not show this box. Simply hold down the Alt key and press the Escape key (marked Esc) to hop between windows in the order that you opened them. If you hop using this method Windows will leave any minimised windows in that state, it will not restore them like the Alt+Tab method does.

Hopping Within Windows
While we are on the subject of the Tab key, whenever you are filling in a form in a Windows program, the Tab key will generally move the cursor to the next field or button.

To move the cursor back to the previous field hold down the Shift key and press the Tab key.

Filling in a whole form from the keyboard means you get the job done more quickly and more easily, leaving more time available to 'Alt-Tab' back to that blog you were reading.

Try these shortcuts out on the following form. Click on the first field to select it, then tab between fields to your heart's content.

Field1:
Field2:
Field3:
To change the value of this press the space-bar when selected:
To change the value here use the up and down cursor keys:

[This post is an edited version of two that I originally posted on 22 August 2007 & 24 September 2008... I have been very busy writing up an assignment lately, but rest assured there will be more original material here soon]

How to make Windows quicker: lose the fancy look

There is a price to be paid for fancy effects and other visual features in Windows: a reduction in performance. Nevertheless, by switching off the knobs and whistles you can make Windows run that little bit faster.

To choose which visual features to disable, you need to open the 'System Properties' dialogue. To do this either right-click on 'My Computer' on your Desktop and select 'Properties' from the menu that opens, or hold down the Windows key and press the Pause/Break key. Once you have 'System Properties' open, go to the 'Advanced' tab, and click on the 'Settings' button in the 'Performance' section.

This will open up the 'Performance Options' dialogue box. Make sure you have the first tab selected: 'Visual Effects'. On this page you will see a set of four options at the top. By default it is set to 'Let Windows choose what's best for your computer' but you can also choose to have it select settings for 'best appearance' (where all effects switched on) and 'best performance' (where all effects are switched off). The fourth option lets you decide which effects you want to have activated and which ones you do not. You can have a play around switching these off and on and clicking the 'Apply' button to see how they affect Windows. When you are happy click 'OK'

Keyboard shortcut of the week: jump up a level

When you are using Windows Explorer - the file management program that opens when you double-click on 'My Computer' and the like - you can move to the parent folder by clicking the back-space key.

By 'parent folder' I mean the folder that contains the one you are looking at. In the following image we see that the 'parent folder' of Adobe is Program Files.

Another way to achieve the same thing is to press the F4 key followed by the up arrow, and then Return.

Note for Vista users: using the Backspace key in Vista mimics the use in web browsers, that is, it takes you to the previous folder you looked at. To go to the parent directory using Vista, hold down Alt and press the Up cursor.

Windows Folder Options Explained (Part 4)

Continued from part 3...

File Types
This tab contains a list of all the file types that Windows knows about and which programs are configured to open them if you double-click on their icons.


As the image shows, if a .doc document is double-clicked on it will open in MS Word. You can change the program that is associated with a file type by selecting its entry and pressing the 'Change...' button.

Occasionally you might want to delete file types from the list, if you do not use files of a certain type any more. Highlight the entry for the file type and press the 'Delete' button. This will reduce the size of the Registry (a file that contains most of the settings for Windows and other applications), but not by enough to have a significant impact on performance. So, the chances are that you will probably want to leave this list alone.

There is an option to create a new file type for the list, using the 'New' button, but frankly, you are better off just double clicking on a file of the new type and selecting a program to associate it with in the normal way.

Finally there is an 'Advanced' button, which is used to change the way that Windows creates, opens, and prints files of the selected type. It would be best to leave these settings alone unless you know what you are doing, and an explanation of these settings is beyond the scope of this series of articles.

Some versions of Windows will have a fourth tab in the Folder Options dialog box, called 'Offline Files'. This will not be covered within this series of articles as this would require me dealing with the larger issue of folder synchronisation. Something that I may return to in the future.

Jargon Busting: Anatomy of a window (Part 1)

All the various controls on a Windows program have names that are not always intuitive. In this post I will identify the most common controls and list the various names that they are known by. I will not bother with buttons or menus as everyone should know what they are. All the controls on this post are interactive, rather than just being images.



Text box, Text field, Text Entry, Input Box
A control into which you can type text. It can be a single line as above, or multiple lines as below.

Radio button, Option button
This control enables you to select one of a number of choices.


Male
Female
Check box, Tick box
These either appear singly offering an on/off or yes/no choice, or they offer a chance to select a multitude of options.




What do you own?
Desktop PC:
Laptop
PDA
List box
This control enables you to select one or more items from a list. To select more than one item hold down the Ctrl key while clicking.



Drop-down list
This element allows you to select an item from a list

In the next post in this series I will look at other program controls, such as sliders, spinners, trees and grids.

Windows Folder Options Explained (Part 3)

Continued from part 2...

View Settings continued


Hide protected operating system files (Recommended)
This option is selected by default, to protect users from themselves, as is explained in the warning message that appears if you try to switch it off.


If you click 'Yes' on this dialog box you will be able to see these special system files. The image below shows various system files that are required by Windows to run, such as 'pagefile' which is the swap file which Windows users to manage memory. As the setting suggests, most users will want to leave this option selected.



Launch folder windows in a separate process
This setting, if selected, changes the way that Windows runs different instances of Explorer by running them in separate processes, so if one crashes the others should continue running. You may want to select this but according to user experience it seems to make little difference.


Managing pairs of Web pages and folders

This setting is made available when MS Office XP or 2003 is installed. It effects the way that web pages are saved by Internet Explorer: the default option - 'Show both parts and manage them individually' - saves the web page along with all the files it needs to operate in a folder and these can be manipulated like any other files; however, the other options 'Show and manage the pair as a single file' and 'Show both parts and manage as a single file' link the file and folder in such a way that if one is moved or deleted the other will be treated the same. The last of these options hides the folder which contains the associated files. This is a rather confusing option and is probably best left well alone.


Remember each folder's view settings
This setting is pretty self explanatory. If selected it will mean that each folder will retain whichever display options were applied the last time you accessed it in Explorer.


Restore previous folder windows at logon
If selected, this option will mean that Windows will open all the Explorer windows that you had open when you shut down or logged off your computer previously. Handy if you have to reboot a lot.


Show Control Panel in My Computer
Another self explanatory option. If selected the 'Control Panel' icon will be visible when you view 'My Computer' in Explorer.


Show encrypted or compressed NTFS files in color
NTFS is one of the file systems available in the various versions of Windows and is more feature-rich than the more common file system: FAT32. It includes the facility to compress files (like in zip files) in order to save hard drive space and the ability for the user to encrypt files so that other users will only see gibberish if they open them. If this option is selected the details about compressed files will be blue and those for encrypted files will be green.



Show pop-up description for folders and desktop items
If this option is turned off then the yellow pop-up descriptions that appear when the mouse pointer hovers over a file or folder, as shown below, will no longer appear.



Use simple file sharing (Recommended)
If you wish to have more control over the way that you share files and folders with other users on your network you can switch this option off. For the vast majority of users is inadvisable to change this option. If you have the need for different users to able to access different files you can use this option.

The last part of this series will explain the File Types tab.

How to password protect any file in Windows XP

Certain applications, such as Microsoft Word, enable you to password protect your files. Nevertheless, the zip functionality that is built into Windows XP enables the user to password protect any file by compressing it using a password. If you have an alternate compression application, such as WinRar installed then you can also use that to password protect files on any version of Windows.

To do so, right-click on the file you wish to password protect and select 'Send to...' From the sub-menu that pops up select 'Compressed (zipped) folder'


This will create a zip file with the same name as the original file.

Right-click on this zip file and select 'Explore'. This will open the file in a new window. From the 'File' menu select 'Add a password'.

Type the password in twice and click OK

Delete the original file, and for extra safety, empty your 'Recycle Bin'.

You may see the following message if you have another compression application installed. If so, just click 'Yes', and carry on as above.