[Guide] How to create .LNK files and use parameters - Windows Mobile Development and Hacking General

Due to the increasing amount of requests bulking up other threads, regarding how to make and use parameters I'm starting this thread with all the info at the begining, and I'll link it in my signature.
I make no claim to have discovered all of them.
I hereby present my collection gathered (copy & paste mostly) from this and other sites.
How to create .LNK files and use parameters
HOW TO CREATE SHORTCUTS ON YOUR PPC, NOT ON THE PC AND THEN TRANSFER THEM-
1-Don't use the inbuilt file explorer. use gsfinder, or total commander etc. The inbuilt file explorer can't edit links or show file extensions - if you try to rename something to xxx.LNK, it will really be xxx.lnk.txt (or something)
2: Using the other file explorer, copy and paste a shortcut to ANY file/exe/.lnk you want.
3: Tap & hold on this new shortcut, select 'properties'.
4: in properties, write the address of the program you want the shortcut for. ie- program files\xxx.exe or windows\xxx.exe or ctlpnl cplmain.cpl,5 (the about screen)...
5: Ok/Close the properties, & rename the link to whatever you want leaving .LNK at the end
THE OTHER METHOD IS-
Again you'll need a different file explorer. Create a .TXT file with the content '#ctlpnl cplmain.cpl,1' or '#' followed by the address , such as '#tmail.exe' (for example) then rename the file extension to .LNK In my tests a number before the # is NOT required.
---------------------------------------------------------------------------------------
NOTES-
When creating using a .txt file the contents must start with a '#', if creating by editing the properties of an existing .lnk you do not need the '#' There are examples below of both methods, if it has a '#' it's the .txt method, if it is in quotes, it is the address as it would need to be in the properties of the .lnk file
It is NOT possible to open a link to the folder view you get by \start menu\programs unless you have folderview.exe in your windows folder, none of my 4 devices have that so I've not tested it. But you can open to folders with file explorer using, for example- "\program files\greensoftware\gsfinder.exe" windows\start menu\programs\games
There is NO shortcut to quickly dial a number, you would need to go through the 'confirm number page', or use 3rd party soft such as vijay555's
Edit: Quicker dialing shortcut found and added, still requires you to press 'Talk' after you run the .lnk though
---------------------------------------------------------------------------------------
Available parameters for tmail.exe (depending on the service used) are- "tmail.exe" -new ""
"tmail.exe" -service ""
"tmail.exe" -to ""
"tmail.exe" -subject ""
"tmail.exe" -Body ""
"tmail.exe" -attach ""
"tmail.exe" -open "inbox"
"tmail.exe" -sync
or combinations of all such as-
"tmail.exe" -to "[email protected]" -subject "Photos" -Message "Hi, here is the picture" -attach "\my documents\my pictures\1.jpg"
---------------------------------------------------------------------------------------
Links for settings:
Settings>Personal>Password>Password = 20#ctlpnl cplmain.cpl,1
Settings>Personal>Password>Hint = 22#ctlpnl cplmain.cpl,1,1
Settings>Personal>Owner Information>Identification = 20#ctlpnl cplmain.cpl,2
Settings>Personal>Owner Information>Notes = 22#ctlpnl cplmain.cpl,2,1
Settings>Personal>Owner Information>Options = 22#ctlpnl cplmain.cpl,2,2
Settings>System>Power>Main = 20#ctlpnl cplmain.cpl,3
Settings>System>Memory>Main = 20#ctlpnl cplmain.cpl,4
Settings>System>Memory>Storage Card = 22#ctlpnl cplmain.cpl,4,1
Settings>System>Memory>Running Programs = 22#ctlpnl cplmain.cpl,4,2
Settings>System>About>Version = 20#ctlpnl cplmain.cpl,5
Settings>System>About>Device ID = 22#ctlpnl cplmain.cpl,5,1
Settings>System>About>Copyrights = 22#ctlpnl cplmain.cpl,5,2
Settings>System>Backlight>Brightness = 20#ctlpnl cplmain.cpl,6
Settings>System>Backlight>Battery power= 20#ctlpnl cplmain.cpl,6,1
Settings>System>Backlight>External power = 20#ctlpnl cplmain.cpl,6,2
Settings>System>Screen>General = 20#ctlpnl cplmain.cpl,7
Settings>System>Screen>Clear Type = 22#ctlpnl cplmain.cpl,7,1
Settings>System>Screen>Text Size = 22#ctlpnl cplmain.cpl,7,2
Settings>Personal>Input>Input Method = 20#ctlpnl cplmain.cpl,8
Settings>Personal>Input>Word Completion = 22#ctlpnl cplmain.cpl,8,1
Settings>Personal>Input>Options = 22#ctlpnl cplmain.cpl,8,2
Settings>Personal>Sounds & Notifications>Sounds = 20#ctlpnl cplmain.cpl,9
Settings>Personal>Sounds & Notifications>Notifications = 22#ctlpnl cplmain.cpl,9,1
Settings>System>Remove Programs = 21#ctlpnl cplmain.cpl,10
Settings>Personal>Menus>Start Menu = 21#ctlpnl cplmain.cpl,11
Settings>Personal>Menus>New Menu = 23#ctlpnl cplmain.cpl,11,1
Settings>Personal>Buttons>Program Buttons = 21#ctlpnl cplmain.cpl,12
Settings>Personal>Buttons>Up/Down Controls = 23#ctlpnl cplmain.cpl,12,1
Settings>Personal>Today>Appearance = 21#ctlpnl cplmain.cpl,13
Settings>Personal>Today>Items = 23#ctlpnl cplmain.cpl,13,1
Settings>Connections>Beam = 21#ctlpnl cplmain.cpl,15
Settings>System>Clock & Alarms>Time = 21#ctlpnl cplmain.cpl,16
Settings>System>Clock & Alarms>Alarms = 23#ctlpnl cplmain.cpl,16,2
Settings>Connections>Network Cards = 21#ctlpnl cplmain.cpl,17
Settings>System>Regional Settings>Region = 21#ctlpnl cplmain.cpl,18
Settings>System>Regional Settings>Number = 23#ctlpnl cplmain.cpl,18,1
Settings>System>Regional Settings>Currency = 23#ctlpnl cplmain.cpl,18,2
Settings>System>Regional Settings>Time = 23#ctlpnl cplmain.cpl,18,3
Settings>System>Regional Settings>Date = 23#ctlpnl cplmain.cpl,18,4
Settings>Connections>Connections>Task = 21#ctlpnl cplmain.cpl,19
Settings>Connections>Connection>Advanced = 23#ctlpnl cplmain.cpl,19,1
Settings>Personal>Phone>Phone = 21#ctlpnl cplmain.cpl,20
Settings>Personal>Phone>Services = 23#ctlpnl cplmain.cpl,20,1
Settings>Personal>Phone>Network = 23#ctlpnl cplmain.cpl,20,2
Settings>Personal>Phone>More = 23#ctlpnl cplmain.cpl,20,3
Settings>System>Certificates>Personal = 21#ctlpnl cplmain.cpl,22
Settings>System>Certificates>Root = 23#ctlpnl cplmain.cpl,22,1
Settings>Connections>Bluetooth>Mode = 21#ctlpnl cplmain.cpl,23
Settings>Connections>Bluetooth>Devices = 23#ctlpnl cplmain.cpl,23,1
---------------------------------------------------------------------------------------
Calendar agenda view 21#:MSCALENDAR -va?outres.dll,-100002
Calendar day view 21#:MSCALENDAR -vd?outres.dll,-100002
Calendar month view 21#:MSCALENDAR -vm?outres.dll,-100002
Calendar week view 21#:MSCALENDAR -vw?outres.dll,-100002
Calendar year view 21#:MSCALENDAR -vy?outres.dll,-100002
Calendar must be already running in the background for these to work
---------------------------------------------------------------------------------------
New Task: "poutlook.exe" tasks -new
New Note: "notes.exe" -n
New Contact: "poutlook.exe" contacts -new
New Appointment: "poutlook.exe" calendar -new
---------------------------------------------------------------------------------------
To Dial a number: "\windows\cprog.exe" -n -url tel:+1234567890
---------------------------------------------------------------------------------------
camera
"\windows\camera.exe" -i =photo mode
"\windows\camera.exe" -v =video mode
"\windows\camera.exe" -p =contact photo mode
"\windows\camera.exe" -m =mms video mode
"\Windows\HTCAlbum.exe" -mode:camera -type:image
"\Windows\HTCAlbum.exe" -mode:camera -type:video
"\windows\camera.exe" -t =picture theme mode
"\windows\camera.exe" -b =burst mode
"\windows\camera.exe" -g =GPS photo mode
"\windows\camera.exe" -s =Sport mode
---------------------------------------------------------------------------------------
You will also have PowerOffWarning.exe (long power press key) (and maybe others) in your windows folder renaming another .exe (such as device lock) and pasting into windows will result in the long press of the power key running that program instead of turning off your device.
---------------------------------------------------------------------------------------
To change the icon of the .lnk file.
Useful if you have several mail .lnks and would like to differentiate between, for example, Google and Hotmail. Or if you want to assign icons to .lnks for Mortscripts etc.
Icon sources can be .DLLs or .EXEs, not picture files, such as .PNGs. View the icons within these files using RViewer.
Change the file extension of the .lnk file to .txt, open it, you will see the address for the program, or what ever it is that you have linked to eg "program files\my program.exe" you need to append a "?" followed by the address of the icon you want to use, then ",-" then the number of the icon within the icon file you are using, the default icon is "000".
You will end up with "program files\my program.exe",?example.exe,-000
If you have any suggestions or corrections please post and I'll add them or edit this post.
Wiki'd

