Mark,
Here are the steps to place an icon on your Desktop that
will automatically run a script...
1. You can load a script file from an
icon by right clicking on the Desktop and selecting New...Shortcut and Browsing
for the file.
2. Boston WorkStation's
default file extension is .bws, meaning that when you click on or run a file
with that extension, the WorkStation loads itself and then loads that
file.
3. When Boston WorkStation initially loads its script
file, it looks for a subroutine named autoexec and immediately runs it if it's
there.Rich McNeil
Boston Software Systems
866 653 5105
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark A. Loes
Sent: Monday, April 12, 2004 1:49 PM
To: [EMAIL PROTECTED]
Subject: Re: [Talk] Icon on desktop to open and run project file
Can you explain the first part a bit more? I have the command
Shutdown = True
set up at the end which Corinna helped me with.
This script will run on demand by the user once or more per day.
Thanks,
Mark
On Apr 12, 2004, at 9:12 AM, Rich McNeil wrote:
Mark,/smaller>/color>/fontfamily>
Rename the script you want to run on startup to: Sub autoexec and add a shortcut on the desktop to the .bws file./smaller>/color>/fontfamily>
After the script runs, you can shut it down with the command: Shutdown = True/smaller>/color>/fontfamily>
Rich McNeil/smaller>/fontfamily>
Boston Software Systems/smaller>/fontfamily>
866 653 5105/smaller>/fontfamily>
www.bostonworkstation.com/smaller>/color>/fontfamily>
From:/smaller> [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark A. Loes/smaller>
Sent:/smaller> Monday, April 12, 2004 11:54 AM/smaller>
To:/smaller> [EMAIL PROTECTED]/smaller>
Subject:/smaller> [Talk] Icon on desktop to open and run project file/smaller>
I want to set up an icon on the desktop to open and run a .bws file. Is there a parameter for this? This is to eliminate the need to have the user click on the play button. I am using
Taskbar = True
in the script which minimizes the workstation window after it starts running.
Thanks,
Mark
Mark A. Loes
Information Systems
Contra Costa Health Services
595 Center Ave Ste 210
Martinez, California US 94553
tel: (925) 313-6233
http://www.cchealth.org
[EMAIL PROTECTED]
