hi,
could someone please put the code from “Copy Selection.scpt” found in ~/Library/Scripts/Devonthink Pro up here?
i changed mine and now i cant seem to get it back. ‘install.addons’ doesnt seem to restore it.
thank you
hi,
could someone please put the code from “Copy Selection.scpt” found in ~/Library/Scripts/Devonthink Pro up here?
i changed mine and now i cant seem to get it back. ‘install.addons’ doesnt seem to restore it.
thank you
-- Copy Selection
-- Created by Christian Grunenberg on Nov Mon 21 2005.
-- Copyright (c) 2005-2009. All rights reserved.
set this_app to (path to frontmost application as string)
try
if this_app does not contain "DEVONthink Pro" then
tell application this_app to activate
tell application "System Events"
keystroke "c" using {command down}
delay 0.5
tell application id "com.devon-technologies.thinkpro2" to paste clipboard
end tell
end if
on error error_message number error_number
if error_number is not -128 then display alert "DEVONthink Pro" message error_message as warning
end try
perfect, thank you