Jump to content

MortScript scripting language now available


Recommended Posts

Guest Paul (MVP)
Posted

Scripting languages... ah... how I miss the 'good old days' of ridiculously long, complex and inappropriate DOS batch files!

Now you can relive those days, courtesy of MORTSCRIPT, a scripting language for your Windows Mobile device :rolleyes:

You can get the full lowdown at the MortScript site, but here's a bit more about it from the developers themselves...

What is it?

MortScript interprets a (quite) simple batch language. If you know .bat files in DOS or shell scripts in *nix: it's something like that. Its focus is to remote control or launch other applications, not to write real applications.

It's more an hacker tool without a nifty interface, you have to write your scripts with any text editor.

For beginners, this might be a bit too complicated.

Available commands currently include:

* Run, activate, hide, close, and kill programs

* Wait functions: certain timespan, wait for existence or activation of windows.

* Send keystrokes: carriage return, space, tabulator, ESCape, direction keys, delete, "Print", Ctrl- and any text

* Send mouse clicks

* File operations: copy, rename/move, delete, create shortcuts

* Create and remove directories

* Read from and write into the registry (string and dword values)

* If conditions, Choice selections and While or Repeat loops

* Some system features (e.g. rotation, volume, backlight brightness, soft reset)

* Subroutines (Call, Sub/EndSub)

* Variables and simple expressions (simple math, string contatenations, ...)

There seems to already be some nifty little scripts out there, some of which are posted at GPCarreon's site... I look forward to seeing what MoDaCo members can produce with this tool :(

P

[Disclaimer: Paul's news catch-up...]

Guest Confucious
Posted (edited)

Can we have EDLIN to write them with? :rolleyes:

Just noticed site nam - sto-helit and Mort?

Pratchett fans methinks!

Edited by Confucious
Guest stevewright
Posted

What I'd really like (given that I'm Orange so can't afford an "unlimited" GPRS plan) is a program that every hour does the following:

  • Turns on WiFi
  • Connects to an access point
  • Checks to see if it can access the internet (ping a server)
  • If not, then try another available access point, or turn off WiFi if none are available.
  • Do a send/receive from Pocket Outlook
  • Turn off WiFi.

Maybe I'm just lazy :rolleyes: but is this kind of thing possible?

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.