Ok, I will probably try the scripting list.
I finally remembered that the load button doesn't show when you choose
show all scripts by name.  I chose show global scripts and there it is!
Thanks.
Now, here is the text of this script. Can somebody tell me what is
wrong?

' Plays the default system beep
speak "here is the default beep "
sleep 2000
PlaySound "Default Beep"
sleep 2000
' Plays a custom wav file
speak "This is a crime sound!"
sleep 2000
PlaySound "c:\windows\media\crime.wav"
sleep 2000 

-----Original Message-----
From: Aaron Smith [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 21, 2008 10:40 AM
To: Jeff Weiss
Cc: [email protected]
Subject: Re: attempting to try scripting

Jeff Weiss wrote:
> First am I right that the only way to add your own script to test it
is 
> to create a pagage and then install that package?

You don't have to. In the Script Manager, there's a Load button where 
you can load a script manually. In fact, anyone developing a script 
would use this method until they get their script finalized. Especially 
if you run your scripts from somewhere other than the default user 
profile directory.

> One is a version of the play sounds set file from the manual.  This 
> seems to work for playing a named sound "crime.wav" that I put in
there, 
> but not for the default beep.

Can you provide a code example?

> The other set file is a slight modification of the script template set

> file.  This seemed to run; however, now, I have 14 set files that show

> errors. I think this relates to the homer shared object.

That is something you should report to the script author.

> Question, does the gwtoolkit and the homer shared object autimatically

> load first?

There is no order to loading. All scripts (global ones, anyway) get 
blasted through all together. That is why scripts using those shared 
object scripts need to have logic to determine when the shared objects 
become available.

By the way, you might want to move this discussion over to gw-scripting,

as it's much more suited for this kind of discussion.

Aaron

-- 
To insure that you receive proper support, please include all past
correspondence (where applicable), and any relevant information
pertinent to your situation when submitting a problem report to the GW
Micro Technical Support Team.

Aaron Smith
GW Micro
Phone: 260/489-3671
Fax: 260/489-2608
WWW: http://www.gwmicro.com
FTP: ftp://ftp.gwmicro.com
Technical Support & Web Development

If you reply to this message it will be delivered to the original
sender only.  If your reply would benefit others on the list and
your message is related to GW Micro, then please consider sending
your message to [email protected] so the entire list will receive it.

All GW-Info messages are archived at http://www.gwmicro.com/gwinfo, and can be 
searched through and sorted using the search
form at the bottom of the page.

If you wish to unsubscribe from this list, send a message to
[EMAIL PROTECTED] and include leave gw-info in the body
of the message.

Reply via email to