Help With Mortscript - 8525, TyTN, MDA Vario II, JasJam General

Ive installed Mortscript on my phone and would love to know how to write this as a command
Start Resco Registry Editor
Delete String??
Simple as that,
A little help please?

fantastic_mr_q said:
Ive installed Mortscript on my phone and would love to know how to write this as a command
Start Resco Registry Editor
Delete String??
Simple as that,
A little help please?
Click to expand...
Click to collapse
OK i dont know what you meant by delete string but
the start command is pretty easy
make a simple text file with the script
#script starts here
run "\Program Files\Resco\Resco Registry Editor.exe"
#end script
#leave the quotes and replace the command inside to the quotes to whatever the path to the executable is.
rename the text file to .mscr and then you can run it.

OR...
you could read the mortscript manual and realise that it can edit the registry its self...
look a posted hack/patch i made for musicID in the XDA Devs general forum, in there you will see how to delete a registry string from morscript.
also you might get more help on morscript at the mortscript forum...

Related

How to convert LNK to EXE? For key remap

I have been trying to get my HW keys remapped on the Q9 for a day now. After picking through the registry, I found a reg key that maps to the button
\HKEY_CURRENT_USER\ControlPanel\Keybd\APP2_Path
It accepts any .exe but I need to point it to a Mortscript file and that won't work. I can't even put a shortcut LNK value in there. Soon as I pop any exe in that field it works. Anybody know how to convert a LNK into an exe to trick this thing? I even tried running Mortscript.exe with the script name as a parameter but no luck. Thanks!
Looks like what I need is a basic applauncher .exe that would read the script/exe parameter from the registry or file. I have experimented some more with this registry key and it won't take anything other then a straight exe. Even quotes around the value breaks everything so I can't pass parameters around.
Mortscript comes with a file called autorun.exe. rename this file to the name of your mortscript, so if your mortscript is named 'myscript.mscr' then rename autorun.exe to 'myscript.exe'. make sure both files are in the same folder. Now when you run 'myscript.exe' it executes 'myscript.mscr'. For more information check mortscript documentation.
joemanb said:
Mortscript comes with a file called autorun.exe. rename this file to the name of your mortscript, so if your mortscript is named 'myscript.mscr' then rename autorun.exe to 'myscript.exe'. make sure both files are in the same folder. Now when you run 'myscript.exe' it executes 'myscript.mscr'. For more information check mortscript documentation.
Click to expand...
Click to collapse
i was so happy to see this fix and tried it. it appears to work about 5 times and then it stops responding. i have to reboot to get it working again. If i click on the script .mscr it works however. so something buggy in the autorun.exe. Any suggestions?
Take a look at http://www.vijay555.com
I think it's VJbrisk.exe or something like that, but I'm not sure...
There's definitely something there that can help you!
ithx i tried vbrisk but it would not install on wm6 smartphone. Any other apps that do the same?
Are your files in the same folder as 'mortscript.exe'? If not, put them there and try it. Make sure you have the lastest mortscript version.
Also, there is an old program called 'Launch Pad' by 'On Hiatus' that was developed for the HPC version of WinCE, and uses PocketC by 'Orbworks' (google both). You can use it to create .EXEs that work like .lnk files.
It works fine on my WM6 Wizard PPC, don't know if it will work on a Smartphone, but it's worth a try if the above doesn't work.
Another thing you could try is to extract the VJbrisk.exe from the cab file and manually transfer it to your device, then see if it works.
Yah they are in the same folder and named the same. I moved it al into the root. It appears to work for a couple hours, then dies and requires reboot. Otherwise it does the trick nicely. Mortscript is great!

Mortscript....duh !!

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...

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

REG Problem!

Hi there!
I'm having a problem with a reg file I would like to apply to my Touch HD.
I got installed the "PHM RegEdit" application and if I click the reg file, the application launches and I can not apply the changes.
If I uninstall "PHM RegEdit", I click on the reg file again and the device says that there is no application for such a file.
What can I do?
Greetings!
reg files is just text files you can open it in a text editor and
create or alter the registrys manualy to fit what the reg file include
Thanks for the answer.
I know that, but this reg file has many value changes, it would be better if I can apply it automatically.
Please! Anyone?
Is there another application to apply this reg files?
PHM RegEdit doesn't seem to work.
Greetings!
FdcSoft TaskManager by dotfred
simply post your regfile or copy/paste it here so that we can have a look at it

[SOLVED]How to create a shortcut for mortscript

hello to all i have created a mortscript but i did not able to create a shortcut in startmenu with packages maker.....will anyone please help me how to create a shotcut with mortscript because packages maker only show the "exe" files.
thanks to all
1#"\Windows\Connections_OFF.mscr"
Like that. Just put in your script name, put it in a .txt file and change the extension to .lnk.
Total Commander is a great tool for making links.
Since you're using mortscript, you can also use the createshortcut command to make the shortcut, like this:
Code:
CreateShortCut("\Windows\Start Menu\Programs\MortScript\RestoreWeather.lnk","\Windows\RestoreWeather.mscr")
Farmer Ted said:
1#"\Windows\Connections_OFF.mscr"
Like that. Just put in your script name, put it in a .txt file and change the extension to .lnk.
Total Commander is a great tool for making links.
Since you're using mortscript, you can also use the createshortcut command to make the shortcut, like this:
CreateShortCut("\Windows\Start Menu\Programs\MortScript\RestoreWeather.lnk","\Windows\RestoreWeather.mscr")
Click to expand...
Click to collapse
thanks for ur reply when i add like this in my created script it does not create a shortcut
any solution??????
I didn't have the script in code tags, so it had a space in the second 'windows'; maybe that was the problem. It should work fine; my whole start menu (100+ shortcuts) is created that way. You just need to have the correct path to the script you want linked.
are i add these entries ina rgu or in my created script
They go in a mortscript; you also need to put an EXEC command into an add2config.txt file to get the script to run (and mortscript has to be cooked in).
Farmer Ted said:
They go in a mortscript; you also need to put an EXEC command into an add2config.txt file to get the script to run (and mortscript has to be cooked in).
Click to expand...
Click to collapse
Thanks once again ....i put m'y scripts into m'y Windows folder and i havé created a new note.txt and i add m'y entries like u havé marked and i rénamed thé txt to mscr but when i want to test thé script before cooking it gives a error ...i havé mortscript installed ...Will i add some thing Else in m'y script or ...is it possible to upload a sample script for creating shortcut?
Do the cheaters method, and find your file in the windows directory of your device, then select and copy, finally paste as shortcut in storage card. Move shortcut off storage card. Done.
indagroove said:
Do the cheaters method, and find your file in the windows directory of your device, then select and copy, finally paste as shortcut in storage card. Move shortcut off storage card. Done.
Click to expand...
Click to collapse
ok but i want to create a shortcut in my kitchen for cook with
shafizal said:
Thanks once again ....i put m'y scripts into m'y Windows folder and i havé created a new note.txt and i add m'y entries like u havé marked and i rénamed thé txt to mscr but when i want to test thé script before cooking it gives a error ...i havé mortscript installed ...Will i add some thing Else in m'y script or ...is it possible to upload a sample script for creating shortcut?
Click to expand...
Click to collapse
What's the error? I'm guessing there's just some syntax that's off. You should try each script one at a time (comment out all but one at a time with #'s).
Farmer Ted said:
What's the error? I'm guessing there's just some syntax that's off. You should try each script one at a time (comment out all but one at a time with #'s).
Click to expand...
Click to collapse
now its ok bro ur entries worked now and i added into config.text now its creates the shortcuts automatically after flash.....
thank u very much for ur help from begin..

Categories

Resources