Re: Anybody knows
Re: Anybody knows
- Subject: Re: Anybody knows
- From: Andre Martins <email@hidden>
- Date: Fri, 27 Jul 2001 15:27:02 -0300
- Organization: Actech
Thanks
It worked
You said that Desktop Folder is a hidden folder. How can i change this.
How can I see the desktop folder in my stratup disk tree?
Jack Morrison wrote:
>
>
Andre martin wrote:
>
>
>Hi
>
>I'm trying to count the number of itens in my desktop folder, but the
>
>number is wrong.
>
>The code that I'm using:
>
>
>
> tell application "Finder" to count items of "desktop folder"
>
> set x to result
>
> display dialog x
>
>
>
>He answers 14, but that's 61 files and folders and aliases....
>
>Is there anything wrong with my code or the word "items" don't refer to
>
>files, folders, aliases... ?
>
>By the way, Anyone knows where there's a great dictionary of applescript?
>
>
>
>
The desktop folder is actually a hidden folder within the root folder
>
of your startup disk.
>
>
Your code should probably read
>
>
tell application "Finder" to count items of folder
>
"Nameofstartupdrive:desktop folder"
>
set x to result
>
display dialog x
>
>
Jack
>
--
>
--------------------------------------------------------------------------
>
Jack Morrison <email@hidden> Multipurpose Intelligent
>
http://www.mBase.com Publishing Solutions
>
P:780-945-4602
>
F:780-421-8256 mBase...Enjoy the Freedom
>
--------------------------------------------------------------------------
>
_______________________________________________
>
applescript-users mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/applescript-users
--
Atenciosamente
Andre Martins