I got tired of copy-pasting AppleScripts I found online into the AppleScript Editor, so I made a simple Automator Service to do it for me. Just launch Automator, choose new service (that receives text), add the Run AppleScript action and replace the script body with this:
on run {input, parameters} tell application "AppleScript Editor" activate if contents of document 1 is "" then set contents of document 1 to (input as string) else make new document with properties {contents:(input as string)} end if end tell return input end run ...
Source: http://feeds.macosxhints.com/click.phdo?i=a097ba8516e864b9d442c19b156b5c2d
No comments:
Post a Comment