• 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
Re: NoteTaker script - help needed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NoteTaker script - help needed


  • Subject: Re: NoteTaker script - help needed
  • From: email@hidden
  • Date: Fri, 23 Jul 2010 03:39:58 -0700

Thanks Mark, good questions. I have (amazingly) figured out the
solution, which is very simple:

tell application "NoteTaker"
	tell notebook 1
		set myText to selected text of selected entry of current
		page
		set the name of current page to myText
	end tell
end tell


On Fri, 23 Jul 2010 06:27 -0400, "Mark J. Reed" <email@hidden>
wrote:
> 1. Where is the "parseText" handler defined, and what does it do?
> 2. Don't you need "current page" instead of "the page" in the "set
> name" statement?
>
>
> On Friday, July 23, 2010,  <email@hidden> wrote:
> > I have this script to set the name of the current page in NoteTaker
> > which partly works:
> >
> > tell application "NoteTaker"
> >         tell notebook 1
> >                 try
> >                         set myText to selected text of selected entry of
> >                         current page
> >                         parseString(myText) of me
> >                         set newText to result
> >                         set the name of the page to newText
> >                 end try
> >         end tell
> > end tell
> >
> >
> >
> > This script copies the selection but I get no result after that. How do
> > I change the script to get the current page renamed?
> >
> > Thanks for any help.
> >  _______________________________________________
> > 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
> >
>
> --
> Mark J. Reed <email@hidden>
>
 _______________________________________________
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

References: 
 >NoteTaker script - help needed (From: email@hidden)
 >Re: NoteTaker script - help needed (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: Re: mail.app Getting an RSS mailbox
  • Next by Date: Re: Dashboard script needs some help
  • Previous by thread: Re: NoteTaker script - help needed
  • Next by thread: "outgoing message" and "message" classes in Mail's AppleScript dictionary
  • Index(es):
    • Date
    • Thread