2007-10-14 05:33:00 +00:00
|
|
|
using terms from application "Quicksilver"
|
|
|
|
|
on process text ThisClipping
|
2014-08-14 21:05:05 -05:00
|
|
|
|
2007-10-14 05:33:00 +00:00
|
|
|
set myUsername to "<%= current_user.login %>"
|
|
|
|
|
set myToken to "<%= current_user.token %>"
|
|
|
|
|
set myContextID to <%= context.id %> (* <%= context.name %> *)
|
2014-08-14 21:05:05 -05:00
|
|
|
|
2012-04-20 14:38:00 +02:00
|
|
|
tell application "<%= root_url %>backend/api"
|
2007-10-14 05:33:00 +00:00
|
|
|
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
|
2014-08-14 21:05:05 -05:00
|
|
|
end using terms from
|