Checking/unchecking a box in "get info" with Applescript

I've never used Applescript or automator but I think one of them could help me. I need to run Photoshop CS3 normally most of the time but when I have to scan I have to run it in Rosetta. To do this I get the "get info" box up for CS3 and check or uncheck the "open using rosetta" checkbox. The problem is I have to plough throgh several folders to get to the CS3 application and I was hoping I could get applescript or automator to do this with one click. Can anyone tell me what I would have to type into Applescript or how I would automate this?
Thanks for any help.
Mark

Replace ...
HD1_160:Applications:Safari.app
... (the path to 'Safari', on this Macintosh) in ...
tell application "Finder" to set current panel of (open information window of file ("HD1_160:Applications:Safari.app")) to General Information panel
... with the full path to CS3.
You can save the code (via 'Script Editor's 'File, Save' menu item) ...
01. As an 'Application' (via the 'File Format:' popup menu).
02. As a script (in the current users '$HOME/Library/Scripts/' folder; or, elsewhere, with an alias of it - in the '$HOME/Library/Scripts/' folder); and, access it (the script) via the 'Script Menu' (which is added to the menu bar via 'AppleScript Utility.app' in the '/Applications/AppleScript/' folder).

Similar Messages

  • Where can I find "Getting Started with AppleScript"?

    I googled it. And it doesn't show any links from Apple. I'm trying to learn AppleScript and the Language guide says to go through the Overview first which in turn recommends going through Getting Started with AppleScript.
    I even searched Mac Reference Library but it just doesn't show up!
    Any help?
    Neerav

    No, certainly not. I mean, I don't know any AppleScript, but I can say with certainty that the answer to that question is no.
    Objective-C is a programming language that is an extension of the C language. It is the language that is used to develop applications for Mac and iPhone. Other languages like C++ and Java can be used as well, but Objective-C is the language that Apple really intends for you to use for Mac and iPhone development, since it is heavily integrated with the Cocoa framework (for Mac developemt) and Cocoa Touch framework (for iPhone development). You need to know the C language to learn the Objective-C language, and you need to know the Objective-C language to work with the Cocoa or Cocoa Touch frameworks, but AppleScript is a totally separate and different animal from these things. AppleScript is a scripting language, and although it can technically be used to create applications from what I understand, it is mainly used as a mechanism for controlling applications. For example, you could use AppleScript to tell a certain application to perform a certain task everyday at a certain time. You can use it to create automated workflows and whatnot. I think that's what it's mainly meant for.
    It's worth noting, however, taht there is a development environment called AppleScriptObjC. I don't really know anything about this, except that it allows for AppleScript to be used as the primary programming language.
    I found a lot of this information at [Wikipedia's AppleScript page|http://en.wikipedia.org/wiki/AppleScript], so you might want to consider looking over it real quick -- it might be helpful. Here is the link to [Wikipedia's Objective-C page|http://en.wikipedia.org/wiki/Objective-c] and [Wikipedia's Cocoa page|http://en.wikipedia.org/wiki/Cocoa_%28API%29]. As someone said on these forums, Wikipedia is far from the last word on any subject, but those links might be helpful for you for just getting an idea of what these things are all about.
    Hope that helps some. Please let us know if you have any other questions.

  • Auto updated firefox on OS X but missing "open in 32-bit mode" check box in get info. How do I default firefox to open in 32-bit mode?

    Auto updated firefox on OS X but missing "open in 32-bit mode" check box in firefox 'get info'. How do I change firefox to open in 32-bit mode without the checkbox available?

    After long phone call with apple support the thing that seemed to work was:
    make a new user.
    Copying the itunes app from the new user’s Application folder to the shared folder.
    Then open up your old user account and copy it over the old itunes app.
    hope it works for you too

  • ITunes update to 4.0 requires checking 32-bit mode in "Get Info" window. No such checkbox exists. iTunes refuses to launch. iMac 27-in., Mac OS 10.6.8. Tried re-installing iTunes 4, but went into infinite loop while in "Registering Installed Components"

    After updating to iTunes 4, launching the application indicated that 64-bit mode was only available in Mac OS 10.7 Lion and to use in 32-bit mode by checking the 32-bit mode checkbox in the iTunes "Get Info" window. However, this window does not have the aforementioned checkbox. Thus, iTunes is now unusable.  Tried to download fresh install from Apple site, but this process went into an infinite loop during the "registering installed components" phase of the installation. Had to force quit. System is iMac 27-inch, Core i7 processor, Mac OS 10.6.8.  Is there a problem with iTunes 4? Can I go back to the previous version? Thanks.

    Ah! I found several other people with the same problem in this forum. I followed the suggestion to move iTunes 4 from the "Applications" to the desktop and launch it from there. It worked! I moved it back into the Application folder and its still okay.  Thanks!  This is a definitely a bug that Apple needs to address quickly.

  • Exchange PS to get info with Variable

    I am trying to pull some information for an O365 migration.
    This command works fine:
    get-mailbox -Filter {windowsemailaddress -eq "[email protected]"} | fl windowsemailaddress, primarysmtpaddress
    and returns the expected result.  I am going to use a CSV to make a variable for several email addresses.  For right now I hard coded a variable for simplicity:
    $UPN = "[email protected]"
    If I plug that in:
    get-mailbox -Filter {windowsemailaddress -eq "$UPN"} | fl windowsemailaddress, primarysmtpaddress
    I get the following error:
    Invoke-Command : Cannot bind parameter 'Filter' to the target. Exception setting "Filter": "The value "$upn" could not
    be converted to type Microsoft.Exchange.Data.SmtpAddress."
    At C:\Users\a_mscott\AppData\Roaming\Microsoft\Exchange\RemotePowerShell\usp306.domain.com\usp306.domain.com.psm1:13613 char:
    29
    +             $scriptCmd = { & <<<<  $script:InvokeCommand `
        + CategoryInfo          : WriteError: (:) [Get-Mailbox], ParameterBindingException
        + FullyQualifiedErrorId : ParameterBindingFailed,Microsoft.Exchange.Management.RecipientTasks.GetMailbox
    What syntax do I need to use in this case to use a variable there?
    Mark

    May be like this
    $upn = "[email protected]"
    Get-Mailbox -Filter "WindowsEmailAddress -eq '$upn'"
    I haven't tested but I assume it should do!
    Regards Chen V [MCTS SharePoint 2010]

  • Problem getting check boxes and radio button to click with applescript

    This is my script, it runs through without error, i can see the check box lightly flash like its being focused in on, but it wont actually check mark the box. it does this with all my check boxes and radio buttons.
    tell application "Adobe InDesign CS3"
    activate
    end tell
    tell application "System Events"
    tell process "InDesign"
    tell menu bar 1
    click menu bar item 12
    key code 125
    key code 125
    key code 124
    key code 125
    key code 125
    key code 36
    delay 1
    end tell
    tell window "Variable Links"
    click checkbox "Use InDesign Tags Filter"
    end tell
    end tell
    end tell

    Hi craneium and welcome
    For me this script fails, going through it step by step it seems confused, as I have highlighted out in the below code.
    where is the window "Variable Links, may be I can help.
    tell application "Adobe InDesign CS3"
    activate
    end tell
    tell application "System Events"
    tell process "InDesign"
    tell menu bar 1
    click menu bar item 12 --opens spotlight search in help
    key code 125 -- highlights indesign help
    key code 125 -- highlights welcome screen
    key code 124 -- goes to apple
    key code 125 -- goes to about this computer
    key code 125 -- highlights software update
    key code 36 -- starts software update
    delay 1 -- ?
    end tell
    tell window "Variable Links" -- error cant get window variable links
    click checkbox "Use InDesign Tags Filter"
    end tell
    end tell
    end tell
    Budgie

  • "Open with" / Get Info / Change All not working

    10.4.9 -- I want to open all PHP files with Gvim.
    a) Gvim doesn't show in the "Open With" Applications list, I need to browse to find it.
    b) When doing this from Get Info with the intent of "Change All" I select the "Open with" to "gvim.app" and select "Change All..." but the "Open With" selection reverts to TextEdit after answering "Continue"
    c) This change stuck once, about a week ago, for a few days. But now it's back to TextEdit.
    Am wondering where the resource can be found so I can hack this myself, for good.

    I picked up "OnyX" and the associated "Maintenance" utilities. "Maintenance" has a tool to reset the LaunchServices database, and that seems to have allowed the association to stick.
    http://www.titanium.free.fr
    OnyX even has a formatting utility for the UN*X "Man" pages!
    Tom_X -- now that's a cool feature, it restores some controls in a handy spot lost long ago... It didn't show php files in the list, so I added it and it shows gvim.app as associated already.

  • How to check uncheck songs in itunes

    how do I key stroke to check and uncheck songs in itunes

    To check or uncheck all boxes on a Mac with one click, hold down the Command (cmd) key and click on one of the checkboxes with the mouse.  You can use this in a library, a playlist or in search results.

  • Can I embed a photo caption to an image via Get Info? or using Preview?

    Is there a way to embed a caption into an image file  using Preview, or by using the Get Info box? Get Info  can read captions already embedded, e.g. using Photoshop, but is there  a way I can put in a caption without spending $$$ to buy Photoshop?
    Hope someone can help
    David Young

    What exactly do you mean by "embed"?
    If you mean write it to the IPTC metadata: you can do this with iPhoto and many, many other apps that are a lot less expensive than Photoshop
    If you mean add text to the surface of the Photo: Yes you can do this with Preview and many, many other apps that are a lot less expensive than Photoshop
    Regards
    TD

  • What happened to the next/previous buttons in Get Info?

    I am trying to edit a number of movie files and in the past I was able to quickly scroll through different files in Get Info with the Next and Previous buttons (or by using Command-N and Command-P).  Those buttons and their keyboard shortcuts have recently disappeared? 
    Has anybody else noticed this?  Is there a reason?  A way to bring them back?

    I just did a little more digging.  They are there for TV Shows and Music, but not for movies.

  • TS2504 I have installed Logi Pro and it has written over my garageband features (as above). Ive tried to reinstall Garageband as described above with the Installation DVD. But when i get to step 4 it wont let me check or uncheck the box for Garageband, it

             I have installed Logic Pro and t seems to have wreitten over my GArageband 09 functions. when i try to reinstall Garageband alone from the bundle on teh installation DVD it wont let me check OR uncheck the Garageband box (stage 4 in Apple's isntructions above) . It does let me check teh other boxes for iPhoto etc.
    Do i need to reinstall teh complete bundle for iLIfe 09? Will this mean I lose any of my material? eg photos in iphoto or clips in imovie?
    scarey stuff!
    please advise
    sarah

    drumkit2 wrote:
    when i try to reinstall Garageband alone from the bundle on teh installation DVD it wont let me check OR uncheck the Garageband box
    http://www.bulletsandbones.com/GB/GBFAQ.html#installerdisabled
    (Let the page FULLY load. The link to your answer is at the top of your screen)

  • In the iDVD window, there is a box in the lower left corner.  When I scroll over it, I get the message to hide or show the intro movie.  Checking or unchecking the box seems to do nothing.  Can anyone explain?

    Working with iDVD on a project, there is a box in the lower left corner and sometimes another in the lower right corner.  Scrolling over the one in the lower left corner, I get a message indicating that this box hides or shows the intro movie.  I have checked and unchecked the box, but see nothing different in the project.  Nor can I figure out what is meant by "intro movie."  Can anyone explain?

    Go to iDVD Help and type in Intro Movie, and you will get the full version of this:
    Many iDVD themes have “motion menus” that include animations or video that loop, or play repeatedly, until the viewer clicks a menu button. Themes with motion menus have a motion icon in the lower-right corner.
    In addition to background video, iDVD motion menus may also feature an intro, or short animation, that plays once before the part that loops. Other motion menus also include an “outro” that plays after the viewer clicks a button, serving as a transition between the menu and the selected content.
    An example of an iDVD 6.0 theme with an intro and an outro is Reflection White Main. In this theme, the first drop zones appear in the intro, and the buttons and title appear just before the looping part of the background video. In the outro, everything flies offscreen after the viewer clicks a button.
    iDVD provides tools for viewing these motion menus without going into preview mode, which is especially helpful when you are filling drop zones, and for turning the intro or outro off.
    Here are ways to view and edit the background movie:
    ◼ 
    Drag the diamond-shaped motion playhead along the scrubber bar (shown below), to view the background movie, stopping wherever you like.
    (If you don’t see the motion playhead in iDVD, choose View > Show Motion Playhead.)
    ◼ 
    Deselect the checkboxes at the left and right end of the scrubber bar if you don’t want to use the intro or outro, respectively, in your DVD menu.
    The scrubber bar shows the intro and outro as shaded areas at the beginning and end.
    You can also control the intro and outro from the Menu Info window. With your pointer over the menu (and with no buttons or text objects selected), press Command-I to open that window. Select or deselect the Intro and Outro checkboxes in the Background section of the window.
    NOTE: If you drag your own movie to a motion menu background, the outro is automatically removed. To customize the background and keep the outro, use a still image in the menu background instead of a movie.

  • Rosetta refuses to be checked or unchecked in get info in Safari

    Although it's unchecked but I think Safari thinks it's in rosetta mode on my external drive because I can't use QuickTime 7.2. Yes I made sure that I have the correct permissions too.

    Yes in Safari, that's exactly what I'm saying.
    I had to remove the QuickTime webplugin from my Internet plug-in folder on my external hard drive to get QuickTime 7.2 working in Safari again.
    However my biggest mystery is why it doesn't let me check or uncheck “Open with Rosetta” option in Get Info in my Safari on my external hard drive.

  • I've unchecked the boxes for apple e-mails (news and iTunes offers) but I still get marketing info which I don't want. What else can I do to stop the spam?

    I've unchecked the boxes for apple e-mails (news and iTunes offers) after following the link at the bottom of a marketing e-mail from Apple.
    Unfortunately I still get marketing info which I don't want. What else can I do to stop the spam?

    The e-mail checks out as having come from an IP address registered to Apple.
    Received-SPF: pass (mxeu0: domain of insideapple.apple.com designates 17.254.6.124 as permitted sender) client-ip=17.254.6.124; envelope-from=[email protected]; helo=msbadger0204.apple.com;
    The sender address wasn't spoofed and all the links in the mail lead to legitimate apple web sites. (It was an advert for a MacBook Air christmas special). There was a link at the bottom of the e-mail which takes me to the Apple 'manage your e-mails' page.
    List-Unsubscribe: <http://mynews.apple.com/subscriptions?v=2&la=de_de&.....
    On this page there are check boxes for the various Apple news and iTunes marketing e-mails, and the option to change my e-mail address. The boxes are not checked but I still get marketing e-mails.

  • I have a 3GS. The iPod on the phone has made duplicates of some songs. I've tried using the "get info" dialog box to set all the information the same but the dups are still there. Even after erasing all music with iTunes they are still there.

    I have a 3GS. The iPod on the phone has made duplicates of some songs. I’ve tried using the “get info” dialog box to set all the information the same but the dups are still there. Even after erasing all music with iTunes, iTunes is empty but they are still on the phone.

    Some Users have reported that a Restore as New  has Resolved Issues after the Upgrade...
    Backup and Set Up as New Device
    http://support.apple.com/kb/HT4137

Maybe you are looking for