Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

Executing Scripts in Windows

 [1/4] from: chalz:earthlink at: 1-Aug-2002 1:05


Greetings folks. Here's my dillema. I have it set so when I double-click on a .r file, it automatically executes REBOL with that script - eg, e:\code\rebol\core\rebol.exe file.r .. However, something in my settings, I presume, dictates that, instead of the REBOL console just staying open, it flashes on the screen and closes - it loads the script, but doesn't give me a prompt. Using Windows 98SE here. Anyone have ideas? My current settings, for when 'Core' is the default action, the info says: Action: Core Application used to perform action: E:\code\rebol\core\rebol.exe -q "%1" And "Use DDE" is unchecked. Any ideas? Thanks all. --Charles

 [2/4] from: anton::lexicon::net at: 2-Aug-2002 4:39


Just put halt at the end of your script if you want it always to give you a prompt afterwards. Anton.

 [3/4] from: ptretter:charter at: 1-Aug-2002 14:05


Sound like the script may be processing but might not have need to output to console. You could put a 'halt statement as the last line of the script your processing so that it ends with the console open. That way you can scroll to see if any messages were printed in the console window. Paul Tretter

 [4/4] from: chalz:earthlink at: 1-Aug-2002 19:21


Hmm.. Kind of the crow-bar method, but is the only one I can think of as well. Fah, silly Windows. ;) Thanks Anton, Paul. :)