Re: Pausing a script
Re: Pausing a script
- Subject: Re: Pausing a script
- From: "Eric Phillips" <email@hidden>
- Date: Tue, 04 Jun 2002 12:36:31 -0400
Matthew,
I guess now I get to show my ignorance. I don't fully understand your script below. First the statement 'on clicked theObject' shouldn't that be 'on clicked (theObject)'? if not what is the difference. What exactly is theObject in this case? Does theObject contain thebutton in theWindow with theText? Your offer about an AS Studio app is generous but I know nothing about AS Studio so I can't tell you how much over kill that may be. Thanks for your help. I hope my questions are not too annoying.
Eric
>
>> Matthew Stuckwisch <email@hidden> 06/03/02 05:50PM >>>
You could use the following code assuming you have one button (named
"theButton") in a window (named "theWindow") with a text field (named
"theText" ... names for simplicity's sake)
property a : 1
on clicked theObject
if a = 1 then
excelScript()
set a to 2
set contents of text field "theText" of window "theWindow" to
"Please verify the files and press the button."
else
FMPScript()
set a to 1
set contents of text field "theText" of window "theWindow" to
"Press the button to begin the script."
end if
end clicked
Matthew Stuckwisch
[AIM/MSN]{GuifaSwimmer} | [Yahoo!]{SapphireTree} | [ICQ]{137477701}
[IRC]{guifa / G}(esperNET / irc.massinova.com)
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.