Re: Folder Access, invisibility
Re: Folder Access, invisibility
- Subject: Re: Folder Access, invisibility
- From: Michelle Steiner <email@hidden>
- Date: Mon, 2 Apr 2007 15:41:56 -0700
On Apr 2, 2007, at 1:58 PM, Arnaud Nicolet wrote:
Well, you're changing the name of the folder.
I think it would be more appropriate to change the visible
property (every item in the Finder has that property).
OK, try this:
set a to choose folder
tell application "System Events"
set visible of a to false
end tell
Only thing is that after the script is run, the folder has to be
selected, it's enclosing folder closed and then reopened. If the
folder isn't selected, it doesn't work for some reason.
Fine. Does the Update command (Finder) not work for this issue?
It didn't make any difference whether it was in the script or not.
--
“America... just a nation of two hundred million used car salesmen
with all the money we need to buy guns and no qualms about killing
anybody else in the world who tries to make us uncomfortable.”
-- Hunter S. Thompson
_______________________________________________
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