Re: New sticky with content
Re: New sticky with content
- Subject: Re: New sticky with content
- From: Ed Stockly <email@hidden>
- Date: Tue, 5 Feb 2008 18:39:51 -0800
>>>I am trying to write an AppleScript that starts up a new sticky and
writes some new content into it.
>>> At the moment my script looks like...
You are so close!
Try this:
-----------
set myValue to "Hello world"
tell application "System Events"
tell application "Stickies" to activate
tell process "Stickies" to keystroke "n" using command down
tell process "Stickies" to keystroke myValue
end tell
-----------
>>>PS Please be gentle I am an AppleScript newbie.
Well you've come to the right place.
You're starting off by scripting an unscriptable application
("Stickies") which is not appleScript at its best.
If you really want to learn applescript try working with some
scriptable applications.
And this list is a good place to go for guidance.
HTH
ES
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden