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

Re: change creator type


  • Subject: Re: change creator type
  • From: Walter Ian Kaye <email@hidden>
  • Date: Wed, 3 Sep 2003 18:35:54 -0700

At 05:45p -0700 09/03/2003, patrick porto didst inscribe upon an electronic papyrus:

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.

Maybe you just need to send an 'update' event afterwards?
Are you sure myfile has the right path?

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'.

::scratching head:: That's pretty weird.


-boo
_______________________________________________
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.

References: 
 >change creator type (From: patrick porto <email@hidden>)

  • Prev by Date: Re: System Date Format
  • Next by Date: Update on my previous email re. changing creator type
  • Previous by thread: change creator type
  • Next by thread: Update on my previous email re. changing creator type
  • Index(es):
    • Date
    • Thread