scripting applescript menu-clicking questions
Sarah Reichelt
sarah.reichelt at gmail.com
Thu Mar 25 20:03:06 EDT 2010
> I am having trouble with getting applescript to click on menu choices
> in Safari (there is nothing in the dictionary for what I'm trying to
> do). Does anyone have any suggestions for how to handle these things?
>
> Secondly, will Safari be able to do these actions in the background?
> I mean, in the script I'm currently working on, Safari is told to
> "activate", then everything else happens. Can I script menu
> actions/button clicks without Safari becoming visible?
I am pretty sure that you can do this without the "activate" line.
Scripting menu selections is weird in AppleScript, but here is a good
article about it:
<http://www.macosxhints.com/article.php?story=20060921045743404>
Don't forget to activate "Enable access for assistive devices" in the
"Universal Access" system pref.
Cheers,
Sarah
More information about the use-livecode
mailing list