for future use............

for future use............

and how is it diff than : http://forum.xda-developers.com/showthread.php?t=340974

ather90 said:
and how is it diff than : http://forum.xda-developers.com/showthread.php?t=340974
Click to expand...
Click to collapse
Well that's a 20+ page thread of mostly questions. I can't easily link to it and say look at x, y or z page for the answer can I?
Also as is obvious by the posts in that thread and many others (my reason for this thread) is that most people don't bother reading the thread for the answer, here I have tried to put them all in the first post not over 258.
Secondly, my intention is to improve this thread by adding other 'noob' questions when I find them or think of them, to the first posts, for example how often do you see- 'how to install a .cab file?'? etc.
Basically add all the answers I keep writing in threads, even my signature was made so I could just say 'click it for what you want' (requests I used to read all the time).
Hopefully that answers your question?

hehe thats ok then

Wiki this m8. This is great wiki material.

NeoS2007 said:
Wiki this m8. This is great wiki material.
Click to expand...
Click to collapse
done
http://wiki.xda-developers.com/index.php?pagename=LinksAndParameters

what's the link for the setting page with 3 tabs (personal,system,connections)?
can't find any info for that link.
thanks in advance.
regards,
twisted

twisted said:
what's the link for the setting page with 3 tabs (personal,system,connections)?
can't find any info for that link.
Click to expand...
Click to collapse
There is no known .lnk to the settings pages.
I'll try to upload 2 .exes which simulate it.

