• 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
Setting and getting a file's icon in OS X?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Setting and getting a file's icon in OS X?


  • Subject: Setting and getting a file's icon in OS X?
  • From: "W. Eric Tyson" <email@hidden>
  • Date: Mon, 9 Sep 2002 23:57:31 -0600

Back in OS 9 it was possible to access the icon of files and folders like this:

--- begin simple script ---
set someFolderIPicked to (choose folder with prompt "select your folder") as string

set theFolder to "Some:Path:to:a:Folder"

set icon of folder (theFolder as string) to icon of folder someFolderIPicked

--- end ----

I think that's how it was done. anyway, i cannot seem to access the icons of files and folders in OS X 10.2. Does anyone know how to do this.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
  • Prev by Date: Re: Posix path and High Ascii Characters
  • Next by Date: Re: Need Help with merging Excel files
  • Previous by thread: Re: Bug in AS for Mac OS X?
  • Next by thread: Re: Setting and getting a file's icon in OS X?
  • Index(es):
    • Date
    • Thread