Re: tell app, name in string var
Re: tell app, name in string var
- Subject: Re: tell app, name in string var
- From: Doug McNutt <email@hidden>
- Date: Fri, 27 May 2011 18:21:01 -0600
At 09:39 +1000 5/28/11, Shane Stanley wrote, and I snipped:
>On 28/5/11 6:58 AM, "Thomas Fischer" <email@hidden> wrote:
>
>>>> the Finder is the authority for the existence of files
>>>
>>> What makes you say that?
>>
>> Because the Finder knows if a file exists
>
>Perhaps this is a linguistic fine point, but the Finder might be "an"
>authority -- it's certainly not "the" authority. In fact, for something like
>this, it's a poor choice. It's slow and unreliable, and the idea of System
>Events was to replace the Finder for this sort of thing.
>
<rant>
Finder is an Apple invention that deliberately obscures files that DO EXIST.
/etc is hidden away in /Private/etc in a deliberate attempt to keep ordinary users in the dark.
Last I knew it was quite impossible to ask finder to show the name of an application directory with the extension .app which is really there. It's even possible to have two files with the same apparent name in a directory if one of them is *.app.
I believe the /hidden file is no longer used but anything mentioned there was also never displayed in Finder.
Apple's intent is to deliberately obscure, using Finder, the files that Terminal.app makes available to those who are presumably trusted.
I still don't know if Finder really displays all of the /$HOME/.* files when asked. $HOME/.DSStore??
tell application "Finder" to open $HOME/.DSStore
"It's UNIX underneath. That makes it better than Classic." But we really don't really want you to use the UNIX tools.
</rant>
--
--> There are 10 kinds of people: those who understand binary, and those who don't <--
_______________________________________________
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