Re: Capturing Code Snippets 2
Re: Capturing Code Snippets 2
- Subject: Re: Capturing Code Snippets 2
- From: Reinhold Penner <email@hidden>
- Date: Sat, 5 Apr 2003 11:45:02 -1000
Very nice, it works well as an ASCII picture for the ">" character :-)
-Reinhold
On Saturday, Apr 5, 2003, at 11:20 Pacific/Honolulu, Craig Sutherland
wrote:
Phillipe-
This is most kludgey, but works. Could be presented with more elegance.
This was saved as a compiled script in ~/Library/Scripts/ and is
accessible through the Script Menu when the Mail.app is active. The
script simply transfers selected text in a message window to a new
TextEdit doc.
tell application "System Events"
tell application process "Mail"
tell menu bar 1
tell menu "Mail" --(2)
tell menu item "Services" --(6)
tell menu "Services" --(1)
tell menu item "TextEdit" --(19)
tell menu "TextEdit" --(1)
click menu item "Open Selection" --(2)
end tell
end tell
end tell
end tell
end tell
end tell
end tell
end tell
Craig
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.