• 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: how to set 32-bit or 64-bit mode for a program?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >how to set 32-bit or 64-bit mode for a program? (From: Jim Weisbin <email@hidden>)

  • Prev by Date: how to set 32-bit or 64-bit mode for a program?
  • Next by Date: Re: how to set 32-bit or 64-bit mode for a program?
  • Previous by thread: how to set 32-bit or 64-bit mode for a program?
  • Next by thread: Re: how to set 32-bit or 64-bit mode for a program?
  • Index(es):
    • Date
    • Thread