bbobeckyj said:
There is no known .lnk to the settings pages.
I'll try to upload 2 .exes which simulate it.
Click to expand...
Click to collapse
the files don't work for me, thanks anyway.
i have browsed thru this thread and found the necessary files for opening the programs and settings page.
regards,
twisted

questions:
1. What parameters in tmail.exe to direct immediately to SMS INBOX?
I tried (tmail.exe -service "SMS" -open "Inbox") But if you happen to you outbox last, it opens outbox instead.
2. What parameters in notes.exe will change the default working directory? For example I want to use another folder named "my notes"
3. I tried MSNOTETAKE and it loads faster than plain notes.exe So what is MSNOTETAKE and MSINBOX? Can you list all the others?
thanks in advance.

BoyBawang2 said:
questions:
1. What parameters in tmail.exe to direct immediately to SMS INBOX?
I tried (tmail.exe -service "SMS" -open "Inbox") But if you happen to you outbox last, it opens outbox instead.
Click to expand...
Click to collapse
If messaging is already open, running the .lnk will just 'show' whatever in/out/box is already open
2. What parameters in notes.exe will change the default working directory? For example I want to use another folder named "my notes"
3. I tried MSNOTETAKE and it loads faster than plain notes.exe So what is MSNOTETAKE Can you list all the others?
thanks in advance.
Click to expand...
Click to collapse
Sorry, I can't help, I don't use MSNOTETAKE
All these parameters are ones I have found elsewhere and a couple I figured out myself through trial and error, then posted here in one place.

Thanks a lot for the continuous collections and discoveries of these shortcuts, which could make great enhancemenent of WM unsing experiience.
Two additional requests though, will add up your heavy works, but will make this thread more perfect.
1. Coming from the experience of using Nanling's QuickMenu app, I assume that it is possible to associate those shortcuts for 'settings' with icons from some dll or exe file. Would you please find the way to do that and upgrade all settings shortcuts?
2. Would you please make all of them into a ready-to-use .lnk files and pack them up in a zip file, then attatch it on first post?
Just ignore my requests if you feel they are unreasonable.
Thanks again for your hard works.
Edit:
Found the shortcut for PowerOff (wiz & w/o icon) in this thread.
If rename any .lnk file to Long_Send.lnk and copy it to windows folder, the long-send button (press and hold the green phone button) will be assigned as the represented function of the .lnk file.

hilinda said:
If messaging is already open, running the .lnk will just 'show' whatever in/out/box is already open ???
Click to expand...
Click to collapse
for example, if sms inbox is already open in the background, and you click a link for sms outbox, it will show the inbox.

wg5566 said:
Thanks a lot for the continuous collections and discoveries of these shortcuts, which could make great enhancemenent of WM unsing experiience.
Two additional requests though, will add up your heavy works, but will make this thread more perfect.
1. Coming from the experience of using Nanling's QuickMenu app, I assume that it is possible to associate those shortcuts for 'settings' with icons from some dll or exe file. Would you please find the way to do that and upgrade all settings shortcuts?
2. Would you please make all of them into a ready-to-use .lnk files and pack them up in a zip file, then attatch it on first post?
Just ignore my requests if you feel they are unreasonable.
Thanks again for your hard works.
Edit:
Found the shortcut for PowerOff (wiz & w/o icon) in this thread.
If rename any .lnk file to Long_Send.lnk and copy it to windows folder, the long-send button (press and hold the green phone button) will be assigned as the represented function of the .lnk file.
Click to expand...
Click to collapse
I don't know any link for the real settings pages, it's been discussed many times on here, if it's truely available someone will have posted it.
I'll get the zip file done soon, with all the universal links, ie no point me posting links to various email names etc.
I don't know if there is a link for power off button, but the long hold actions is 'powerOffWarning.exe' in the windows folder.
I have 4 different ppcs, the long hold functions are different in each one.

