• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
[OFF (quite)]: Invisibles
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[OFF (quite)]: Invisibles


  • Subject: [OFF (quite)]: Invisibles
  • From: Emmanuel LEVY <email@hidden>
  • Date: Wed, 14 Oct 2009 01:38:06 +0200

Not much to see with AppleScript, but I've experienced much trouble zipping folders with invisible files. Mine were the ._filename files that sometimes stand for the resource fork on non-Mac systems. Zipping never ends, the progress bar stops before the end, you have to click "stop". If you are lucky this lets a perfectly valid zip file - valid except that it did not retain the invisible files. If you're less lucky clicking stop leaves nothing, you have to split the folder into pieces until you identify the culprit(s). That said, if you're really lucky, you don't need zipping whatever, you don't have to work at all, you're chilling on your yacht, listening to good music, discussing with friends and/or drinking sodas, and hopefully you don't read this.

Emmanuel


On Oct 14, 2009, at 1:08 AM, Paul Berkowitz wrote:

Looks like a good workaround.

--
Paul Berkowitz


From: Luther Fuller <email@hidden> Date: Tue, 13 Oct 2009 17:58:23 -0500 To: AppleScript-Users <email@hidden> Subject: Re: Invisibles

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 (applescript- email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users


This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (applescript- email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users


This email sent to email@hidden

_______________________________________________ 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
References: 
 >Re: Invisibles (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: Turning Off Auto-correcting In TextEdit
  • Next by Date: Re: Turning Off Auto-correcting In TextEdit
  • Previous by thread: Re: Invisibles
  • Next by thread: Re: Invisibles
  • Index(es):
    • Date
    • Thread