MortScript not acting as expected - Touch Pro2, Tilt 2 Windows Mobile General

So, as I'm beginning to tire of having to keep moving all of my shortcuts after each new ROM flash for organization, I made a small little script to do that for me.
However, part of it isn't working. It will successfully move shortcuts from the root of start menu to other folders, but will not copy shortcuts off of my storage card into the start menu. Any ideas why?
Here's that part of the script:
Code:
Copy ("\Storage Card\Garmin.lnk" , "\Windows\Start Menu\Programs\")
Copy ("\Storage Card\Garmin\garmin.png" , "(\Windows\")
RegWriteString ("HKLM" , "\Security\Shell\StartInfo\Start\Garmin.lnk" , "Icon" , "\Windows\Garmin.png")
Could someone please help?
Regards
Smith

Related

creating shortcuts to path

is there any simple way to create a shotcut to a path like the sd card?
id like to create a .lnk file to it.
i know there is a way to do create shortcuts using notepad, but i dont know how to make it work whit a path, and its a lot os work make about 15 shortcuts manualy
2- is there any way to specify just to open a program, but to open it in certain mode, like open the calendar in the new appointment window.?
ill apreciate any help
1) highlight the item ie storage card click menu - edit - copy. Then go to the location you want the shortcut and click menu - edit - paste shortcut.
2- The following thread is quite informative http://forum.xda-developers.com/showthread.php?t=252250 .
If you don't want to make shortcuts in using a text editor, you might try GSFinder+ which allows you to attach arguments to shortcuts.
If all you want is a shortcut to a new appointment, might I recommend WM5NewMenu. It does what you want and a lot more. It is lightweight and by far the most useful program I have found for my phone.

Games Folder Problems.....

Hi Guys,
I want all of my games apps to be in the games folder, but i have no idea of how to do this (or even if it can be done)
In my games folder atm i have the usual solitaire, teeter etc, but i want all my
other games in there too. (instead of cluttering up my programmes menu)
Could someone please help?
In quite a simple method too, if poss, as im still quite new to all this.
Thanks for reading!
Same here......
Using dutty's 6.5 R4 Muchos......but about to use R6!!!
Open a file explorer (I'm using total commander) and go to \windows\Start Menu\Programs. Here you have all shortcuts (.lnk) you see in the Programs directory. Now cut the links (to be safe just copy and delete them after testing), change to the folder 'Games' and paste them.
As previous quote by other user by moving a games into the games folder and yes i do have same trouble. I try to copy the game and then paste into my "games" folder but trouble is , i only thing i can see it in my handset not my pc, from my handset i cannot copy and paste so therefore i want to do it from my pc. After sync with my pc i try open the folder subcribe by other user but to my suprise there isn't a "Window" folder at all appear in my file explorer. Plz help
this works on the device. I guess that you connect to your pc and what you then see is the storage card and not the device folders.
On the device open file explorer and change to 'My Device' (push the Up button until it doesn't anything anymore) and then follow my description in the post above. (here we paste shortcuts, so choose paste not 'paste shortcut')
P.S.: when copying an exe you can then choose 'paste shortcut'
I did what you posted at 9.59am and its worked.
Exactly what i was after.
Thankyou!!

[REQ] how to sort/tidy start menu

hi all,
I'm running Miri' lastest 2.5 manila ROM and I'm having some problems tidying up the start menu.
I'd like to have a few extra folders, tools, connections, mutimedia and such. I have created these folders in \windows\start menu\programs ok and i copied all the shortcuts into the correct folder and then i deleted the oringal shortcuts.
My problem is that even though the apps i have installed since I flashed my phone have now moved to the correct folder, the apps that are included on the ROM are still present in the start menu and my folders.
Have i missed a step here?
Is there another location i need to go to to remove the links in the start menu?
Presently if i open \windows\start menu\programs with a file explorer there is nothing in there but the folders i created (no shortcuts). If i open the start menu from my home screen all the shortcuts come back!!
Any ideas anyone??
Cheers in advance
Same is here. Looking for answer as well !!!
use total commander
http://www.ghisler.com/ce.htm
all the folders and shotcuts can be seen and editied, great app

How To Customize & Set Programs On New Folder ?

I want to ask, How do I set up a program so that we can input into the new folder and is there any software for that?
Thanks
__________________________________________________________________
shopyan said:
I want to ask, How do I set up a program so that we can input into the new folder and is there any software for that?
Click to expand...
Click to collapse
Go to \windows\startmenu\programs now you can create the new folder there.. and copy the shortcut of the programs that you want to put inside that folder....( from \program file\XXX or \Storage Card\program file\XXX ) XXX being the software folder name
and if you are talking about the how to create an app which would make a newfolder in programs then... you need to change the instalation directory to something like this %ProgramFiles%\XXX... this will create a new folder in the start menu...
MODS PLEASE MOVE THIS THREAD TO QUESTION AND ANSWER section

MortScript not acting as expected

So, as I'm beginning to tire of having to keep moving all of my shortcuts after each new ROM flash for organization, I made a small little script to do that for me.
However, part of it isn't working. It will successfully move shortcuts from the root of start menu to other folders, but will not copy shortcuts off of my storage card into the start menu. Any ideas why?
Here's that part of the script:
Code:
Copy ("\Storage Card\Garmin.lnk" , "\Windows\Start Menu\Programs")
Copy ("\Storage Card\Garmin\Garmin.png" , "\Windows")
RegWriteString ("HKLM" , "\Security\Shell\StartInfo\Start\Garmin.lnk" , "Icon" , "\Windows\Garmin.png")
Could someone please help?
Regards
Smith
I figured out why. It's because "Storage Card" has to be shortened to "Storage"
I changed the script though. Instead of copying a link, I'm creating a new one.
Code:
CreateShortCut("\Windows\Start Menu\Programs\Garmin.lnk" , "\Storage Card\Garmin\Apps\QuePPC.exe" , TRUE)
Yes, the target parameter still says "Storage Card." That is because WINDOWS wil be interpreting that from the link once it has been created. So, if the parameter were simply "Storage" windows would be unable to find that and the link would be invalid.
Geez, been too long since I've coded. Too many dumb errors lol.
Regards
Smith

Categories

Resources