bbobeckyj said:
I don't know any link for the real settings pages, it's been discussed many times on here, if it's truely available someone will have posted it.
Click to expand...
Click to collapse
Sorry but English is not my own language and I did not make it clear. I did not mean icon for the 'settings' folder, what a I meant is associate an icon with each specific setting items.
I'll get the zip file done soon, with all the universal links, ie no point me posting links to various email names etc.
Click to expand...
Click to collapse
Thanks.
I don't know if there is a link for power off button, but the long hold actions is 'powerOffWarning.exe' in the windows folder.
Click to expand...
Click to collapse
What I meant is the PowerOff function, not the button, please read this thread, it's 4 pages altogether at yhe moment.
http://forum.xda-developers.com/showthread.php?t=424235&page=1
[Edit: No need to read through the whole thread, these two posts is enough:
http://forum.xda-developers.com/showpost.php?p=2623981&postcount=7
&
http://forum.xda-developers.com/showpost.php?p=2633464&postcount=15]
have 4 different ppcs, the long hold functions are different in each one.
Click to expand...
Click to collapse
Thanks for the comment, I didn't know in the past.

Sorry, I misread your question about file associations, but anyway, I don't know how to do it.
vijay555's vjFastOff (?) I think it's that name, will completely power off your ppc without having the confirmation dialogue.

bbobeckyj said:
Sorry, I misread your question about file associations, but anyway, I don't know how to do it.
vijay555's vjFastOff (?) I think it's that name, will completely power off your ppc without having the confirmation dialogue.
Click to expand...
Click to collapse
Shortcut for poweroff:
_DrG_ said:
Ok had a little play with this, i can get the power off dialogue to appear from a shortcut using any one of the following commands and parameters in a .lnk file:
31#"\Windows\PowerOffWarning.exe", "PowerOff"
31#"\Windows\PowerOffWarning.exe" \ExitWindowsEX (EWX_POWEROFF, 0)
31#"\Windows\PowerOffWarning.exe" \ExitWindowsEX (EWX_SHUTDOWN, NULL)
31#"\Windows\PowerOffWarning.exe" \ExitWindowsEX
Not sure if any of this helps you guys out but i've attached an example, maybe some else will know a way to be able to bypass the yes/no prompt.....
Click to expand...
Click to collapse
For control panel icon, please refer to yhis thread:
Control Panel links and icons wm2003se and higher
But it's not complete,can anybody work out a completed list for this?
Edit: Some of the shortcuts linked on the thread are for PPC2003 only, so we really need a complete list for WM5 & up.
Edit: Some methold & tools can be found in this thread:
http://forum.xda-developers.com/showthread.php?t=332766
tweakradje said:
Hi,
Just compiled a long lasting annoyance of Control Panel shortcuts and matching icons (see attachement)
They work ok for wm2003 and higher.
Example:
22#ctlpnl cplmain.cpl,0,0?shellres.dll,-13905
Note that the second ,0 is the number of the subpage
(Tab) of that settings page. 0 = first, 1 = second etc.
So making a text file called Kill.lnk with the line:
22#ctlpnl cplmain.cpl,4,2?shellres.dll,-13900
gives you instant access to Running Programs.
Placing this link in \Windows\Start Menu\Programs you can
even put it under a button.
Note: subpages don't work if settingX is redirected in HKLM\ControlPanel\settingX with a "Redirect" value.
Have fun,
Tweakradje
A list of them:
nr function icon (shellres.dll)
-------------------------------------------
0 CPL_Contrast 13905
1 CPL_Password 13942
2 CPL_Owner 13841
3 CPL_Power 13895
4 CPL_Memory 13900
5 CPL_About 13899
6 CPL_Screen 13902 (backlight)
7 CPL_Stylus 13906 (align screen)
8 CPL_SIP 13936
9 CPL_Sounds 13924
10 CPL_Remove 13943
11 CPL_Menus 13937
12 CPL_Button 13944
13 CPL_Today 13952
14 CPL_Offerings 13971 (updates)
15 CPL_Beam 13910
16 CPL_Clock 13840
17 CPL_Network 13888
18 CPL_Regional 13901
19 CPL_Phone 13953 (connections)
20 CPL_AdminPasswd 13954
21 CPL_Bluetooth 13909
22 CPL_Certificates 13941
Extra for WM5:
23 CPL_Watson 13996
24 CPL_GPSID 13997
The shortcuts:
22#ctlpnl cplmain.cpl,0,0?shellres.dll,-13905
22#ctlpnl cplmain.cpl,1,0?shellres.dll,-13942
22#ctlpnl cplmain.cpl,2,0?shellres.dll,-13841
22#ctlpnl cplmain.cpl,3,0?shellres.dll,-13895
22#ctlpnl cplmain.cpl,4,0?shellres.dll,-13900
22#ctlpnl cplmain.cpl,5,0?shellres.dll,-13899
22#ctlpnl cplmain.cpl,6,0?shellres.dll,-13902
22#ctlpnl cplmain.cpl,7,0?shellres.dll,-13906
22#ctlpnl cplmain.cpl,8,0?shellres.dll,-13936
22#ctlpnl cplmain.cpl,9,0?shellres.dll,-13924
23#ctlpnl cplmain.cpl,10,0?shellres.dll,-13943
23#ctlpnl cplmain.cpl,11,0?shellres.dll,-13937
23#ctlpnl cplmain.cpl,12,0?shellres.dll,-13944
23#ctlpnl cplmain.cpl,13,0?shellres.dll,-13952
23#ctlpnl cplmain.cpl,14,0?shellres.dll,-13971
23#ctlpnl cplmain.cpl,15,0?shellres.dll,-13910
23#ctlpnl cplmain.cpl,16,0?shellres.dll,-13840
23#ctlpnl cplmain.cpl,17,0?shellres.dll,-13888
23#ctlpnl cplmain.cpl,18,0?shellres.dll,-13901
23#ctlpnl cplmain.cpl,19,0?shellres.dll,-13953
23#ctlpnl cplmain.cpl,20,0?shellres.dll,-13954
23#ctlpnl cplmain.cpl,21,0?shellres.dll,-13909
23#ctlpnl cplmain.cpl,22,0?shellres.dll,-13941
23#ctlpnl cplmain.cpl,23,0?shellres.dll,-13996
23#ctlpnl cplmain.cpl,24,0?shellres.dll,-13997
EDIT: added 2 icons/links for WM5
Click to expand...
Click to collapse

I know folks get annoyed when folks post a thanks (like this) in the thread but here goes anyway.
Very much appreciated; be nice to have this stickied.
Cheers,

Related

Howto create shortcuts pointing to the applications located in settings?

Hi,
I was just wondering if it's possible to create shortcuts to the different applications/services located in the settings section of the Tytn?? I'm trying to add some shortcuts to cLauncher, but the only applications I'm able to locate are those residing in the program section of the phone. Am I doing something wrong, or does this have be done programtically?
Thanks in advance!!
Mogg
You must connect your PDA to the PC with Activesync and then:
- in the desktop of the PC open a New Text Object
- write in the document one of the following string
- save the file as shortcut.lnk (where shortcut is the nome you want give to shortcut)
- copy the file on your PDA (for example in windows\start menu)
and you have the shortcut.
This are the strings (they are for wm2003 but many works also in wm2005)
Settings>Personal>Password>Password = 20#ctlpnl cplmain.cpl,1
Settings>Personal>Password>Hint = 22#ctlpnl cplmain.cpl,1,1
Settings>Personal>Owner Information>Identification = 20#ctlpnl cplmain.cpl,2
Settings>Personal>Owner Information>Notes = 22#ctlpnl cplmain.cpl,2,1
Settings>Personal>Owner Information>Options = 22#ctlpnl cplmain.cpl,2,2
Settings>System>Power>Main = 20#ctlpnl cplmain.cpl,3
Settings>System>Memory>Main = 20#ctlpnl cplmain.cpl,4
Settings>System>Memory>Storage Card = 22#ctlpnl cplmain.cpl,4,1
Settings>System>Memory>Running Programs = 22#ctlpnl cplmain.cpl,4,2 (usato come esempio più sopra)
Settings>System>About>Version = 20#ctlpnl cplmain.cpl,5
Settings>System>About>Device ID = 22#ctlpnl cplmain.cpl,5,1
Settings>System>About>Copyrights = 22#ctlpnl cplmain.cpl,5,2
Settings>System>Screen>General = 20#ctlpnl cplmain.cpl,7
Settings>System>Screen>Clear Type = 22#ctlpnl cplmain.cpl,7,1
Settings>System>Screen>Text Size = 22#ctlpnl cplmain.cpl,7,2
Settings>Personal>Input>Input Method = 20#ctlpnl cplmain.cpl,8
Settings>Personal>Input>Word Completion = 22#ctlpnl cplmain.cpl,8,1
Settings>Personal>Input>Options = 22#ctlpnl cplmain.cpl,8,2
Settings>Personal>Sounds & Notifications>Sounds = 20#ctlpnl cplmain.cpl,9
Settings>Personal>Sounds & Notifications>Notifications = 22#ctlpnl cplmain.cpl,9,1
Settings>System>Remove Programs = 21#ctlpnl cplmain.cpl,10
Settings>Personal>Menus>Start Menu = 21#ctlpnl cplmain.cpl,11
Settings>Personal>Menus>New Menu = 23#ctlpnl cplmain.cpl,11,1
Settings>Personal>Buttons>Program Buttons = 21#ctlpnl cplmain.cpl,12
Settings>Personal>Buttons>Up/Down Controls = 23#ctlpnl cplmain.cpl,12,1
Settings>Personal>Today>Appearance = 21#ctlpnl cplmain.cpl,13
Settings>Personal>Today>Items = 23#ctlpnl cplmain.cpl,13,1
Settings>Connections>Beam = 21#ctlpnl cplmain.cpl,15
Settings>System>Clock & Alarms>Time = 21#ctlpnl cplmain.cpl,16
Settings>System>Clock & Alarms>Alarms = 23#ctlpnl cplmain.cpl,16,2
Settings>Connections>Network Cards = 21#ctlpnl cplmain.cpl,17
Settings>System>Regional Settings>Region = 21#ctlpnl cplmain.cpl,18
Settings>System>Regional Settings>Number = 23#ctlpnl cplmain.cpl,18,1
Settings>System>Regional Settings>Currency = 23#ctlpnl cplmain.cpl,18,2
Settings>System>Regional Settings>Time = 23#ctlpnl cplmain.cpl,18,3
Settings>System>Regional Settings>Date = 23#ctlpnl cplmain.cpl,18,4
Settings>Connections>Connections>Task = 21#ctlpnl cplmain.cpl,19
Settings>Connections>Connection>Advanced = 23#ctlpnl cplmain.cpl,19,1
Settings>Personal>Phone>Phone = 21#ctlpnl cplmain.cpl,20
Settings>Personal>Phone>Services = 23#ctlpnl cplmain.cpl,20,1
Settings>Personal>Phone>Network = 23#ctlpnl cplmain.cpl,20,2
Settings>Personal>Phone>More = 23#ctlpnl cplmain.cpl,20,3
Settings>System>Certificates>Personal = 21#ctlpnl cplmain.cpl,22
Settings>System>Certificates>Root = 23#ctlpnl cplmain.cpl,22,1
Settings>Connections>Bluetooth>Mode = 21#ctlpnl cplmain.cpl,23
Settings>Connections>Bluetooth>Devices = 23#ctlpnl cplmain.cpl,23,1
If you have Total Commander in your PPC.
Duplicate any LNK file (eg copy 1 from folder A to folder B). Rename the extension from LNK to TXT. Open it (the Word software should open it) edit is as massi959 mentioned in the post before. Save. Rename it back to LNK. Done.
Thanks guys the *.lnk files did the trick
Mogg
Hi again,
I have a follow up question:
How can I extract the icons for the control panel applets? Now all my links are working fine in cLaunch, but I'm not able to locate the icons (default icons for the settings I've created shortcuts for)?
Thanks!
Mogg
If you want also to associate an icon to the created connection must download a set of icone, like this
http://www.gpcarreon.com/?p=14
Download the file, unzip and copy it into a folder named "icons" (for example) and then copy the folder in \Memory card\My documents (so you will have \Memory card\My Ducoments\icons)
Now you must add at the created command as mentioned above the following string "?\Memory Card\My Ducuments\icons\gpc.icons.exe,-9" (where -9 is the number of the icon you have chosen).
For example, a complete command will be therefore
22#ctlpnl cplmain.cpl,4,2?\Memory Card\My Documents\icons\gpc.icons.exe,-9
massi959 said:
If you want also to associate an icon to the created connection must download a set of icone, like this
http://www.gpcarreon.com/?p=14
Download the file, unzip and copy it into a folder named "icons" (for example) and then copy the folder in \Memory card\My documents (so you will have \Memory card\My Ducoments\icons)
Now you must add at the created command as mentioned above the following string "?\Memory Card\My Ducuments\icons\gpc.icons.exe,-9" (where -9 is the number of the icon you have chosen).
For example, a complete command will be therefore
22#ctlpnl cplmain.cpl,4,2?\Memory Card\My Documents\icons\gpc.icons.exe,-9
Click to expand...
Click to collapse
Thanks for this information!!! But what I really wanted to know is if it's possible to use the information (resources/icons) which I guess is already in the cplmain.cpl file, is this possible, or is my only option to use a set of icons which isn't already located on the device? (or just use the icons I can see while browsing the files on the device?)
Thanks agian
Mogg
massi959 said:
If you want also to associate an icon to the created connection must download a set of icone, like this
http://www.gpcarreon.com/?p=14
Download the file, unzip and copy it into a folder named "icons" (for example) and then copy the folder in \Memory card\My documents (so you will have \Memory card\My Ducoments\icons)
Now you must add at the created command as mentioned above the following string "?\Memory Card\My Ducuments\icons\gpc.icons.exe,-9" (where -9 is the number of the icon you have chosen).
For example, a complete command will be therefore
22#ctlpnl cplmain.cpl,4,2?\Memory Card\My Documents\icons\gpc.icons.exe,-9
Click to expand...
Click to collapse
Finally, Thanks!
mogg said:
Thanks for this information!!! But what I really wanted to know is if it's possible to use the information (resources/icons) which I guess is already in the cplmain.cpl file, is this possible, or is my only option to use a set of icons which isn't already located on the device? (or just use the icons I can see while browsing the files on the device?)
Thanks agian
Mogg
Click to expand...
Click to collapse
I know only these pointers for the icons in .cpl, but they do not work on TyTN (I suppose they are for wm2003 and wm2005 are different).
?\Windows\cplmain.cpl,-5001 (Warning)
?\Windows\cplmain.cpl,-5012 (HPC to desktop serial)
?\Windows\cplmain.cpl,-5013 (PPC to phone)
?\Windows\cplmain.cpl,-5014 (PPC to desktop)
?\Windows\cplmain.cpl,-5015 (PPC to cloud)
?\Windows\cplmain.cpl,-5020 Clock
?\Windows\cplmain.cpl,-5040 Owner Information
?\Windows\cplmain.cpl,-5050 Power
?\Windows\cplmain.cpl,-5060 (Windows logo over PPC)
?\Windows\cplmain.cpl,-5065 About
?\Windows\cplmain.cpl,-5067 Memory
?\Windows\cplmain.cpl,-5068 Regional Settings
?\Windows\cplmain.cpl,-5070 Backlight
?\Windows\cplmain.cpl,-5075 Contrast
?\Windows\cplmain.cpl,-5080 Screen
?\Windows\cplmain.cpl,-5095 Beam
?\Windows\cplmain.cpl,-5110 Sounds & Notifications
?\Windows\cplmain.cpl,-5131 (Generic Application window)
?\Windows\cplmain.cpl,-5132 (Blank)
?\Windows\cplmain.cpl,-5140 Input
?\Windows\cplmain.cpl,-5150 Menus
?\Windows\cplmain.cpl,-6000 Password
?\Windows\cplmain.cpl,-6100 Remove Programs
?\Windows\cplmain.cpl,-6200 Buttons
?\Windows\cplmain.cpl,-6300 Today
?\Windows\cplmain.cpl,-6400 (Phone handset)
?\Windows\cplmain.cpl,-6500 (Password again)
?\Windows\cplmain.cpl,-7024 (PPC to phone again)
?\Windows\cplmain.cpl,-7025 (PPC to cloud again)
?\Windows\cplmain.cpl,-7026 (PPC disconnected from cloud, with red zig-zag)
?\Windows\cplmain.cpl,-7030 (PPC connected to sqaure suzzle piece)
?\Windows\cplmain.cpl,-7071 (PPC connected to world)
?\Windows\cplmain.cpl,-7140 Connections
Hi,
These are great shortcuts. Is is possible to write a command line string that will link to the main control panel 'personal' tab? I don't want to open a specific applet, but just want to browse the control panel.
Thanks
Jake
Shortcut for password function
Hi massi959,
Is there a way to make a shortcut for the password function (as opposed to password settings)? I just want the password screen to come up when I tap on the link. Using the password settings link does lock the screen on demand but it also brings up the settings window each time the screen is unlocked (some people may actually find this functionality useful). I just want to activate the password lock on demand.
Thanks!
Hey anybody know how i can create shortcut to open start menu.
can somebody tell how to make a shortcut in system tray?
massi959 said:
Settings>Personal>Sounds & Notifications>Notifications = 22#ctlpnl cplmain.cpl,9,1
Click to expand...
Click to collapse
How can I achieve that AND also focus on a specific notification, like "New IM" or "Phone ring" or whatever?
anyone know how to create internet connection shortcut?
Hello
anyone know how to turn on bluetooth stereo shortcut?
thankx
Thanks a lot, very helpful posting!
So long, -ULISSES-
I Phone Theme for Windows mobile 5
I have followed the steps given in pdf document http://www.mediafire.com/?etah1xinxpy
but i am not getting ook and feel of I phd i mean i am not getting the interface what is shown please help
Rayan

