Mortscript....duh !! - Windows Mobile Development and Hacking General

Hi All
I'm sure someone will be able to tell me what I am doing wrong
I have loaded Mortscript on to my E650 and have copied a script from this site and saved it as wireless.mscr
When I run the file from Windows explorer - it opens the file in Word on my E650 and does nothing.
What am I doing wrong?
Thanks

Uninstall Mortscript and then reinstall it. I guess it's a matter of file association in the registry.

mortscript
Thanks....have tried that and it still does not work.
Any other ideas?

You must run once the mortscript's executable to create the associations with the mscr files.

dancer_69 said:
You must run once the mortscript's executable to create the associations with the mscr files.
Click to expand...
Click to collapse
yep, ran the yellow file that was located in the \program files\mortscript folder. It gave me a message to say the file associations has been made yet the docs still open in Word !!
AAAARRRGGGGGGHHHHHHH !!!!!!!!!

Try deleting the key at HKCR\.mscr...then opening mortscript.exe Then try to open your script. It deletes the file assc.

saenzjoseph said:
Try deleting the key at HKCR\.mscr...then opening mortscript.exe Then try to open your script. It deletes the file assc.
Click to expand...
Click to collapse
Thanks...where would I find the HKCR\.mscr Does that involve editing the registry as have never done it before

Yes this is a registry key. You will need a registry editor Total commander has a free one. Then just navigate to HKey_Classes_Root(hkcr) and locate the folder .mscr open it and delete the key in there..
In order to locate and edit the registry in total commander tap the / in the top right corner of the screen right next to the .. Then double tap on the \\ then double tap on Registry then HKCR then .mscr and delete the key labeled default ,or you could just double tap on it and then in the box provided type MortScript

key
Thanks,
have done as suggested, removed the keys, have removed and reloaded Mortscript. Rebooted phone....and they still open with Word Mobile !!!
Jeez - can it be so hard !!!

When you open that key what does it say.... when you open word go to menu and options and in display....click on word files, i dont think that will work but its worth a try

saenzjoseph said:
When you open that key what does it say.... when you open word go to menu and options and in display....click on word files, i dont think that will work but its worth a try
Click to expand...
Click to collapse
Hi, Thanks for your help so far
My word seems to be an editor only - as dont have any options to select.

mort
hi
Am getting somewhere now...turns out the file was named wireless.mscr.txt so have edited it to reflect the proper extension. Will try again now
Thanks again

well that makes a lot more sense...since the actual ext that you are opening is a txt. just drop the .txt

It's probably far more simple: You script has the wrong extension. It must be .mscr, not .psw, .doc or .txt. The default Explorer hides the extension, so your file's pobably named "somescript.mscr.psw" (or *.doc) but is shown only as "somescript.mscr". Use an explorer replacement like Total Commander or Resco, or the desktop's Explorer ("My mobile device") with "Hide extension for known documents" disabled in the options, and you'll see the wrong extension.
Edit: Oops, didn't realize there's a second page...

Related

Remap Today left soft-key

