Re: how to set 32-bit or 64-bit mode for a program?
Re: how to set 32-bit or 64-bit mode for a program?
- Subject: Re: how to set 32-bit or 64-bit mode for a program?
- From: Fabrizio Costantini <email@hidden>
- Date: Sun, 01 May 2011 16:04:29 +0200
El 01/05/2011, a las 15:42, Jim Weisbin escribió:
> I'd like to make an applescript that can switch Logic to start up in either 32-bit mode or 64-bit mode. This is normally done through the Finder "Get Info" window. I tried to get info for Logic in applescript, there doesn't seem to be a way to get that info. I have looked around and found no documentation on this. Anyone know where this information is stored and how to manipulate it?
It's stored inside the file ~/Library/Preferences/com.apple.LaunchServices.plist. Probably you could manipulate it using the "defaults" shell command, but I don't know the correct syntax in order to do that. Check the differences when you switch from an architecture to the other, using this command in Terminal:
defaults read com.apple.LaunchServices
and see if you can figure out a way to manipulate the file. Another option, maybe the easiest one, could be to create two separate copies of the file, one with the 32-bit mode set and the other one with the 64-bit mode: it would be easy to rename the files using an Apple Script, so that every time you launch Logic the proper file is read.
Cheers,
Fabrizio _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden