Re: selection bug in Finder
Re: selection bug in Finder
- Subject: Re: selection bug in Finder
- From: Luther Fuller <email@hidden>
- Date: Wed, 16 Jan 2013 16:46:03 -0600
On Jan 16, 2013, at 4:10 PM, Robert Poland wrote: On Jan 16, 2013, at 1:57 PM, Luther Fuller < email@hidden> wrote: I have a handler that starts ...
on getSelection()
tell application "Finder"
activate
set selList to get selection
Works as expected for me in Mountian Lion, OS 10.8.2.
There's something really strange going on in my script. I can't reproduce the problem in a simple script. in other words, it works as expected for me, too.
I use getSelection() at the beginning of my script, so I comment out all the unused code to make a fairly simple script … and it works correctly.
When I put the other code back in the script and compile, the script fails on first try, but will work properly on the second try. But none of the temporarily removed code is used in the test.
|
_______________________________________________
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