Re: selection bug in Finder
Re: selection bug in Finder
- Subject: Re: selection bug in Finder
- From: Luther Fuller <email@hidden>
- Date: Thu, 17 Jan 2013 09:18:54 -0600
Recall that I'm having a problem with a handler that begins …
on getSelection() tell application "Finder" activate set selList to get selection
I added a few lines of code to get this ...
on getSelection() tell application "Finder" activate set win1 to window 1 try set folder2 to target of window 2 close window 2 open window of folder2 set index of win1 to 1 end try set selList to get selection
I tested with this change and found that my problem has gone away.
But, I don't really like this fix. I've tried some simpler code, such as …
set index of window 1 to 1
but that didn't work. I'll try to improve this later.
|
_______________________________________________
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