Quote:
Originally Posted by Darkness231
This may have to do with the way it calls those shortcuts. Most of them are straight exe files with no arguments.
The shortcut for this program is
Code:
"\Program Files\TF3D Switcher\Mortscript.exe" "\Program Files\TF3D Switcher\TF3D to Mobile Shell Switcher.mscr"?\Program Files\TF3D Switcher\Icons.dll,-2
You may try to edit the registry at "HKLM/Software/HTC/Manila/ProgramLauncher" These are your shortcuts in the manilla start menu. I cannot test them as I am running 2.5
|
There are 2 things we could "code up" with mortscript:
1. The install path for the app. So rather than guessing the name of the storage card or checking whether maybe it was installed there, we can just pull the real path from the registry.
2. Shortcuts to Program files. Well with the method above we can get the real path. But also:
Quote:
9.18.4 Getting system paths (SystemPath)
|
Quote:
x = SystemPath( type )
Possible values:
ProgramsMenu..........“Programs” in the start menu
StartMenu..................The start menu, doesn't work on Smartphones
Startup.......................Startup folder (entries are run after soft reset resp. if Windows is started) ProgramFiles.............”\Program files” or localization
|
so SystemPath( "ProgramFiles") is the name of program files directory in whatever localized language we are at.
pardon me for dumping code stuff at u.
If u want me to code anything, let me know and i will.