Update on my previous email re. changing creator type
Update on my previous email re. changing creator type
- Subject: Update on my previous email re. changing creator type
- From: patrick porto <email@hidden>
- Date: Wed, 3 Sep 2003 18:58:47 -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'.
To be more complete re. the last problem, I had the
creator be an
application, which I trashed (with Finder). After
that, clicking on the file was still opening it with
the same app, but 'ps ax' revealed that the app was
actually in my .Trash folder. So I suppressed it.
After that, it is always reverting to .Trash if I
click on 'Change All'.
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.