Can someone make a very simple Executable for me? - Windows Mobile Development and Hacking General

Im looking for an executable that would run the cammand lines in a given txt file. Run them in order of their listing.
Basically I want to replace the voicedial exe in my wizard with this one and it will activate the audio over BT program and then Voice command.
Is this plausible?
Thanks!
Josh

you can use mortscript for that

cduijker said:
you can use mortscript for that
Click to expand...
Click to collapse
How do I go about doing this with mortscript? Does mortscript actually produce an executable that runs the script you make? Sorry Im a bit clueless about it.

mortscript creates scripts which will run just like executables on your phone.
Check the mortscript manual for the exact function you want, but if it is simply running programs you might try (as an example):
Run( "\Windows\StartMenu\Messages.lnk" )
It is quite versatile.
PDF Manual:
http://www.sto-helit.de/downloads/mortscript/MortScript-Manual.pdf
More info/download:
http://www.sto-helit.de/index.php?module=page&entry=ms_overview&action=view&menu=29

Related

I want to ask "How to cook a shortcut"?

Hi
Is there some convinient way to create shortcuts on wm5 ppc? some app with
-browse for file
-cmd line params
-browse for icon-dll
-insert icon number into cmd line
if there is no, one should be developed immediately
………
Turist said:
Hi
Is there some convinient way to create shortcuts on wm5 ppc? some app with
-browse for file
-cmd line params
-browse for icon-dll
-insert icon number into cmd line
if there is no, one should be developed immediately
Click to expand...
Click to collapse
i cant believe everybody makes it manually
Come on! You help is needed!
thanks for the idea!
OdeeanRDeathshead said:
thanks for the idea!
Click to expand...
Click to collapse
i quess its irony... ;(
nevertheless i found one _ttp://www.s-k-tools.com/sksmgr/sksmgr.html
its almost free for ex-USSR so i`ll give it a try.
Turist: you might want to read some of OdeeanRDeathshead's posts. I don't think he was being ironic.
Frankly, I've never found it difficult to write shortcuts by hand, but the sktools app is great, as ever.
V
There was no irony. As I was reading your post I was coding my app to check on startup its current location then generate a new shortcut to replace its existing one in the startup folder. One reason i use a shortcut done by hand is to get the command line arguments in it. I use the command line to tell my program if it is being started after a soft reset. If it is it minimises itself after a couple of seconds. Of course I don't need to look up the icon because my shortcut is for my executable, from memory it was just trial and error getting the correct icon for things like poutlook. I think any shortcut generator would have to be able to copy the info from existing shortcuts to make it useable over different versions/os etc.
vijay555 said:
Turist: you might want to read some of OdeeanRDeathshead's posts. I don't think he was being ironic.
Frankly, I've never found it difficult to write shortcuts by hand, but the sktools app is great, as ever.
V
Click to expand...
Click to collapse
not really difficult, but i`d like a little bit more comfortable way.
yep, sk-software is really good. paid yesterday for sktools, skshems, skshortcut manager.
OdeeanRDeathshead said:
There was no irony. As I was reading your post I was coding my app to check on startup its current location then generate a new shortcut to replace its existing one in the startup folder. One reason i use a shortcut done by hand is to get the command line arguments in it. I use the command line to tell my program if it is being started after a soft reset. If it is it minimises itself after a couple of seconds. Of course I don't need to look up the icon because my shortcut is for my executable, from memory it was just trial and error getting the correct icon for things like poutlook. I think any shortcut generator would have to be able to copy the info from existing shortcuts to make it useable over different versions/os etc.
Click to expand...
Click to collapse
you`ll never know what could happen with those little apps designed "for my internal use only"
ps: got myself vs2005, msd, wm5 sdk. would like to try to make an xml-parsing/registry-editing engine for universal registrytweaking tool. I really like the idea of RegistryWizard-tool, but not very much its design and functionality. will see...
I just finished updating my file open dialog. It can now create shortcuts that have command line arguments and it can extract the icons and their id from any file that contains them (exe dll). This will be available shortly as part of my almost (really) finished project.
OdeeanRDeathshead said:
I just finished updating my file open dialog. It can now create shortcuts that have command line arguments and it can extract the icons and their id from any file that contains them (exe dll). This will be available shortly as part of my almost (really) finished project.
Click to expand...
Click to collapse
Great! And please notice - i`m not chraging you for this brilliant idea
will it be available as standalone utility too?
The shortcut functionality will not be limited in any way on the program, but no, it will not be stand alone. I tested on jamin today (wm2005) and the handle htc give for the port is good, unlike the atom. I spent the last week converting my lists in the file open dialog to owner drawn to try and cut the display time on the windows directory. It has 1300 items and was taking 23 seconds, I have cut that to 7 seconds. Resco take 3.

MDA Camera Flash as a Flashlight

Hi! I was wondering if anyone can tell me if there is a way to assign a hardware button for the camera flashlight or even a screen icon. I read somewhere that somebody was working on a program for it. Thank you for your time.
Look for a proggy called pflash. It'll turn your screen white and temporarily disable the backlishgt timer. assign that to a hardware button and you're done.
Thanks Nate, I was hoping there was a program that would use the camera's led flash as a torch. I found veejay's program, unfortunately it didn't work for my mda. I'll give pflash a try though.
No prob, I think it was a free proggy by David Anders (easy enough to find via google). He's also got an AWESOME RSS reader too.
I've got my MS Voice Command on my 8125 and added a shortcut to Pflash to the \windows\programs directory and renamed it flashlight and VC hs no trouble understanding it and calling it too!
Flashlight with Mortscript
Maybe you can try with this.
Unzip both attached files.
Install Mortscript app and copy flash.mscr file to PPC.
Run flash.mscr file.
It works on my Atom Exec/WM5. The .mscr file sorta run the test Flash command from the Atom Exec's Self Diagnostics apps.
Cheers,
del0000
Plamp
Found plamp here
http://www.freewareppc.com/misc/plamp.shtml
WM5 compatible - HTC Phones only
This program is used to permit control of the flash light on various HTC Phones, to allow it to be used as a torch etc.
Note: this app may will cause permanent damage to your flash led over prolonged periods.
The app will disable itself after prolonged use, but still, use it at your own risk.
I cannot confirm what hardware it will work on, other then the Universal phone.
look here: http://www.vijay555.com/?Releases:VJCandela
Juncker - my app is not compatible with wizard. I don't have a wizard to test on so never wrote support for it.
V
del0000 said:
Maybe you can try with this.
Unzip both attached files.
Install Mortscript app and copy flash.mscr file to PPC.
Run flash.mscr file.
It works on my Atom Exec/WM5. The .mscr file sorta run the test Flash command from the Atom Exec's Self Diagnostics apps.
Cheers,
del0000
Click to expand...
Click to collapse
That worked really well.
What abt the light dmg topic... use long time = killing the light?
Anybody have any luck running that mscr on the 8125? I couldn't get it to work
I haven't found any other way to control the flash w/o starting up the camera...
del0000 said:
Maybe you can try with this.
Unzip both attached files.
Install Mortscript app and copy flash.mscr file to PPC.
Run flash.mscr file.
It works on my Atom Exec/WM5. The .mscr file sorta run the test Flash command from the Atom Exec's Self Diagnostics apps.
Cheers,
del0000
Click to expand...
Click to collapse
can i make this work on ATOM?
Do something work for the wizard now?
At this point, still no. But I for one would be willing to put my wizard on the line to test a version of vijay555's program for the wizard.

Close App with Command Line

I have SPB Pocket Plus and Oxios Memory's Close and Hibernate.
I was wondering if there is any command to target and close a particular program?
Basically i'm looking for something which is extremely simple and doesn't require a massive installation of another additional program.
Guys this is real important... I hope somebody can throw some light on this. I just need a small executable to be able to close a particular appliaction via the command line so I can make a shortcut out of it.
I've looked around a lot but can't seem to find anything.
The program SKScheMa (http://s-k-tools.com/) has the ability to kill a named process.
It will let you create a script to do it.
Hi ishra,
Thanks for the tip. However i'm looking for a much simpler way to do it without having to install any additional software.
Ideally, I'd like an exe file which via a command line parameter can shutdown a partucular application.
http://www.vijay555.com/?Releases:VJTaskKiller
It will also be improved (eventually) to close invisible tasks. If you need that feature, let me know and I'll prioritse.
V
hahaha... VJ... you rock.
I dunno why I didn't think of looking up your website. It was the most obvious thing to do... I looked everywhere and I missed your site.
Thanks so much.
EDIT:
VJ, I mainly wanted this app to be able to close a program called IDTransfer. The name of the task is also IDTransfer and that is exactly what I put in the shortcut. When I click on the shortcut for some reason it says
Warning - window
'IDTransfer
' not found!
Click to expand...
Click to collapse
The following is the line in my shortcut
61#"\Program Files\vijay555\VJTaskKiller\VJTaskKiller.exe" IDTransfer
Click to expand...
Click to collapse
Vijay, same problem here. It's not working (Orbit WM6). Is there any chance to have you to take a closer look what's wrong?
I tried to run it against a couple of application in order to kill them. Results as above. Window - not found

Easy way to delete registry key over and over?

I'm after a quick and easy way to delete a specific registry key - preferably from a command line/shortcut.
This has to be done on a number of PPCs for work (always the same registry key) and I need an easy way to distribute it so I don't have to walk users through it each time - ie a single shortcut or executable would be best.
no-one knows? WM5 if that makes a difference..
MortScript
leyton01 said:
no-one knows? WM5 if that makes a difference..
Click to expand...
Click to collapse
If you tell me what key and data you want deleted I can write you a small app that can do it (silently).
-Jwrightmcps
Use MortScript and Autorun.exe on a SD card. Just inserting the card on the device will run the script and change the registry for you.
Other option is to create a cab file with the registry change in it, and then setup a batch script to automatically install it on the users device when their PDA is connected to their PC. Here is something I put together that may help:
http://www.jaml.com/CreateApp/
Jwrightmcps - thanks for the offer, I will PM the details
Markvan - will check out the link. Looks like it will be handy for a couple of other projects I have. KISS principle definitely applies for execs and technology - if I can email them a cab that can run a couple of things offsite users shouldn't be able to screw it up too bad (they will find a way no doubt)

Syntax Highlighting for Morscript using Notepad++

Mortscript for Notepad++
Hello guys, not sure whether this is the right place for this thread, but as MortScript seems pretty popular and santax highlighting makes things easier, I wrote a little script for use with Notepad++.
The attached file contains a file called userDefineLang.xml which you simply need to put into %APPDATA%\Notepad++ for the installed version or into Notepad++'s Program folder for portable version. If you open a Mortscript with Notepad++ for the next time, it will be highlighted. I am not sure whether I catched all functions, but this script can easily be extended by using Notepad itself.
Maybe it helps you a bit.
Regards
Cool contribution, thanks a lot. I use NPP as windows notepad replacement, and edit mortscripts with it as well. This should make it a bit easier
Cool. I use Notepad++ on my PC, But to make MortScript file on my phone i use zNotepad or MADE. zNotepad is made for making MortScript files. Thats the standard extension when you save a file. MADE is a great text editor wich I've used since I first got a windows mobile phone. They're both free but zNotepad comes with GSlide
Awesome, I tried to do this last week but notepad++ kept crashing on me...plus I can't ftp to my phone with this, so I use pspad.
Try CKE
Hi guys,
I use CKE as onboard editor. GSlide was more or less built on my P3600
CKE is by far the most competent code editor for pocket pc. With built-in support for syntax-colouring, indentation, running files with external apps etc.
I will post config files soon.
Ciao,
Lars
This is exactly what I was looking for! Thanks a bunch.
Thanks!!
I suggest you provide your UserDefinedLang to the Notepad++-Wiki.
http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=User_Defined_Language_Files
Notepad++ AutoComplete
I just created AutoComplete file: MortScript.xml
File should be placed here: \Notepad++\plugins\APIs\MortScript.xml
To have a instant Autocomplete change: Settings > Preferences > Backup/Auto-Complation according to file: AutoCompleteSettings.png
Enjoy

Categories

Resources