Applescript to change setting in 'Info' pane of an Application?

Hi there,
I frequently need to switch between opening an application (Logic Pro) in 32-bit mode and 64-bit mode. To achieve this I need to do this each time?
To switch Logic between 32- and 64-bit mode:
Quit Logic Pro, if it is running.
Navigate to and select the Logic Pro application in the Applications folder.
Choose File, then Get Info.
Select the "Open in 32-bit mode" checkbox to run Logic Pro in 32-bit mode. Deselect the checkbox to run Logic Pro in 64-bit mode.
Is there a way to do this via applescript or some kind of app?
I would appreciate any suggestions!
Thx
Felix

Any time you use a handler/subroutine inside an application tell statement you need to use the terms my or of me to indicate that it is from your script and not from the targeted application - for example:
set this_new_date to my sub_change_date(old_date)

Similar Messages

  • I need to change the input level and I can not open the track info pane in the new garageband. Can you help me?

    I have tried the help menu. It only shows how to open the track info pane in the old garageband. It shows the info button, which is not in garageband anymore. I need to open the track info pane to change the input level. If there is another way to do this please tell me.

    Open the "Smart Controls" for your track, and then press the Info button .
    The "record level" slider is at the top of the Info panel below the track heads.

  • I need to change my billing info and set up a busi...

    I need to change my billing info and set up a business account.

    Hello matthew1405tallai,
    I have linked an article that will walk you through the process of updating your payment information:
    iTunes Store: Changing your payment information
    http://support.apple.com/kb/ht1918
    Thank you for contributing to Apple Support Communities.
    Cheers,
    BobbyD

  • Change All / Get Info issue. How to set which application  opens a file?

    Hello,
    I would like to be able to set which application opens a specific file, but cannot get the 'Change all' option in the get info to stick, or to have scvope beyond the immediate folder. For example: whenever I download an.xml file and try to open it the application it defaults to is 'Property List editor' - so I have to go into 'get info' and set the application that I want to use to open the file. Let's say - Textmate. That file will then remain set, for the length of that session anyway - but clicking 'Change all' will not mean that the next file downloaded will default to 'Textmate', or that any .xml files outside the folder will open in Textmate. I have to set them all manually, which gets to be a drag.
    I once had a little open source app. that I used to set the preferences as to which application opened a specific suffix - which worked with some, some of the time... but after a clean install I lost it - and can't remember what it was called. Anyway, it didn't entirely solve the problem, only lessened it.

    [Mac OS X: Double-Clicking a File Opens the Wrong Application|http://support.apple.com/kb/TS2291?viewlocale=en_US]
    *Changing the application used to open all files of a certain kind*
    1) In a Finder window highlight a file of the kind you want to change the application to open that kind of file.
    2) While that file is highlighted, select File > Get Info or press command (apple or propeller icon) + i to get a file information window.
    3) In the lower part of the info window there is an "open with" menu with a list of applications.
    4) If your application is already in the box then it is the default application for opening that kind of file and you don't need to do anything more. Close the get info window.
    5) If the application showing in the menu is not the one with which you wish to open the file then select a new application. If your application does not appear there then select the "other..." and track down the application (usually in the Applications folder at the main level of the computer).
    6) If you wish to change all files of this type to open with this application in future, make sure the "change all" button is selected.
    7) Close the get info window.
    I know that what I posted may have been what you have been doing, but wanted to double check.
    I don't know to what application you are referring but application/file type association is done by Launch Services. Potentially this can become corrupted. You can use Onyx (free) utility to rebuild LS, but in doing so you will lose all non-default associations.
    As with any problems, I would also make sure you have run disk utility to verify and repair your drive, and repair permissions on your computer, before doing any other actions. It's surprising what that can clear up. You can slo just try starting in Safe mode, then restarting normally and see if that helps.
    [Mac OS X: Double-Clicking a File Opens the Wrong Application|http://support.apple.com/kb/TS2291?viewlocale=en_US]
    [Mac OS X: Starting up in Safe Mode|http://docs.info.apple.com/article.html?artnum=107393]
    [What is Safe Boot, Safe Mode? (Mac OS X)|http://docs.info.apple.com/article.html?artnum=107392]
    [Safe Boot takes longer than normal startup|http://docs.info.apple.com/article.html?artnum=107394]

  • How do I use AppleScript to Change the Creation Date to the Current Date?

    I sorted my downloads folder by creation date and found that the items were sorted seemingly randomly. On closer inspection, I saw that the creation dates were not the same as the dates that I downloaded the items, so I figures that Snow Leopard was using the date given to it by the server.
    In order to get the items sorted by download date, I figured I'd use Hazel, but it doesn't have a “change creation date” item. It does, however, have an “run AppleScript” item.
    So my question is this: how do I use AppleScript to change the creation date of an item to the current date?

    TC (Techno Cat) wrote:
    Okay, I tried changing the creation date with SetFile, but it kept giving me an error:
    What am I doing wrong?
    Looks like the date and time was not quoted
    Try this Applescript. It will change the creation date of every file in the Downloads folder to the current date and time:
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    font-weight: normal;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px;
    color: #000000;
    background-color: #E6E6EE;
    overflow: auto;"
    title="this text can be pasted into the AppleScript Editor">
    set current_date_and_time to do shell script "date \"+%m/%d/%Y %H:%M\""
    tell application "Finder"
    set filelist to every file of the alias (the path to downloads folder as text)
    repeat with currentFile in filelist
    do shell script "/usr/bin/SetFile -d " & quoted form of current_date_and_time & space & quoted form of POSIX path of (currentFile as string)
    end repeat
    end tell</pre>

  • How to get  x and y coordinates in the info pane through PS API

    Hi all,
    I'd like to get the x,y coordinates of cursor pointer while mouse moving, just like the info pane do.
    Can anyone tell me how to achieve this?

    If you are using Actionscript 3 you should
    1) Use event listeners to detect mouse-down and mouse-up
    events on the movieclip.
    2) Set up functions to drag and drop the movieclip.
    3) In the drop function get the x and y position of the
    movieclip and
    4) trace it out or put the values into dynamic textfields.
    Here's a simple example. The code is on the first frame of
    the timeline
    myMC.addEventListener(MouseEvent.MOUSE_DOWN,
    startDragSquare);
    myMC.addEventListener(MouseEvent.MOUSE_UP, stopDragSquare);
    function startDragSquare(evt:MouseEvent):void
    this.startDrag();
    function stopDragSquare(evt:MouseEvent):void
    this.stopDrag();
    var xpos = this.x;
    var ypos = this.y;
    trace ("X: "+xpos+", Y: "+ypos);
    }

  • Changing song's info doesn't work

    When I go to file info and change the file name, etc. it works at first, but when I play the song, it reverts all the info into the original names.
    Can anybody's help me please? It's so annoying!
    I already tried converting the ID3 Tags or consolidating the library, but nothing works! every time I click on the files they go back to their original names/info
    Help!
    (iTunes 7)

    I think the ID3 tags are just the revision to the MP3 data. In other words, the metadata in an MP3 file conforms to certain specifications and over the years they must periodically update it to include new fields or ways to represent new information. So perhaps newer tags are not all that backwards compatible or something?
    I don't know why it works. I just know it does. I assume that "none" must be basic/generic tags only and not including them thar new fangled fields or some such, so I assume "none" probably means a universal set of info that any program can access.
    Patrick

  • My Ipad and itouch cannot be connected ti wireless router tried changing setting still cannot connect

    my Ipad and itouch cannot be connected ti wireless router tried changing setting still cannot connect

    Some things to try first:
    1. Turn Off your iPad. Then turn Off (disconnect power cord for 30 seconds or longer) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    2. Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
    3. Change the channel on your wireless router (Auto or Channel 6 is best). Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    4. Go into your router security settings and change from WEP to WPA with AES.
    5.  Renew IP Address: (especially if you are droping internet connection)
        •    Launch Settings app
        •    Tap on Wi-Fi
        •    Tap on the blue arrow of the Wi-Fi network that you connect to from the list
        •    In the window that opens, tap on the Renew Lease button
    6. Potential Quick Fixes When Your iPad Won’t Connect to Your Wifi Network
    http://ipadinsight.com/ipad-tips-tricks/potential-quick-fixes-when-your-ipad-won t-connect-to-your-wifi-network/
    ~~~~~~~~~~~~~~~~~~~~~~~~~
    Wi-Fi Fix for iOS 6
    https://discussions.apple.com/thread/4823738?tstart=240
    iOS 6 Wifi Problems/Fixes
    How To: Workaround iPad Wi-Fi Issues
    http://www.theipadfan.com/workaround-ipad-wifi-issues/
    Another Fix For iOS 6 WiFi Problems
    http://tabletcrunch.com/2012/10/27/fix-ios-6-wifi-problems-ssid/
    Wifi Doesn't Connect After Waking From Sleep - Sometimes increasing screen brightness prevents the failure to reconnect after waking from sleep. According to Apple, “If brightness is at lowest level, increase it by moving the slider to the right and set auto brightness to off.”
    Fix For iOS 6 WiFi Problems?
    http://tabletcrunch.com/2012/09/27/fix-ios-6-wifi-problems/
    Did iOS 6 Screw Your Wi-Fi? Here’s How to Fix It
    http://gizmodo.com/5944761/does-ios-6-have-a-wi+fi-bug
    How To Fix Wi-Fi Connectivity Issue After Upgrading To iOS 6
    http://www.iphonehacks.com/2012/09/fix-wi-fi-connectivity-issue-after-upgrading- to-ios-6.html
    iOS 6 iPad 3 wi-fi "connection fix" for netgear router
    http://www.youtube.com/watch?v=XsWS4ha-dn0
    Apple's iOS 6 Wi-Fi problems
    http://www.zdnet.com/apples-ios-6-wi-fi-problems-linger-on-7000004799/
    ~~~~~~~~~~~~~~~~~~~~~~~
    How to Boost Your Wi-Fi Signal
    http://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Boost-Your-Wi-Fi-Signal.h tm
    Troubleshooting a Weak Wi-Fi Signal
    http://ipad.about.com/od/iPad_Troubleshooting/a/Troubleshooting-A-Weak-Wi-Fi-Sig nal.htm
    How to Fix a Poor Wi-Fi Signal on Your iPad
    http://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Fix-A-Poor-Wi-Fi-Signal-O n-Your-iPad.htm
    iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    WiFi Connecting/Troubleshooting http://www.apple.com/support/ipad/wifi/
    How to Fix: My iPad Won't Connect to WiFi
    http://ipad.about.com/od/iPad_Troubleshooting/ss/How-To-Fix-My-Ipad-Wont-Connect -To-Wi-Fi.htm
    iOS: Connecting to the Internet http://support.apple.com/kb/HT1695
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Connect iPad to Wi-Fi (with troubleshooting info)
    http://thehowto.wikidot.com/wifi-connect-ipad
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
    Fix Slow WiFi Issue https://discussions.apple.com/thread/2398063?start=60&tstart=0
    How To Fix iPhone, iPad, iPod Touch Wi-Fi Connectivity Issue http://tinyurl.com/7nvxbmz
    Unable to Connect After iOS Update - saw this solution on another post.
    https://discussions.apple.com/thread/4010130
    Note - When troubleshooting wifi connection problems, don't hold your iPad by hand. There have been a few reports that holding the iPad by hand, seems to attenuate the wifi signal.
    ~~~~~~~~~~~~~~~
    If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
     Cheers, Tom

  • Impossible to bring up the info pane about a todo item outside the current view

    Can anyone reproduce this?
    1) Set iCal to hide todo items whose deadlines are outside the current view.
    2) Create a todo item whose deadline is outside the current view.
    3) Search for the todo item.
    4) In the search results, double-click on the todo item.
    Expected Results:
    The same thing happens as with events: the view switches to the week containing the event, and its info pane is displayed.
    Actual Results:
    Nothing happens.

    Your site was built using tables, whose sizes are defined in your site.
    If we look at your first table definition, we can see:
    <table width="861" height="1449" border="3" cellpadding="0" cellspacing="0" bordercolor="#868787">
    Your table has a width of 861 pixels and an overall height of 1449 pixels. Anything you put into that overall box must fit those dimensions, else
    it won't be visible. Anything you add above it will push everything down. You can redefine your sizing to let you edit more inside of the table elements.
    This is why, when you type in more text, things act weird. If you are in Dreamweaver, you must find the right cell to put your text into and then enter
    text there. Unfortunately, this is going to push things around, which were all lined up using tables. And this gets everything offset with respect to
    everything else in your website.
    And that is why everyone is saying, "Start Over!"
    I just inherited a website that has been put together using tables. I'm going to have to expend considerable effort in rewriting the entire design of the
    website because of that. because everything I intend to add to the pages on the site is going to need to be deconstructed in order to get it to work
    properly if I'm adding text and pictures that need to line up with each other.
    You need something done quick and dirty and the only way I can recommend you do that is to use Dreamweaver to show you the tables you have
    and put what you need in a new table that is defined above or below the tables you all ready have defined. Do that and then get back to someone here
    who knows how to make a website correctly to clean up your entire website and make it editable -- which will cost you some money, but it will be
    money well-spent.
    I like to quote this maxim: Good, Fast, Cheap. Pick any two. This works for website design. You can get it fast and cheap, but it won't be good. I
    think you may have chosen that route.

  • Setting OBDC info on multiple reports (batch)

    Hello,
    Is there a way to set OBDC info for multiple reports at once. I have users with 100+ reports and we just changed SQL server, so that each report need to be pointed to the new server. Doing it manually by opening each report and manually pointing it to the new server is a real pain.
    If there is a way we can do it in a batch that would save us a lot of time.
    TIA!

    since you're changing servers, just editing the existing odbc connection (i.e. in the 32 Bit ODBC  Data Source Administrator) to point to the new server should be all that is required as long as the table names and field names / types within those tables remains constant.
    otherwise, there are 3rd party tools (usually cost) like 'rpt inspector' where you can do this.

  • I need applescript to change all files in a folder and its subfolders ending in .xlsx changed to .xlsb

    I need applescript to change all files in a folder and its subfolders ending in .xlsx changed to .xlsb

    try something like this:
    with timeout of 3600 seconds
      -- long timeout to because the Finder is horribly slow
              tell application "Finder"
      -- collects the files from a folder called "whatever" in your user home folder
                        set xlsbFiles to every file of entire contents of folder "Whatever" of home whose name extension is "xlsb"
                        repeat with thisFile in xlsbFiles
                                  set name extension of thisFile to "xlsx"
                        end repeat
              end tell
    end timeout
    you could make a more efficient script using System Events.app, but this will get the job done with a minimum of thought.

  • Changing mail account info

    the good news: the iPhone automatically implemented all my account info from apple mail the first time I activated & synced it. great!
    the bad news - I need to use a different outgoing mail server - I can't send mobile mail from the same server I use for my desktop mail ...
    so how can I change the account info - to put in a different outgoing mail smtp dealie?? there doesn't seem to be a preference setting the way there is in apple mail...
    thanks..
    W

    am having a dickens of a time with this - when I first got the iPhone a week ago, I could receive all my mail easily but had a problem sending.
    so I deleted the account, put it in all over again (as correctly advised on this thread), and now I have the send part working fine but I currently can not receive messages!
    I have double & triple checked the settings - can't figure out what's wrong - will probably call Apple Care...
    thanks!
    W

  • Followed Tiscali set up info for Thunderbird and nothing works.

    Changed from Outlook Express to Thunderbird on Win XP computer. Followed Tiscali set up info. Tiscali confirm the settings are correct but nothing works.

    I followed the Tiscali set up info to the letter. I could not send any messages. I always got the same error message. I then read the Thunderbird technical article re these error messages and found that I needed to complete the "user name" section on the Accounts settings bit, something that Tiscali did not mention at all. Doh!. Problem solved within 30 secs!
    Thanks for all the support.
    Cheers, Ian.

  • Applescript to change Pages underline to italic

    I need to scan 85,000 words in a Pages document and change all underlined words to italic.  I have the following code:
    tell application "Pages" to tell front document
              repeat with i from 1 to (count every word)
                        tell word i
                                  if underline type is in {single underline, double underline} then set properties to {underline type:none, italic:true}
                        end tell
             end repeat
    end tell
    This works great as far as it goes.  The only problem is that this changes only the words in the document, but not the spaces between them.  So it will turn this: (The quick brown fox)  into this: (The_quick_brown_fox).  But what I want is this: (The quick brown fox).
    So how would this Applescript need to look to change the formatting of the space after the word, as well as the formatting of the word itself?  Or maybe the code should add a delete and space after each changed word?  I'm not sure.
    Any help is HUGELY appreciated!

    I need an Applescript to change the desktop picture using a file on the web.
    You can't do this directly - the OS won't use an internet-based image for your desktop picture (think about it - what would it do if your machine were offline?)
    All is not lost, though - all you need to do is download the image to your machine first, then you can set it as your desktop image:
    tell application "URL Access Scripting"
      download "http://www.geekpedia.com/gallery/fullsize/apple-pink-blue-wallpaper.jpg" to file (path to desktop as text) & "wallpaper.jpg"
    end tell
    Now you have a file wallpaper.jpg on your desktop (adjust the file name/path as you like), which you can use before your existing code to set it as your desktop.

  • How do I change the copyright info and links in collection pages?

    Can anyone tell me how I can change the copyright info and links on a collection page using the new updated Public Site Manager?
    1. When I click on 'Configure selected collection' there doesn't seem to be an option to edit copyright information and I've tried editing the info in Settings > Copyright Notice but it doesn't filter through to the collection pages.
    2. When I click on 'Configure selected collection' the links tab is empty but on my collection page there is a link called 'website' which links to our University website but the url is incorrect so I need to change it.
    Example screenshot -
    Thanks

    Also when I add a url list to a collection page and then delete all the links I'm left with a blank url list showing in preview page in iTunes. This should not happen, the admin guide says -
    "To delete a collection page URL list, delete all the links in the list. When you publish, if you have a URL list with no links, iTunes U Public Site Manager hides the empty URL list."
    It doesn't. At least it doesn't for me when I preview the collection in iTunes.
    Example screenshot

Maybe you are looking for