I have som actions I've made myself, which work perfectly in LB 6.0.2.
But, if I install the latest LB 6.1 Nightly, they fail to run.
With LB 6.1 Nightly, if I press 'space' on my action, it shows the name of the action in Large Type.
If I press 'enter', it fails with:
Code: Select all
The script does not implement a handler named "run".
My script doesn't have a "run" handler, just "handle_string" which works fine in LB 6.0.2
Here is my default.scpt:
Code: Select all
-- take string from LaunchBar and run as command
on handle_string(theText)
try
set cmd to "ssh -t MyUser@" & theText & ".domain.com 'df -H | grep disk'"
--do shell script "echo " & input & " | tr a-z A-Z"
set output to (do shell script cmd)
tell application "LaunchBar"
set selection as list to output
--activate
end tell
on error e
tell application "LaunchBar" to display in large type "Error: " & e
end try
return output
end handle_string