TextEdit script
TextEdit script
- Subject: TextEdit script
- From: "B2 Fass-Holmes" <email@hidden>
- Date: 18 Jul 2005 05:08:40 -0700
Panther.9
Could someone please explain to me what is defective in the following AppleScript and what needs to be changed so that it functions properly when I select text in TextEdit and execute the script? It currently yields an error NSCannotCreateScriptCommandError (even though the script compiles successfully).
tell application "TextEdit"
activate
set font of selection to "Lucida Grande"
set size of selection to 11
end tell
Many thanks in advance!
Barry
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden