<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">The Open using Rosetta setting modifies the file: ~/Library/Preferences/com.apple.LaunchServices.plist<div><br></div><div>defaults read com.apple.LaunchServices shows an entry:</div><div><br></div><div><div> LSPrefsFatApplications = {</div><div> "com.apple.Safari" = (</div><div> <00000000 009a0003 00010000 c323458f 0000482b 00000000 00000023 0000727b 0000c2b0 8b4e0000 00000920 fffe0000 00000000 0000ffff ffff0001 00040000 0023000e 0016000a 00530061 00660061 00720069 002e0061 00700070 000f0014 00090053 00650072 00760065 00720020 00480044 00120017 4170706c 69636174 696f6e73 2f536166 6172692e 61707000 00130001 2f00ffff 0000></div><div><br></div><div>that corresponds to what is seen using Property List Editor. When the button is clicked off, this entry disappears. </div><div><br></div><div>Two problems: 1) How to get this to be happen at the system level and 2) how to set it using the command line. </div><div><br></div><div>I don't know what the data between the <...>'s is. It is the same between users and between toggling Rosetta on and off, and the LSPrefsFatApplications entry in Tiger is replaced by a much different LSArchitecturesForX86_64 entry in Leopard:</div><div><br></div><div><div> "LSArchitecturesForX86_64" = {</div><div> "com.apple.Safari" = (</div><div> <00000000 00a00003 00010000 c3ecd416 0000482b 00000000 000000a0 00028d9a 0000c2f1 13950000 00000920 fffe0000 00000000 0000ffff ffff0001 00040000 00a0000e 0016000a 00530061 00660061 00720069 002e0061 00700070 000f001a 000c004d 00610063 0069006e 0074006f 00730068 00200048 00440012 00174170 706c6963 6174696f 6e732f53 61666172 692e6170 70000013 00012f00 ffff0000>,</div><div> ppc,</div><div> <00000000 00960003 00010000 c44f641c 0000482b 00000000 0000005c 0000be47 0000c440 fd790000 00000920 fffe0000 00000000 0000ffff ffff0001 00040000 005c000e 0016000a 00530061 00660061 00720069 002e0061 00700070 000f0010 0007004e 00650074 0042006f 006f0074 00120017 4170706c 69636174 696f6e73 2f536166 6172692e 61707000 00130001 2f00ffff 0000>,</div><div> ppc</div><div> );</div><div> };</div><div><br></div></div></div><div><div><div> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div>Dan Peterka</div></span></span></span> </div><br><div><div>On May 13, 2008, at 6:36 AM, Leacy, Miles (US) wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I don't know the answer, but the way I'd find it is to get a 'new and modified' snapshot via Composer before Rosetta is enabled, then enable Rosetta, then launch the app, then quit the app, then build the package in Composer and examine the changed files that relate to the app in question, or possibly launch services in this case.</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">If the desired file is a plist, as I imagine it would be in this case, I'd find the operative key(s) and use a 'defaults write' script rather than packaging the plist to avoid altering undesired settings.<span class="Apple-converted-space"> </span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">----- Original Message -----</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">From: <a href="mailto:casper-bounces@list.jamfsoftware.com">casper-bounces@list.jamfsoftware.com</a> <<a href="mailto:casper-bounces@list.jamfsoftware.com">casper-bounces@list.jamfsoftware.com</a>></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">To: <a href="mailto:casper@list.jamfsoftware.com">casper@list.jamfsoftware.com</a> <<a href="mailto:casper@list.jamfsoftware.com">casper@list.jamfsoftware.com</a>></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Sent: Mon May 12 19:12:51 2008</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Subject: [Casper] Shockwave and Rosetta - still need a command</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">The application misbehaves with Shockwave 11, and the Shockwave XTRA plugin (a plugin to a plugin?) that allows printing from Shockwave either does not work with Shockwave 11, or does not work without rosetta enabled. Either way, it doesn't work.</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">For now, it has to be Shockwave 10 in Rosetta mode. So, how can I enable rosetta in the Get Info box without touching each computer?</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Dan Peterka</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span class="Apple-tab-span" style="white-space:pre">        </span>I am looking for a solution to enable Rosetta for Safari and Firefox</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span class="Apple-tab-span" style="white-space:pre">        </span>usingl a command line on Intel Macs. We are looking at a product that</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span class="Apple-tab-span" style="white-space:pre">        </span>requgires Shockwave with another plug-in module that forces us to run the</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span class="Apple-tab-span" style="white-space:pre">        </span>rbrowser in Rosetta mode.</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span class="Apple-tab-span" style="white-space:pre">        </span>Dan Peterka</div></blockquote></div></div></div></body></html>