NotGnu has a long-time and loyal set of users who have not only used NotGnu over the years, but have contributed suggestions, testing and work on NotGnu and it's documentation. Now you can also contribute tips for others. To contribute, email Julie Melbin (Julie AT notgnu.org) with a write-up of your tip. Thanks!
Using a scripting language called AutoIt I wrote one which can be used to emulate notstart.exe. This works under Windows 98 SE and maybe other 32-bit Windoze.
whatever.aut
------------
; don't show the tray icon
HideAutoItWin, On
; send out the stream at max speed
SetKeyDelay, 0
IfWinExist, notGNU, , GoTo, exists
; open ntnot with the filename including path
Run, %MEHOME%\\ntnot.exe "%1% %2% %3% %4%"
Exit
;
exists:
; bring to front to receive keys
WinActivate, notGNU
; find-file with the filename including path
Send, ^x^f^u%1%^{SPACE}%2%^{SPACE}%3%^{SPACE}%4%{ENTER}
Exit
------------
Once this is compiled into whatever.exe using AutoIt, you can drop files onto it or associate it with extensions and double-click away.
If ntnot is not running, it gets fired up to open the text file. If ntnot is running, find-file gets invoked. It probably gets screwed up if there's more than three spaces in the path/filename.
Download a compiled copy here.
Thanks to George R. Young for this tip. (ag136 AT freenet.carleton.ca)
IF you see strange behavior related to something that appears to be an automatic periodic function in notGNU and you are running Windows 2000, perhaps this link addresses your concern.
Microsoft Knowledge Base Article - 322913:
WM_TIMER Messages May Stop Being Delivered to Programs in Windows 2000
As always, feel free to send an email with questions.
cheers
Julie Melbin, 12/2002
Please don't link to the image on this site, but copy it to your server. Thanks.