Click the dialog button [UPS]
Click the dialog button [UPS]
- Subject: Click the dialog button [UPS]
- From: email@hidden
- Date: Mon, 29 Jul 2002 11:30:42 EDT
Dannis,
If you are already using APC brand UPS's, specifically the
ones with monitoring capabilities, then there is a version
of PowerChute from APC to handle this sort of thing for
you. AppleScript is useful for quiting most apps, but there
can be applications which do not support AppleScript (or
don't support the quit command explicitly, such as FoxPro).
Similiarly, QuicKeys can be scripted to go through a quit
command sequence for any application, and can be triggered
by applescript, thus giving you coverage for those apps
which don't support AS or the 'quit' command through AS.
Best Wishes
=-= Marc Glasgow
Dannis Wrote:
>
>
Apple-script supports creating a dialog using command
>
"display dialog".
>
>
Now if I was prompted with a dialog , can i use
>
apple-script to click the button of the dialog. (eg. button
>
"OK" or "Cancel")
>
>
I'm dealing with a UPS project. If there is a power failure
>
, my application is going to close any other application
>
and save all modified files. Is apple-script a good
>
solution?
>
>
Any suggestion would be much applicated.
_______________________________________________
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.