If anyone is interested in changing the left soft key on the Today page, the registry key is as follows:
KEY: HKEY_CURRENT_USER/Software/Microsoft/Today/Keys/112
String Value: Default -> Name to Display
String Value: Open -> "Path to exe"
For example, I changed Calendar to "Comm Manager" as follows:
Value: Default set to Comm Mgr
Value: Open set to "\Windows\CommManagerLink.exe"
No need to restart phone.
hey, how about the weather icon ? i got no use for it...can that also be remapped ? and which registry editor do you recommend ?..thank you
How about adding the New SMS function
I'v downloaded the "New SMS.lnk" file and had a look at the text in it which is as follows:
49#"\Windows\tmail.exe" -service "SMS" -to ""-body""
Can this be used? I haven't managed so far
Thanks,
davehutch said:
I'v downloaded the "New SMS.lnk" file and had a look at the text in it which is as follows:
49#"\Windows\tmail.exe" -service "SMS" -to ""-body""
Can this be used? I haven't managed so far
Thanks,
Click to expand...
Click to collapse
Yup, just do not use the 49#.
Can't get it to work.
Name changes fine but application is always Calendar that opens.
On a soft-reset it reverts back to Calendar as per default.
Would you mind checking that it works on your device please?
thanks,
use "softkey aplet" it can change both soft key to any application installed in your device.
Copy softkey.apl into Windows folder an you will find program icon in the setting page. Start-setting-system-soft key
I use this file since WM5 and really not remember who is create this great applet but BIG thanks to them.
and a BIG thanks to you too...works fine
Add that one to my list of indispensibles
I can't fin the windows directory when i'm browsing with windows vista (even by showing hidden files and folders) :/
So i put it into my memory card and tried to move it directly by my Touch but it's like the .CPL file is hidden too.
Any help ? (i'm sorry i'm a rookie at this).
Just tried it on mine with XP
The Show hidden files/folders works fine here.
Maybe Vista?
Can anyone else using vista confirm?
Failing that, copy it to you My Documents folder, then hold your cursor on the screen underneath the last file. You'll get an option to "Show all files"
Can you delete Softkey Applet after you apply the changes?
Thanks, actually i forgot to show systems files into my Touch, i could install it and it worked Great little program !
this is freak'n great thanks!!!
davehutch said:
Maybe Vista? Can anyone else using vista confirm?
Click to expand...
Click to collapse
Yes. With Vista you cannot browse the Windows directory.
Ginex said:
Yes. With Vista you cannot browse the Windows directory.
Click to expand...
Click to collapse
Yep, this really sucks
davehutch said:
I'v downloaded the "New SMS.lnk" file and had a look at the text in it which is as follows:
49#"\Windows\tmail.exe" -service "SMS" -to ""-body""
Can this be used? I haven't managed so far
Thanks,
Click to expand...
Click to collapse
where u got the new sms?
Here are the files
Unzip the NewSMS file and save the .lnk file in your \Windows\Start menu\programs directory
Now install the Soft key Applet .cab and point one of your soft keys to the NewSMS program (I found there were two. One works, one doesn't)
Done
Valentin.H said:
Yep, this really sucks
Click to expand...
Click to collapse
The \Windows folder on your Touch is a system folder, and Vista doesnt display them. Go to folder options, and check the "Show system files" option. No open your Touch on Vista, go to \ and there you go \Windows
davehutch said:
Unzip the NewSMS file and save the .lnk file in your \Windows\Start menu\programs directory
Now install the Soft key Applet .cab and point one of your soft keys to the NewSMS program (I found there were two. One works, one doesn't)
Done
Click to expand...
Click to collapse
Thx works great
davehutch said:
Unzip the NewSMS file and save the .lnk file in your \Windows\Start menu\programs directory
Now install the Soft key Applet .cab and point one of your soft keys to the NewSMS program (I found there were two. One works, one doesn't)
Done
Click to expand...
Click to collapse
erm... how to get to \Windows\Start menu\programs directory? but before save the .ink file, do i need to install any program to support this newsms?
No new prog required to support it lunarken
It's a shortcut to open the sms prog and start with a new, blank message.
If you can't find your Windows folder on the Touch, hold your stylus below the last file in File Explorer and select "Show all files".
If you're running Vista, you apparently ned to make sure you have "Show System files" selected.
It only needs to go in the Windows/Start Menu/Programs folder so that the Soft Key Applet can find it.

Changing icons

I know alot of chefs have there own icon sets for thing like the program menus and setting and things. I also no that the settings for these are linked by an "icon.lnk" file to a dll file in the windows directory. I need help trying to edit these icon's, Whether it is through the dll file or there is another round about way.
A play by play would be great, thanks in advanced.
(i have already tried editing through a dll editor and connot seem to find a program that doesn't have an error trying to edit it (everything from wordpad to Resourse explorer to pe editor.)
you can use icon changer http://www.shelllabs.com/
pull the exe file off your device. then load it into icon changer. change the icon then put it back on your device overwriting the old one. this will change the physical icon of that program.
i have used it several times and it works great.
joel2009 said:
I know alot of chefs have there own icon sets for thing like the program menus and setting and things. I also no that the settings for these are linked by an "icon.lnk" file to a dll file in the windows directory. I need help trying to edit these icon's, Whether it is through the dll file or there is another round about way.
A play by play would be great, thanks in advanced.
(i have already tried editing through a dll editor and connot seem to find a program that doesn't have an error trying to edit it (everything from wordpad to Resourse explorer to pe editor.)
Click to expand...
Click to collapse
Hello,
See my signature. Just edit the icon.dll with XN Resource Editor. Open icon.lnk with notepad and just give the icon number.
Thanks
tom108 said:
you can use icon changer http://www.shelllabs.com/
pull the exe file off your device. then load it into icon changer. change the icon then put it back on your device overwriting the old one. this will change the physical icon of that program.
i have used it several times and it works great.
Click to expand...
Click to collapse
I knew about extracting from the exe already thanks for the reply though
ksrikanth said:
Hello,
See my signature. Just edit the icon.dll with XN Resource Editor. Open icon.lnk with notepad and just give the icon number.
Thanks
Click to expand...
Click to collapse
I'll try out the editor, this was more what i was looking for thanks
Well i found out the file i was trying to use i some how corrupted to i reloaded it, i got i t open but now when i try to save changes i get a write protects errors and it will not save... is this a certificate of a file property i can change
EDIT: nevermind, it was a file property problem fixed
Alright i have a feeling there is a certificate somewhere..... all of my icons are now folders....
joel2009 said:
I know alot of chefs have there own icon sets for thing like the program menus and setting and things. I also no that the settings for these are linked by an "icon.lnk" file to a dll file in the windows directory. I need help trying to edit these icon's, Whether it is through the dll file or there is another round about way.
A play by play would be great, thanks in advanced.
(i have already tried editing through a dll editor and connot seem to find a program that doesn't have an error trying to edit it (everything from wordpad to Resourse explorer to pe editor.)
Click to expand...
Click to collapse
You can edit a DLL with reasourse hacker. You just need the UNSIGNER, and MSSIGNER. first you unsign, then you edit and save, then you sign.
simpler than you think. the hard part is looking for graphics
SK Shortcut Manager
SK Shortcut Manager does the trick for me
http://www.s-k-tools.com/index.html?sksmgr/m_sksmgr.html
BUT, it's paid...
Also i've found DLL file with many (400) old school icons (attached with this post).
A little preview: http://www.wenzlaff.de/download/twicon/twicon3.jpg
U can use also your windows DLL files (shell32.dll).
That's the way i manage all my icons
Hope this helped you
bigchrizzieboy said:
SK Shortcut Manager does the trick for me
http://www.s-k-tools.com/index.html?sksmgr/m_sksmgr.html
BUT, it's paid...
Also i've found DLL file with many (400) old school icons (attached with this post).
A little preview: http://www.wenzlaff.de/download/twicon/twicon3.jpg
U can use also your windows DLL files (shell32.dll).
That's the way i manage all my icons
Hope this helped you
Click to expand...
Click to collapse
I imagagine you can royally screw your phone over messing with shell 32.....
I'm working with a different file and linking to that instead of the shell thanks though
S.V.I said:
You can edit a DLL with reasourse hacker. You just need the UNSIGNER, and MSSIGNER. first you unsign, then you edit and save, then you sign.
simpler than you think. the hard part is looking for graphics
Click to expand...
Click to collapse
I've gotten into the file using a resourse hacker, but how do i sign and unsign?
I don't seem it as an option in any of the menu's so either i'm using the wrong program or i just don't know what i'm doing at all
Edit: and i have already created my icons by hand..... i've got graphics down easy i just have never worked with a dll before..... usually just skinning apps

Unhide system files

How can I unhide system files in HD2?
stef2000 said:
How can I unhide system files in HD2?
Click to expand...
Click to collapse
In File Explorer, click "Menu" and then "Show all files".
That should do the trick
johncmolyneux said:
In File Explorer, click "Menu" and then "Show all files".
That should do the trick
Click to expand...
Click to collapse
It does'nt work.
I tried to do what in "Leo Hints & Tips" for exp:
"1. Enable Hidden Default Games
Go to the Windows directory and copy bubblebreaker.exe and solitaire.exe to the games folder as shortcuts in Windows\Start Menu. Make sure to unhide system files to see the games listed."
I can't copy files as instructed (working with total commander) and if the files were copied I can't reach/see them.
I think you may have misunderstood the original instructions.
Open file manager (not total commander) and navigate to Windows folder.
Locate the file BubbleBreaker (it's 46K, not one of the others)
Highlight it and keep it pressed till you get the menu with "Copy" in it. Do Copy.
Scroll back to the top and go into "Start Menu\Programs\Games".
Do "Menu, Edit, Paste Shortcut".
As I'm a pedant, I renamed the shortcut, removing the "Shortcut to" prefix.
Then, when you go Start Menu & then Games, BubbleBreaker is in there.
Now I've just done that exactly as typed above, whilst describing it for you, so it should work for you.
Let us know if you still have a problem.
Hi,
It works!
Now I got the idea.
Thanks.
stef2000 said:
Hi,
It works!
Now I got the idea.
Thanks.
Click to expand...
Click to collapse
Glad to help
hidden "eT9MyWords.exe"
Hi,
I've made the change & so could shortcut the Games as suggested (great tip btw) - but when i go to do the same thing with "eT9MyWords.exe" i can't see it in the Windows directory or find it when i search.....
Any suggestions?
BGM said:
Hi,
I've made the change & so could shortcut the Games as suggested (great tip btw) - but when i go to do the same thing with "eT9MyWords.exe" i can't see it in the Windows directory or find it when i search.....
Any suggestions?
Click to expand...
Click to collapse
Don't know what to say mate - it's in my Windows folder. There's a bunch of files called eT9.Rhodium.xxxx and then eT9MyWords is after them (directly after eT9DeadKeys).
I take it you did unhide system files as previously suggested? (I'm not sure if you need to do that for the games suggestion).
I have a slide deferent question. I would like to delet exe file from thew windows folder but I can't because I can't select Delete, have anyone some advice?
delete exe file
it has been awhile since i have done this, also some files are impossible or almost impossible to delete.
if you have been trying to do it from ur phone, go instead, to your active sync/windows mobility center. click file mgt and browse contents of device, navigate to the exe u want to delete. i have done it before and it has worked on several ocassions. be careful on what u r deleting, you may want to do a google on it b/f u do it
if this does not do it, i got no clue hope this helps someone
johncmolyneux - special thanks to u for the hidden games trick, ? are there any other hidden games in the hd2 winmo 6.5 professional, or where i may find out?
AaBoyXX said:
I have a slide deferent question. I would like to delet exe file from thew windows folder but I can't because I can't select Delete, have anyone some advice?
Click to expand...
Click to collapse
Thanks johncmolyneux,
Got there in the end - I had shown system files, but seems like it somehow "reverted".
Cheers!

Possible to change program assignments?

In my Dopod, when I click on a TXT file in my File Explorer, it always opens in MS Pocket Word. Then I have to be careful to select the correct file save as text files.
I installed some alternative NotePad programs but there appears to be no way to change the file extension type assignments to start up the correct program instead?
I have googled quite a bit but came up empty!
Anybody solved this problem?
Thanks!
AFAIK, Advanced Config has such an option to change file associations.
I had Advanced Config 3.2 already but did not know it had file association.
Found it under More Settings!
Unfortunately, when I tried to re-assign the program, it bombed when I was navigating the tree view.
Eventually, had to copy the application to \Program Files\ and select it from there!
After that, it seems to accept the settings.
Unfortunately, after the soft reset, the extension is still pointed to same application as before!
Latest update!
Something very funny is going on.
Advanced Config shows that the file association has been changed.
TXT file is now:
\Program Files\PocketTextEditor.exe "%1"
However, when I click a txt file in File Explorer, it still opens with Pocket Word!
Did I do something wrong?
Thanks!

Creating shortcuts .

Hello there.
Ive been giving my hd2 a nice overhaul today and added a couple of apps which were not in a .cab format.
E.g just cpied all the program files over to the sd card. They both work fine but im having a problem linking shortcuts to the home screen quick links. Is there a program that lets you explore the entire folders to link them to quick links or a way around this. Ive had a browse and not really found anything helpfull. I have total commander and am able to edit the registry if that helps.
Thanks for replies in advance
Kipz162 said:
Is there a program that lets you explore the entire folders to link them to quick links or a way around this.
Click to expand...
Click to collapse
You could try this http://forum.xda-developers.com/showthread.php?t=275577
oruam57 said:
You could try this
Click to expand...
Click to collapse
I can make the shortcuts fine, its just pairing it up the the quick links, in HTC Sense.
For example, when you touch an empty quick link square there are three options, Program, Contact, and bookmark.
Maybe a program that adds a browse through folders option.
press and hold the executable, choose copy, browse to the windows/start menu/programs folder , press and hold, choose paste as shortcut and now it will show up when you do the quick link.
samsamuel said:
press and hold the executable, choose copy, browse to the windows/start menu/programs folder , press and hold, choose paste as shortcut and now it will show up when you do the quick link.
Click to expand...
Click to collapse
Thanks alot mate got it now
I'm trying to get shortcuts made to folders on my storage card and am having the hardest time. I want one that goes straight to "Movies" folder and I've tried using sktools shortcut manager and nothing shows up in the start menu though. If I just copy and paste a shortcut into start menu programs, then it doesnt launch and just says the file cannot be opened.......Any help would be greatly appreciated. Thanks.
press and hold on the music folder, choose copy, browse to windows/start menu press and hold, choose paste as shortcut. It will now show up for you to assign when you press a blank quick link
samsamuel said:
press and hold on the music folder, choose copy, browse to windows/start menu press and hold, choose paste as shortcut. It will now show up for you to assign when you press a blank quick link
Click to expand...
Click to collapse
been searching for an answer to this and haven't gotten one yet.
i do exactly as instructed above (no problems if i am making shortcuts to individual exe, pdfs, etc.) problem is when making a shortcut to a folder (whether the folder is on the device or storage card makes no difference).
when i place a shortcut of a folder into the start menu it works if i 1) get to it via total commander 2)get to it by file explorer however it fails if 1) i get to it by pressing the start menu or 2) assign it as a quick link (get a message stating: "The file "XXXX" cannot be opened. Either it is not signed with a trusted certificate, or one of its components cannot be found. If the problem persists, try reinstalling or restoring this file.")
any ideas?
thanks!
HD2/TMoUS stock ROM
bump...anyone have ideas??
thanks!
I've the same problem! I can create shortcut to programs, a single file etc but can't create any shortcut to a folder.
When I clicked on the lnk for the folder in fexplorer or total commander, fexplorer will open with the folder listed. But if I clicked on the lnk from the launcher, the message : "The file "XXXX" cannot be opened. Either it is not signed with a trusted certificate, or one of its components cannot be found. If the problem persists, try reinstalling or restoring this file." appeared. I tried to create another lnk shortcut to a file and put it in the launcher and it works perfectly. Just that it dosen't work when the lnk is for a folder. Strange..........
applefruit said:
I've the same problem! I can create shortcut to programs, a single file etc but can't create any shortcut to a folder.
When I clicked on the lnk for the folder in fexplorer or total commander, fexplorer will open with the folder listed. But if I clicked on the lnk from the launcher, the message : "The file "XXXX" cannot be opened. Either it is not signed with a trusted certificate, or one of its components cannot be found. If the problem persists, try reinstalling or restoring this file." appeared. I tried to create another lnk shortcut to a file and put it in the launcher and it works perfectly. Just that it dosen't work when the lnk is for a folder. Strange..........
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?p=6490385#post6490385
Hi samsamuel,
Thanks for your reply. I followed exactly what you had written on post #35. But it did not work either. One strange thing I've noticed is that the .lnk file I've created and pasted on \Windows\Start Menu\ will auto disappear by itself! To be exact, I highlighted the .lnk file I've created and paste it in \Windows\Start Menu\ folder. Under file explorer, I browse to \Windows\Start Menu\ folder and I can see the .lnk file there. I proceed to close file explorer and reopen it and browse to the same folder but the .lnk file had disappear all by itself!!!

Categories

Resources