• 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
Palm Desktop ToDo Priorities
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Palm Desktop ToDo Priorities


  • Subject: Palm Desktop ToDo Priorities
  • From: Adrian Smith <email@hidden>
  • Date: Mon, 21 Jun 2004 15:12:59 +1000

Hi all,
I need some help setting priorites in to do items in Palm Desktop. I want to change the priority on a group of todo at once and I've been trying to modify some scripts someone else wrote to change the due dates.

The original script is...


tell application "Palm Desktop"
set moveDays to ((text returned of (display dialog "Move ahead how many
days?" default answer "7")) as number) * days
set overdueTasks to selection
--set overdueTasks to to dos whose completed is false and due date is less than ((current date) - 1 * days)

repeat with eachTask in overdueTasks
set taskDate to due date of eachTask
set due date of eachTask to (taskDate + moveDays)
end repeat
end tell



I've been trying to change that to something that will change the priorities. The dictionary says the values for the priority property are highest/high/medium/low/lowest but whenever I use those I get an error that Palm Desktop can't set the priority to that. For example the following script compiles and give an error...



tell application "Palm Desktop"
set ChangedTasks to selection
repeat with eachTask in ChangedTasks
set priority to high
end repeat
end tell



I'm probably doing something very basic wrong but I've not done any scripting before so I'm really struggling here...

Thanks in anticipation,

Regards,
Adrian Smith
_______________________________________________
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.


  • Follow-Ups:
    • Re: Palm Desktop ToDo Priorities
      • From: Chris Page <email@hidden>
  • Prev by Date: Re: where to put files owned by the applicationmm, SOLVED
  • Next by Date: Re: where to put files owned by the application
  • Previous by thread: Re: Unicode issue (jj)
  • Next by thread: Re: Palm Desktop ToDo Priorities
  • Index(es):
    • Date
    • Thread