• 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: Make new folder with icon from image?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Make new folder with icon from image?


  • Subject: Re: Make new folder with icon from image?
  • From: Graff <email@hidden>
  • Date: Sat, 20 Dec 2003 15:26:10 -0500

Quite a few people have asked this and the overall opinion is that it can't be done via AppleScript, at least not without an osax or an application - if there is one out there that gives this type of functionality. That example application that you mentioned is not scriptable so you would have to either turn the example code into an osax or add scriptability to it.

The standard way to get around this limitation is to hand-create a folder with the image already on it, store it somewhere, and then duplicate it whenever you need another folder with that image on it. It's kind of like making templates out of folders.

- Ken

On Dec 20, 2003, at 10:55 AM, Steen wrote:

Hi,

I have been trying for several days now to figure out how to make a new
folder with icon from a image.

I did also try the Extra Suites, but get an error.
See script at bottom.
I'm using OSX

My equestrian is, does anyone now about or have a applescript or something
else that make a folder with icon from a images that is stored in a folder.

Is it possible for applescript to do stuff like this?

IconFamily class how can I use it in applescript or is this only for coca?
(http://homepage.mac.com/troy_stephens/software/objects/IconFamily/)


thanks very much for any info...

Best regards
Steen


-- Script

set theFile to ""
set thefolder to ""

set theFile to (choose file with prompt "choose file ") as alias
set thefolder to (choose folder with prompt "choose folder ") as alias


tell application "Extra Suites"

create thumbnail icon for theFile
transfer icon from theFile to thefolder

end tell
_______________________________________________
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.

  • Follow-Ups:
    • Re: Make new folder with icon from image?
      • From: Steen <email@hidden>
References: 
 >Make new folder with icon from image? (From: Steen <email@hidden>)

  • Prev by Date: Scripts via rules in Mail
  • Next by Date: Re: Sorting IP addresses
  • Previous by thread: Make new folder with icon from image?
  • Next by thread: Re: Make new folder with icon from image?
  • Index(es):
    • Date
    • Thread