Re: Why is it?
Re: Why is it?
- Subject: Re: Why is it?
- From: Emmanuel <email@hidden>
- Date: Sat, 21 Oct 2006 15:07:28 +0200
At 5:12 PM +0100 10/20/06, Timothy Bates wrote:
Half tongue in cheek,
Maybe applescript needs a new construct "with getting"
Then everything inside a "with getting"-"end getting" pair is coerced.
I tested the new feature OMM:
really get
tell app "Finder" to set name of f to "newfilename"
end getting
--> error: can't set "oldfilename" to "newfilename"
set aList to {1, 2, 2.5}
really get
set item 3 of aList to 3
end getting
--> error: can't set 2.5 to 3
set x to "hello world"
really get
set x to "hi tim"
end getting
--> error: can't set "hello world" to "hi tim"
Not sure I'll be able to use the new feature very soon.
Emmanuel
_______________________________________________
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/mailman//archives/applescript-users
This email sent to email@hidden