HTCHomeplug

Has anyone tried to play with the HTCHomePlug today page plug in? I have observed the following:
Registry entry at
HKEY_LOCAL_MACHINE\SOFTWARE\HTC\HTCHomeplug\
2,3,4 are used. 4 is used by the HTC Connect.
The keys for each are:
iconindex - decimal
ResPath - file containing the icon
LaunchApPath - application executable
examples are:
[HKEY_LOCAL_MACHINE\SOFTWARE\HTC\HTCHomeplug\4]
"iconindex" = Decimal:"0"
"ResPath" = "\windows\iexplore.exe"
"LaunchApPath" = "\windows\iexplore.exe"
I have tried wmplayer.exe and fexplore.exe and all worked.
Seems that the maximum number is 6. 7 onwards are ignored?
The icon for iexplore and wmplayer at index 0 do not look very nice. iexplore's is great.
Here...
Hi,
have a look here:
http://forum.xda-developers.com/showthread.php?t=286651
Bye
[email protected]
chaicl said:
Has anyone tried to play with the HTCHomePlug today page plug in? I have observed the following:
Registry entry at
HKEY_LOCAL_MACHINE\SOFTWARE\HTC\HTCHomeplug\
2,3,4 are used. 4 is used by the HTC Connect.
The keys for each are:
iconindex - decimal
ResPath - file containing the icon
LaunchApPath - application executable
examples are:
[HKEY_LOCAL_MACHINE\SOFTWARE\HTC\HTCHomeplug\4]
"iconindex" = Decimal:"0"
"ResPath" = "\windows\iexplore.exe"
"LaunchApPath" = "\windows\iexplore.exe"
I have tried wmplayer.exe and fexplore.exe and all worked.
Seems that the maximum number is 6. 7 onwards are ignored?
The icon for iexplore and wmplayer at index 0 do not look very nice. iexplore's is great.
Click to expand...
Click to collapse
actually I got 9 icons to show up on the Homeplug...Yay.

