START-APPW in nncronlite

nnCron and nnCron LITE discussion

START-APPW in nncronlite

Postby sfeterman » Tue, 31 Oct 2006, 01:33

Can nncron lite run START-APPW o just START-APP?
Posts: 1
Joined: Tue, 31 Oct 2006, 01:30

Postby Valery_Kondakoff » Tue, 31 Oct 2006, 14:44

You can write a special nnCron LITE plugin which will give you a START-APPW functionality (see 'nnCron LITE and Forth Programing Language' chapter in nnCron LITE docs). Here is a quick example. Create a file, called 'saw.spf' with the following contents (we are defining the new Forth word):

Code: Select all
: saw
    0 S" C:\WINNT\NOTEPAD.EXE" StartAppWait DROP
    S" xxx" MsgBox

Now, include the newly created plugin in cron.ini:

Code: Select all
INCLUDE saw.spf

Restart the nnCron LITE service and use the defined Forth-word 'saw' in your

Code: Select all
* * * * * !saw

You see the message popping out only after you close the notepad manually. HTH!
User avatar
Site Admin
Posts: 769
Joined: Thu, 01 Jul 2004, 20:49
Location: Moscow, Russia

Return to nnCron forum (English)

Who is online

Users browsing this forum: No registered users and 1 guest