Re: Bad script, good script
Re: Bad script, good script
- Subject: Re: Bad script, good script
- From: "R. Nelson Byrne" <email@hidden>
- Date: Tue, 04 Sep 2012 17:30:35 -0700
Luther Fuller has explained my puzzle: System Events works if told to move a "disk item", as it says in its dictionary. In the System Events world "disk item" is one element of "alias", but "alias" is not an element of "disk item". In fact, although "alias" has lots of possible elements, "disk item" has none at all.
I told System Events to move an "alias" and it failed. Didn't complain, didn't throw an error or make a log entry, just moved on.
Interestingly, the place to which it moves the "disk item" is a location specifier, undefined in its dictionary. Using an alias is acceptable for this purpose.
A learning experience.
Thanks to all who contributed to solving this puzzle.
Nelson
_______________________________________________
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