• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
New sticky with content
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

New sticky with content


  • Subject: New sticky with content
  • From: "Devraj Mukherjee" <email@hidden>
  • Date: Wed, 6 Feb 2008 09:49:06 +1100

Hi everyone,

I am trying to write an AppleScript that starts up a new sticky and
writes some new content into it. My script can start Stickies and
paste contents from the clipboard but what I really want to do is to
write the contents from a string (this string will finally be
generated out of my Cocoa app).

Can someone please give me an idea if I can do something like set
value of text area to "String"

Thanks a lot. At the moment my script looks like.

tell application "System Events"
	tell application "Stickies" to activate
	tell process "Stickies" to keystroke "n" using command down
	tell process "Stickies" to keystroke "v" using command down
end tell

PS Please be gentle I am an AppleScript newbie.

--
"I never look back darling, it distracts from the now", Edna Mode (The
Incredibles)
 _______________________________________________
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

  • Prev by Date: Re: Evaluating Double Byte
  • Next by Date: Re: strings, again and again
  • Previous by thread: Re: Unsubscribe
  • Next by thread: Re: New sticky with content
  • Index(es):
    • Date
    • Thread