• 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
change creator type
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

change creator type


  • Subject: change creator type
  • From: patrick porto <email@hidden>
  • Date: Wed, 3 Sep 2003 17:45:08 -0700 (PDT)

Dear,
I wrote a small script to change the creator of a
file:

...
tell application "Finder"
set creator type of file myfile to "Sil1"
end tell

Sil1 is the signature of a java application built with
jar bundler.
The script compiles and runs fine, except that the
creator doesn't change to Sil1.
Also if I change the creator from Finder/File/Get
info, it changes to the Sil1 application, but if I
click on Change All, the 'Open with' window switches
to '.Trash'.

Any idea?
Many thanx.

Patrick


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
_______________________________________________
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: change creator type
      • From: Walter Ian Kaye <email@hidden>
  • Prev by Date: Re: How to open Package folder?
  • Next by Date: Re: tell application "FileMaker Pro/Developer"
  • Previous by thread: Searching for multiple files
  • Next by thread: Re: change creator type
  • Index(es):
    • Date
    • Thread