adding icons to HTChomePlug

I technically know how to add icons to the htchomeplug i just don't know how to change the icon
hklm\software\htc\htchomplug\*add new key*
my problem is the iconindex number, which seems to control the icon. when i change it to a different number the icon disappears but if you click over the area where the icon was the program will still launch.
You can use RViewer (google it, don't remember where I found it), or just go with 0.
This is mentioned in the "original post" on the HTChomeplug modifications.
thanks for the help
HTC HOMEPLUG
First is access using the registry editor to this entry:
/HKEY_LOCAL_MACHINE/SOFTWARE/HTC/HTCHomeplug
There is the configuration of the plugin. There we will find two entries pointing to the first two icons (Battery and Rotation) that seems to be configured in a different way that the rest of the icons. Those are the two DWORD entries:
PowerIconSlot with value of 0 (this means the first position in the plugin)
RotateIconSlot with value of 1 (this means the second position)
The rest of the positions in the HTCHomeplug appears like KEY entries with names from 2 to 5 meaning positions 3 to 6 in the plugin bar.
Inside each key (2 to 5) we find 3 values (or entries):
1- iconindex DWORD type of Decimal which contains 103 in the case of entry KEY 2
** I used a program called RViewer (for PPC) develop by Vicott Wong to find the iconindex**
2- LaunchApPath STRING contains the path to the executable file associated to the icon
3- ResPath STRING contais the path to the resource file which contais the icon image poited by iconindex entry. This path points to a DLL or EXE file containing the icon image.
So... since we want to add a icon/application we need to create the entry KEY 6 and we must create both STRING entries and DWORD one inside the KEY 6.
To add Tomtom Navigator in the HTCHomeplug (as an example) I added:
iconindex = 101
LaunchApPath = \Program files\Navigator\Tomtom Navigator.exe
ResPath = \Program files\Navigator\Tomtom Navigator.exe
So I'm using the icon storaged in the Tomtom Navigator executable file itself and my Tomtom is in the path I show in the entry. Off course this could not match your installation.
Im trying to find a good phone icon!
I havent found ANY simple phone icon in any resource yet.
Does anybody have a filename/index for a phone icon? Or even an exe/dll with a good phone icon I can use?
Pyrofer said:
Im trying to find a good phone icon!
I havent found ANY simple phone icon in any resource yet.
Does anybody have a filename/index for a phone icon? Or even an exe/dll with a good phone icon I can use?
Click to expand...
Click to collapse
i use programLauncher its free
http://www.pocketgear.com/software_detail.asp?id=14304
to create a shortcut of the phone goto windows\startmenu
look around its in there somewhere
when using programlauncher you must windows's file explorer when copying shortcuts or it doesn't work. hope this helps

PocketCM on Artemis WM6.1

hi all,
is there a way to swich the contact button to classic contacts view instead of PocketCM view?
thanks
forumka
This is the solution:
First download and install a Registry Editor, then You can do it in two simple step:
1st step:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell\Rai\:MSCONTACTS
Change "String 1" value from "\Program Files\PocketCM\PocketCM.exe" to ":MSPOUTLOOK contacts".
Make sure that you DO NOT ADD the "" on the new entry: (only :MSPOUTLOOK contacts)
--------------------------
2nd step: Remove the application from the softkey
HKCU\Software\Microsoft\Today\Keys
in "keys" DELETE entire key called "113"
which have Strings:
"Default" set to "Contacts" and
"Open" set to \Program Files\PocketCM\PocketCM.exe
Now you can press "contacts" softkey and phone open default "contacts" view!
enjoy the difference..
star, thanks
marromarco said:
Before download and install a Registry Editor and then You can do it in two simple step:
1st step:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell\Rai\:MSCONTACTS
Change "String 1" value from "\Program Files\PocketCM\PocketCM.exe" to ":MSPOUTLOOK contacts".
Make sure that you DO NOT ADD the "" on the new entry: (only :MSPOUTLOOK contacts)
--------------------------
2nd step: Remove the application from the softkey
HKCU\Software\Microsoft\Today\Keys
in "keys" DELETE entire key called "113"
which have Strings:
"Default" set to "Contacts" and
"Open" set to \Program Files\PocketCM\PocketCM.exe
Now you can press "contacts" softkey and phone open default "contacts" view!
enjoy the difference..
Click to expand...
Click to collapse
excellent, thanks. i hate pocketCM but love the roms that use it...
many thanks - pocket CM had been bugging me too.
Now gone!
marromarco said:
Before download and install a Registry Editor and then You can do it in two simple step:
1st step:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell\Rai\:MSCONTACTS
Change "String 1" value from "\Program Files\PocketCM\PocketCM.exe" to ":MSPOUTLOOK contacts".
Make sure that you DO NOT ADD the "" on the new entry: (only :MSPOUTLOOK contacts)
--------------------------
2nd step: Remove the application from the softkey
HKCU\Software\Microsoft\Today\Keys
in "keys" DELETE entire key called "113"
which have Strings:
"Default" set to "Contacts" and
"Open" set to \Program Files\PocketCM\PocketCM.exe
Now you can press "contacts" softkey and phone open default "contacts" view!
enjoy the difference..
Click to expand...
Click to collapse
You, sir, are a legend. Thank you so much!
Nick
thanks for you support!
ForumKa
Help can someone tell me the proper registry setting?
Hi I was trying to put the icaller registry setting back to normal I was supposed to manually edit the registry: inside HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\Rai\:MSCONTACTS, set
parameter "1" to "\Windows\poutlook.exe Contacts".
But I screwed up and set parameter "0". Can someone that has the default tell me what's supposed to be there? My previous registry backup apparently didn't do a full backup of the registry so I can't read it. Thanks.
Sorry, I meant iContact above, not iCaller.

[TUT]Different key configurations for different progs with AEButton (Updated)

You can map different Key sets for different progs by following this instruction
install AEButton Plus and SKSchema. (also possible with MortScript! Works the same way)
Example OPERA:
You must make 2 different config files in AeButton, one for Opera and a default one.
Here is the instruction:
Save your default AeButton Settings (are located in the AEButton Program Folder) lets save them to \My Documents\AEBPlus Default\AEBPlus.cfg
now configurate AEButton with different settings, lets save this cfg file to \My Documents\AEBPlus Opera\AEBPlus.cfg
Open Notepad, type this script:
Code:
#r(#copyfile) #p(\My Documents\AEBPlus Opera\AEBPlus.cfg;\Program Files\AEBPlus\AEBPlus.cfg) #wait(1)
#r(\Program Files\AEBPlus\AEBPlus.exe) #p(0000) #waitfor(1)
the sense of this is to change the cfg files and to reinitialize AEButton
Save the Script as AEButtonOpera.sksc on your device in \My Documents\sScripts\AEButtonOpera.sksc
Now we write a new script to do the opposite (change to default configuration:
Code:
#r(#copyfile) #p(\My Documents\AEBPlus Default\AEBPlus.cfg;\Program Files\AEBPlus\AEBPlus.cfg) #wait(1)
#r(\Program Files\AEBPlus\AEBPlus.exe) #p(0000) #waitfor(1)
Save the script as AEButtonDefault.sksc
Now we configure SKSchema to monitor for 2 events: opening our application (Opera) and closing it: add a new event in the SKSchema monitoring configuration: when Opera opens or closes, start the scripts. (they are located in \My Documents\sScripts)
so go to "Monitor" in the menu and open the TXT file containing this text:
Code:
#c[Opera9.exe] #on[\My Documents\sScripts\AEButtonOpera.sksc] #off[\My Documents\sScripts\AEButton.sksc]
You must enable monitoring in the Options.
If you have any questions just ask
Have Fun
post your ideas for button remapping
My ideas:
assign PageUP and PageDown to Volume UP and Down when MobiBook Reader is opened. When it is not opened Volume Up/Down = Button Up/Down
When a game is opend, assign to every Button a direction key
When Word is opened, then use the Buttons for Copy, Paste and RETURN
When Button Lock application is active, then Disable ALL Keys (Volume Up and Down too!)
...to be continued...

Categories

Resources