Re: Palm Desktop 4.1 (creating a memo)
Re: Palm Desktop 4.1 (creating a memo)
- Subject: Re: Palm Desktop 4.1 (creating a memo)
- From: Adrian Smith <email@hidden>
- Date: Wed, 30 Apr 2003 23:51:25 +1000
At 3:25 AM -0700 30/4/03, Chris Page wrote:
So, your script relies on 'make memo' opening the memo detail window
so that you can set the title of 'memo 0', and that is no longer
happening. The best way to rewrite your script is to just indicate
the desired title when creating the memo:
make memo with properties {title:"Handheld Note: To Do Item"}
Or, for something closer to your script, you could use the result of
'make memo':
make memo
set the title of the result to "Handheld Note: To Do Item"
This didn't used to work as-is in previous versions, because Palm
Desktop returned "object records" instead of references. Now it
behaves in the expected way, and "object records" have been removed
altogether. 'make memo', for example, might now return:
-> memo id 42
--
Chris Page - Software Wrangler - Palm, Inc.
Thanks Chris!
That is very helpful but I have one very basic question still
to ask (sorry, but I'm entirely new to scripting) - what is the
simplest way to have the detail window open at the end of the script?
Even better would be to have it open and the "dialog" for attaching
to an existing item also open, ready for the tab to be dragged to its
target...
Or best yet, have it automatically attached to the frontmost (or
selected) address/to do item/event. I have no idea if this is
possible and even less idea about how to implement it - but I'm sure
a lot of people would have a use for such a script if it can be
written!
Adrian
_______________________________________________
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.