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: Chris Page <email@hidden>
- Date: Wed, 30 Apr 2003 23:04:17 -0700
On Wednesday, Apr 30, 2003, at 20:38 US/Pacific, Paul Berkowitz wrote:
if he simply does what everyone else does:
set newMemo to make new memo
tell newMemo
--etc.
there won't be any confusion, and no need for 'contents of contents'.
I tried this, but I find I still have to use 'contents of contents'.
tell application "Palm Desktop"
set newMemo to make new memo
tell newMemo
set title to "test"
set contents to "this is cool" -- still get an error here
end tell
end tell
The event log in Script Editor 2.0 (beta) is:
tell application "Palm Desktop"
make new memo
memo id 8
set title of memo id 8 to "test"
set memo id 8 to "this is cool"
"Palm Desktop got an error: Can't set memo id 8 to \"this is cool\"."
There are lots of apps that use 'contents' as a property of some class
or another. You did fine.
Okay, thanks for the confirmation. I'm still wondering if it's such a
hot idea, though, since I don't see anyway to avoid having to use
'contents of contents' any time a variable is involved.
--
Chris Page - Software Wrangler - Palm, Inc.
_______________________________________________
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.