Yes you need to declare the handler ("on process text arg") at the top
level I think (as far as I can tell from the script, you should have
no need for the using terms clause)On Feb 10, 5:55 pm, Patrick Robertson <[email protected]> wrote: > Have you tried running the script from within the AppleScript Editor > (removing the first and last two lines) to make sure the script works > properly? > > Can you run other AppleScripts from within Quicksilver? Or are all > AppleScripts giving you errors? > > On 10 February 2012 15:30, bgarlock <[email protected]> wrote: > > > > > > > > > Running B64(3915), and I put the following AppleScript in ~/Library/ > > Application Support/Quicksilver/Actions/Add to Tracks.scpt (added > > XXXXXX for my username/api token) > > > {code} > > using terms from application "Quicksilver" > > on process text ThisClipping > > > set myUsername to "XXXXXX" > > set myToken to "XXXXXX" > > set myContextID to 5 (* @Computer *) > > > tell application " > >http://garlockprintingtracks.tklapp.com/backend/ > > api" > > set returnValue to call xmlrpc {method > > name:"NewTodo", parameters: > > {myUsername, myToken, myContextID, ThisClipping}} > > end tell > > tell application "Quicksilver" > > show notification "Tracks: action added." > > end tell > > end process text > > end using terms from > > {code} > > > And when I try to use that AppleScript action, nothing happens and I > > just get this in the console log: > > > 2/10/12 10:26:14.452 AM Quicksilver: AppleScript Action: No handler? > > Aborting... > > > Any ideas how I can further troubleshoot this? > > > Many thanks, > > > Bruce
