Re: Invisibles
Re: Invisibles
- Subject: Re: Invisibles
- From: Luther Fuller <email@hidden>
- Date: Tue, 13 Oct 2009 17:58:23 -0500
This, apparently, is the work-around I have to use. It seems that while the Finder errors on paths ending with an invisible item, it isn't bothered by paths containing an invisible folder as long as it's not the last item. This is what I tried with success ...set selfRef to (path to me) tell application "Finder" set locContainer to (container of selfRef) as alias set invisPath to (locContainer as text) & ".invisibleFolder:Untitled.rtf" end tell try tell application "Finder" set aliasFileAlias to invisPath as alias (original item of aliasFileAlias) as alias -- THIS WORKS end tell on error display dialog "Error" end try
On Oct 13, 2009, at 2:49 PM, Luther Fuller wrote: The Finder cannot do this ...
set orgItem to (original item of aliasFileAlias) -- ERRORS HERE
and System Events doesn't know about 'alias file' or 'original item', so is no help. I looked at the 'GetFileInfo' man page, but that's no help either.
Anyone know how to get the original item of an invisible alias file?
Without making it visible! Which, I suppose, will be the work-around.
|
_______________________________________________
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