Re: Programmatically changing "Open using Rosetta" flag
Re: Programmatically changing "Open using Rosetta" flag
- Subject: Re: Programmatically changing "Open using Rosetta" flag
- From: Dirk Stegemann <email@hidden>
- Date: Wed, 10 May 2006 21:20:25 +0300
Hello all,
as the issue about "lsregister" not recognising an application's
changed info.plist files is still not solved, I'm resending the
message; maybe somebody is able to share some sample code / script /
whatever that successfully demonstrates how to programmatically
change an application's "Open using Rosetta" flag on a shipping Intel-
Mac?
Best regards,
Dirk Stegemann
Am 16.03.2006 um 13:37 schrieb Dirk Stegemann:
To summarise:
Calling "lsregister -f" doesn't help to make LaunchServices
recognise the application's info.plist flag...
I believe I'm doing something wrong here -- is anybody able to
verify that lsregister works the way it has been explained here?
I'd appreciate to hear that I simply failed to understand the
concept of LaunchServices.
Maybe there are additional steps to be performed for the
registration process to take effect?
To verify, you can try the following:
- Open "/Applications/TextEdit.app/Contents/Info.plist"
- Add the new "LSPrefersPPC" sibling and set it to boolean value "NO"
- Open up TextEdit's Finder info and activate option "Open using
Rosetta"
- Open Terminal window and type
you% /System/Library/Frameworks/ApplicationServices.framework/
Versions/Current/Frameworks/LaunchServices.framework/Support/
lsregister -f -v /Applications/TextEdit.app
- optionally, restart Finder, restart Computer, or do whatever you
think might help to get the new flag recognised by LS
- Open up TextEdit's Finder info to verify the state of option
"Open using Rosetta"
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden