Creating Shortcuts to Feature Settings
Create shortcuts to feature settings to reduce the number of taps to reach them. Here's exactly what you do...
Here's part two of my now-famous shortcut trilogy. In this article, you'll learn how to create shortcuts to your most used feature settings so that they appear on the Programs screen. I'll provide the steps necessary to make this process as easy as possible.
Once a shortcut is on the Programs screen, you can move it to a number of places that are most convenient for you. And that's what I talk about in part three, "Shortcut Placement", of this trilogy. If you missed it, you may want to read part one, Creating Shortcuts to Your Apps and Files, where I show you how to create shortcuts to your applications and files.
Microsoft Windows Powered Pocket PC 2000
An active connection with a desktop computer
Notepad or other text editor
Feature settings shortcut examples
All languages are supported.
What is a Feature Setting?
Feature settings are the little programs that you use to change the settings for your Pocket PC, such as your password, screen contrast, memory, the PC Connection (this is the connection between your PC and Pocket PC), and other things. You access them by tapping your Start screen, then going to the Settings menu. And say you want the PC Connections settings, you would tap the Connections tab to see the PC Connection settings icon (Figure 1). Depending upon which setting you want on which tab, it can take a few taps to get there.
Figure 1: Settings screen with Connections tab selected. This is how you access it now, through your Start menu.
There is a better way. Instead, you can create shortcuts and access your most often used settings from the Start menu, as you see PC Connections in Figure 2 below.
Figure 2: Start menu showing a shortcut to PC Connection settings, just above Windows Media.
So let's create a settings shortcut on our Programs screen. Later we can move it to our Start menu. It's really done in a series of steps.
- First, we create the shortcut text file.
- Then we copy it over to our device, where it will appear on the Programs screen, which of course you access from the Start menu.
- From there, part three of my shortcut trilogy will help you move the shortcut from Programs to the Start menu.
But first, let's find out what's behind the scenes that makes the shortcut work.
What are these Shortcuts Made of?
This reminds me of the old nursery rhyme "What little boys and girls are made from?" Except instead of sugar and spice and everything nice we have pound signs and commas and numbers galore. Creating these shortcuts is a little involved. However, don't worry, even if you make a mistake it will not cause any damage to your Pocket PC. Moreover, I'll be right here, with these easy steps for you to follow.
Now, to answer the question: Shortcuts to feature settings are very short plain text files with some text in them. These text files are actually very similar to a standard Pocket PC shortcut, just a little more complicated to create. I will explain the format of these text files then give a few examples. Figure 3 shows what the text file looks like.
Figure 3: Notepad with shortcut file open, showing the text line that makes up a shortcut.
Specifically, Figure 3 shows Notepad with the shortcut file, "PC Connection.lnk" open for editing.
Here It Is: The Heart of the File
This type of shortcut is one line of text. Just follow this format:
Explanation of Text Line
|nn#||Replace the nn variable with the number representing the total size, in characters — including spaces — in the line of text following the # (pound) sign.|
|ctlpnl cplmain.cpl,||This is the program to be executed. For feature settings, this will always be the same. Don't forget the comma. It is necessary to separate the command from its parameters.|
|i||Replace the i variable with the index number of the feature setting you wish to run (Table 1).|
|,0||This is the variable for the optional tab number to select. (I'll explain what "tab numbers" are in just a minute.) Numbering for tabs starts at zero (0). The tab here is only necessary if you are specifying a tab number; otherwise it doesn't need to be specified. So you may omit this part of the text line entirely if it's not needed.|
|<CR>||This represents a carriage return. Instead of a true carriage return, today we depress the Enter key. (In other words, don't include the literal in your file.)|
As you can see, it's pretty logical. Now let's look at the variables in the text line and figure out what yours ought to say.
Feature Application Index Numbers (i)
Several items in Table 1 do not work on certain devices. I have indicated these items with the red N in the columns next to the function.
|Index Number||Feature Setting||Compaq iPAQ||HP Jornada||Casio Cassiopeia|
|9||Sounds & Reminders||Y||Y||Y|
Table 1: Index numbers for the feature settings and device applicability.
The tab number is optional. If the particular feature doesn't have a tab to access its setting, you simply end the text line by depressing the Enter key.
Or, if the particular program you wish to set up with a shortcut has several tabs for its settings, this parameter will allow you to specify which tab you would like to go to for the desired setting. Tab numbering starts with zero (0). So the left-most tab is zero, then the next tab to the right is one, the next is two, and so forth. See Figure 4, where I circled the tabs to show what I mean.
Figure 4: Sounds & Reminders settings with the category Tabs circled.
For Volume the parameter would be 0, Sounds would be 1, and for Reminders you would use 2.
These examples may save you some time in figuring the text line. You'll find more in the downloadable .ZIP file. I recommend it!
|Feature Setting||Shortcut Text|
|Password Setting||20#ctlpnl cplmain.cpl,1|
|Modem Connections / Connections Tab (Default)||21#ctlpnl cplmain.cpl,15|
|Modem Connections / Dialing Tab||23#ctlpnl cplmain.cpl,15,1|
|PC Connections||21#ctlpnl cplmain.cpl,14|
Table 2: Shortcut text examples you may find helpful.
Creating the Feature Settings Shortcut
Now that we understand what goes into a settings shortcut, let's create one. This requires a text editor, such as Notepad, which is included with Microsoft Windows(r). For the purposes of this example, I will use Notepad. Just follow these simple steps to set up a shortcut to the PC Connection settings and you'll have your own feature setting shortcut in no time at all.
Creating Your Shortcut File
From your desktop computer:
- Select Run from the Windows Start menu
- Type notepad.exe.
- Click OK.
- Enter the text line, as described above, into your new Notepad file. We will use the "PC Connection" feature setting as our example. The last row in Table 2 above shows the text needed for this shortcut.
- Select Save As from the File menu.
- Type "PC Connection.lnk" as the filename, without the quotes. Save it to C:\ or any directory you wish. The rest of this article will assume you saved the file to C:\.
- Click Save.
- Select Exit from the File menu.
You have just created your first feature setting shortcut. Aren't you excited! Now we need to get this shiny new shortcut to your device.
Copying Your New Settings Shortcut to Your Device
- Still at your desktop, select Run from the Windows Start menu.
- Type explorer.exe.
- Click OK.
- Navigate to C:\.
- Locate and select the "PC Connection.lnk" file you created.
- Select Copy from the Edit menu.
- Open your ActiveSync window.
- From the ActiveSync toolbar select the Explore button, second from the right. Alternatively, you can select Explore from the File menu.
- When Windows Explorer loads, navigate to \My Pocket PC, then to the device's \Windows\Start Menu\Programs folder.
- Select Paste Shortcut from the Windows Explorer Edit menu. This will paste your new shortcut as "PC Connection.lnk" into the current folder.
Now the shortcut will appear in the Programs screen, as you see below in Figure 5. From there we can place it on the Start menu. That's where you'll need to go to part three that describes "Shortcut Placement".
Figure 5: Our new Windows flag icon for the shortcut to the PC Connection settings.
Not All Pocket PCs are Created Equal
Not all devices operate exactly the same way. I have made my best attempts at finding these out and locating some solutions for each of the main devices. You'll remember these exceptions from Table 1 above where features were sometimes marked with a N.
The Contrast feature setting shortcut as described above does not function on the Compaq iPAQ Pocket PC.
Creating a shortcut to the Backlight feature setting as described above will not function on the Compaq iPAQ Pocket PC. Don't despair; there is another way to accomplish the same thing.
To correct the Backlight feature setting shortcut problem replace the text "cplmain.cpl" with "backlight.cpl." This will bring up the backlight feature setting. The tab parameter appears to have no effect when running this shortcut.
No known issues.
The Contrast feature setting shortcut as described above does not function on the Casio Pocket PC. I performed my test on an EM-500; if you have another Casio device, your results may vary.
The same is true for the Backlight feature setting shortcut.
Not all functions work on all devices. I tried many variations to get contrast to work on an iPAQ. No matter what I tried, nothing worked. In addition, the tab parameter doesn't always work for all the feature settings. Your own results may vary.
It is not possible to set a unique icon for these shortcuts. They will always have the default Windows flag icon displayed, see Figure 5. The text label tells you what the shortcut is for. This may not be attractive, but it is just as functional.
Not a Gotcha really, but you may have already guessed that now your PC Connection settings can be accessed from two places. This remains until you remove the shortcut.
- In its original location you found by tapping Start, then Settings, then Connections.
- Its new location on the Programs screen, as you saw in Figure 5.
For your convenience I have included a downloadable .zip file, Feature Settings Shortcut Examples, with a shortcut to each of the feature settings I list above. Read the "Read Me.1st" file for further details on each file.
In the last installment to this three-part series, I explain the best place to put your new shortcuts, whether it's an application shortcut or a feature setting shortcut.