I am looking for an applescripter to help me.
I have a script which works perfectly only when i bring up the script
in quicksilver's first pane and execute the run action in the second
pane. I have tried setting up a trigger for it after placing it in the
appropriate ("Actions") folder and i have also tried running it from
the script menu. Neither of them work. I am using Mac OS 10.5 and QS
B54(3815).
I want to know what modifications are to be done to the script so that
a trigger can be setup for it.
What does QS's run action do something different that makes the script
work?
The purpose of the script is to change the "Spelling and Grammar"
language to "Francais".
Use it with applications like Safari, TextEdit etc
How to use: Open the application. Bring up script in quicksilver and
execute run action.
here is the script:
tell application "System Events"
set {name:theApp, bundle identifier:theIdentifier} to (get 1st
application process whose frontmost is true)
end tell
tell application "System Events"
tell process theApp
keystroke ":" using command down
tell window "Spelling and Grammar"
delay 1
click pop up button 1
keystroke "f" & return
click button 1
end tell
end tell
end tell