|
|
Apple script
|
|
|
|
Grizzled Veteran
Join Date: Apr 2000
Location: Athens, Greece
Status:
Offline
|
|
I'm making an apple script which uses dialog boxes.How can I change the "OK" and "Cancel" options in the dialog boxes to my options????Is it possible with applescript?Also how can I assign certain things in the OK and Cancel buttons???An example would be appreciated cause I am a beginner in Applescript?
Many thanks
[This message has been edited by phobos (edited 03-30-2001).]
|
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Feb 2001
Status:
Offline
|
|
display dialog (your string) buttons {(list of up to 3 buttons, as strings)}
Did you even know that there was an AppleScript on these forums?
(14)
|
|
|
|
|
|
|
|
|
Grizzled Veteran
Join Date: Apr 2000
Location: Athens, Greece
Status:
Offline
|
|
OK "applescript" one more time please....
I wrote
display dialog ".........." and then
buttons "..." "..."
It said it wanted end of line in the " position.
|
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Jan 2001
Location: Bruges, Belgium
Status:
Offline
|
|
an example with some more options
display dialog "write message here" with buttons {"no way", "okido"} default button "okido" default answer ""
use 'default answer' for input
-c
|
-c
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|