• 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
Re: Creating a folder on the desktop (recap)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating a folder on the desktop (recap)


  • Subject: Re: Creating a folder on the desktop (recap)
  • From: Martin Orpen <email@hidden>
  • Date: Fri, 09 Sep 2005 00:05:47 +0100

on 8/9/05 13:51, patrick machielse at email@hidden wrote:

> Still this situation remains a bit problematic; when I need
> both the label and the visibility of a folder I'll need to query both
> System Events and Finder? Easy once you know, I guess.

Why's that? Do you have a lot of invisible folders with labels? :-)

System Events makes better empty files than the Finder. Why does the Finder
insist on wasting 286 bytes when doing the equivalent of "touch"?

tell application "System Events"
    set foo to make new file at end of desktop folder
end tell
tell application "Finder"
    set bar to make new file
end tell
size of foo & size of bar

-->{ 0.0,  286.0}

--
Martin Orpen



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: asking Finder to create a new empty file
      • From: Dave Lyons <email@hidden>
    • Re: Creating a folder on the desktop (recap)
      • From: "John C. Welch" <email@hidden>
References: 
 >Re: Creating a folder on the desktop (recap) (From: patrick machielse <email@hidden>)

  • Prev by Date: Re: list as string - is this a bug?
  • Next by Date: Re: Creating a folder on the desktop
  • Previous by thread: Re: Creating a folder on the desktop (recap)
  • Next by thread: Re: Creating a folder on the desktop (recap)
  • Index(es):
    • Date
    • Thread