Get program version

How do you get an application's version using AppleScript?
For example, get the version of Firefox...
Thanks,
jeremy

Short answer: it depends on the application.
In most cases you can simply ask the application for its version:
tell application "Safari" to get version
--> "2.0.3"
However, this requires support in the application for the 'version' property, of which FireFox doesn't have one. In those cases (short of asking the developers to 'get with it') your next best bet is the Finder:
tell application "Finder"
get version of file "HD:Applications:Firefox.app"
end tell
--> "Firefox 1.0.7, © 1998-2005 Contributors"
from which you then have to parse out the specific version number which, of course, will vary based on the application in question.

Similar Messages

  • I can't get new version of itunes to install on Windows 7 64 bit computer. Receive message that reads insufficient privileges to access c:\program files\ipod\bin. Tried to follow some suggestions found here but nothing is working. Any new suggestions?

    I can't get new version of itunes to install on Windows 7 64 bit computer. Receive message that reads insufficient privileges to access c:\program files\ipod\bin. I've followed several threads I've read here but nothing is working.

    For such situation, I'd suggest the following:
    1. Remove current installed office with the fix-it tool in
    KB2739501, and follow the "Remove Office manually" section to make sure there are no remaining files
    2. Either download a trial version of Office 2013 from
    http://office.microsoft.com/, or from
    http://technet.microsoft.com/en-us/evalcenter/jj937170
    3. Reboot your computer in clean boot mode, and run setup again
    Max Meng
    TechNet Community Support

  • Cannot embed pdfs in MS Word doc which are PDF Version 1.3 (Acrobat 4.x) [This is associated with Adobe Reader 9]. Getting 'program not installed' error.

    Cannot embed pdfs in Word doc which are PDF Version 1.3 (Acrobat 4.x) [This is associated with Adobe Reader 9]. Getting 'program not installed' error.
    Pdfs with other versions are okay:
    Tested successfully with Adobe Pro 9 (Version 1.5 (Acrobat 6.x)), Reader X (Version 1.4 (Acrobat 5.x)) and XI (Version 1.6 (Acrobat 7.x))
    Also cannot open embedded pdfs which have been embedded with this version (getting a similar error).
    Importantly I have removed/disabled all security options in Adobe Reader, following numerous internet suggestions from Adobe and elsewhere. This does not fix the problem.
    Currently the work around is to re-save the pdf with something other than Adobe Reader 9 (so the version updates), but we would prefer not to do this for all the old pdfs we have.
    Thank you,
    Louise.

    Could you please email me the document on which you are seeing this issue at [email protected] ?
    Please mention the forum thread link as well in the mail for the reference.
    Thanks,
    Atul

  • Trying to install the newest version of itunes on my pc and am getting  "program cant start because msvcr80.dll is missing from your computer"  reinstalling doesnt work.  and then it says error 7 (windows error 126)

    trying to install the newest version of itunes on my pc and am getting  "program cant start because msvcr80.dll is missing from your computer"  reinstalling doesnt work.  and then it says error 7 (windows error 126).  Any help would be appreciated.  Using Windows 7 enterprise on an hp Z600

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (if this won't uninstall move on to the next item)
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    The uninstall and reinstall process will preserve your iTunes library and settings, but ideally you would back up the library and your other important personal documents and data on a regular basis. See this user tip for a suggested technique.
    Please note:
    Some users may need to follow all the steps in whichever of the following support documents applies to their system. These include some additional manual file and folder deletions not mentioned above.
    HT1925: Removing and Reinstalling iTunes for Windows XP
    HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    tt2

  • To Get Different Version of program through programatically.

    Hi Experts,
    My requirement is to find no. of line changes betwwen two version of program.
    I did the following steps
    i) Got  the Transport request number from table e070 for corresponding users.
    ii) Got the pgmid object obj_name from table E071.
    iii) Got the remaining details from TADIR and trdir table.
    And for Each name file from TADIR table,
    By using Read Report statement I got the program in Internal table and able to count the no of lines,
    But how i can retrieve the different/old version of program.
    Your early reply would be highly appreciated.
    Thanks
    James

    Hi Vikranth,
    I know VRSD is the table we can get the version number, but for both version the
    Program/object number will be the same. So we cannot achive my requirement.
    Hi Markus,
    I am looking into the compare_versions form, but its clueless for me!,
    How it works any idea?
    Regards
    James

  • Labview program to get the version of the devicnet devices

    The devicenet configurator gets the device name, version, etc.
    in labview i wanted to do it program to get the version of the devicnet devices,
    so please tell me if anyone know how to do it
    [email protected]

    Hello. 
    Thank you for posting to the NI Discussion Forums. 
    The functionality that you desire should be accomplished by the "GetDeviceNet Attribute.vi".  This VI "Get(s) an attribute value from a DeviceNet device using an Explicit Messaging Object."  Utilizing the context help in LabVIEW, you will see that the ClassId, InstanceId, and AttributeId controls which attribute you will return the value of.  The description of the AttributeId states that it "Identifies the attribute to get. Attribute IDs are listed in the class and instance descriptions in the DeviceNet Specification. The attribute's description also lists the DeviceNet data type for the attribute's value."  So, this should allow you to proceed to get the information that you desire.  At the bottom of the context help, there is a great example about retrieving the serial number attribute. 
    Let me know if you have any further questions!
    Brian F
    Applications Engineer
    National Instruments

  • When trying to install ITunes I get: The version of this file is not compatible...

    I've been trying to install a new version of ITunes on my computer for over a month now with no luck. Here's the message I get every time: "The version of this file is not compatible with the version of Windows you're running. Check your computer's system information to see whether you need an x86 (32bit) or 64 (64 bit) version of the program, and then contact the software publisher."
    I had the previous version of ITunes on my system and it was working fine, except that is was having an issue with my DVD burner. It was a real bear to remove from my computer in order to upgrade. Now I can't get any version of ITunes to install. :-(
    I am running an AMD Phenom IIX4 965 Processor, 64-bit Operating System. The original computer OS was Windows XP Professional 32-bit. I upgraded to Windows 7 Professional 64-bit over a year ago and didn't have any trouble with it until this last attempted update. Help!

    I have the exact same problem as well. I've been having this since I tried installing the 3.0 drivers for Bootcamp drivers. The 2.2 drivers worked perfect, and I wasn't getting this error. I'm pretty sure It's something in the drivers as well, but nailing it would be very hard. It also doesn't appear to happen to everyone with similar spec'd Macs either. It's weird. Any solution to this would be really helpful. Thanks.

  • Error with calendar database: Program version 4.2 doesn't match enviroment

    hi!
    im instaling jes in a windows 2000 machine and i get this error when trying to start calendar:
    [21/Aug/2006:16:35:58 +0200] jes csadmind[1752]: General Information: Log created (1156170958)
    [21/Aug/2006:16:35:58 +0200] jes csadmind[1752]: General Notice: Sun Java System Calendar Server 6 2005Q4 (built Dec 27 2005) csadmind starting up
    [21/Aug/2006:16:35:58 +0200] jes csadmind[1752]: General Notice: csadmind attempting to open Counters Database
    [21/Aug/2006:16:35:58 +0200] jes csadmind[1752]: General Notice: csadmind successfully opened the Counters Database
    [21/Aug/2006:16:35:58 +0200] jes csadmind[1752]: General Notice: HTTP Module is refreshing
    [21/Aug/2006:16:35:58 +0200] jes csadmind[1752]: General Notice: csadmind is refreshing
    [21/Aug/2006:16:35:58 +0200] jes csadmind[1752]: General Notice: csadmind is refreshed
    [21/Aug/2006:16:35:58 +0200] jes csadmind[1752]: General Notice: HTTP Module has refreshed
    [21/Aug/2006:16:35:58 +0200] jes csadmind[1752]: General Notice: csadmind argc=1 argv[0]=C:\Sun\CalendarServer\bin\csadmind.exe
    [21/Aug/2006:16:35:58 +0200] jes csadmind[1752]: General Notice: csadmind attempting to open Calendar Database
    [21/Aug/2006:16:35:58 +0200] jes csadmind[1752]: General Error: caldb: Error with calendar database: Program version 4.2 doesn't match environment version
    [21/Aug/2006:16:35:58 +0200] jes csadmind[1752]: General Error: caldb: caldb_InitializeEnvironment: dbenv->open returned 22
    [21/Aug/2006:16:35:58 +0200] jes csadmind[1752]: General Critical: Fatal error 70: Cannot open calendar database
    anyone have faced same problem?
    thanks in advance

    Hi Vyacheslav,
    its wierd that when I run db_stat on windows, for my environment, it works.... I installed Berkeley DB XML 2.4.16 from a self extracting package.
    When I tried running from my Linux box, the error message appear... The native library on my Linux box was built from the zip package dbxml-2.4.16.zip
    Arent they the same?
    Thanks!

  • Firefox 5 disabled my mcafee LIVE site advisor...can i get the version 4 reinstalled onto my comp?

    in order for me to run my mcafee LIVE site advisor, i had to switch over to Internet Explorer, which i dont care to use after using Mozilla for a number of years....Mcafee is in process of making this compatible, but, in the meantime....can i get Mozilla version 4 back onto my computer? or has the version been made obsolete?

    Due to security vulnerabilities, rolling back to Firefox 4.0.1 is not recommended.
    Have you considered alternate site reputation tools, such as the WOT add-on?
    Here's the process to roll back to 3.6.18:
    First, I recommend backing up your Firefox settings in case something goes wrong. See [https://support.mozilla.com/en-US/kb/Backing+up+your+information Backing up your information]. (You can copy your entire Firefox profile folder somewhere outside of the Mozilla folder.)
    Next, download and save Firefox 3.6 to your desktop for future installation. http://www.mozilla.com/firefox/all-older
    Close Firefox 5.
    You could install Firefox 3.6 over it (many have reported success) or you could uninstall Firefox first. If you uninstall, do not remove your personal data and settings, just the program.
    Unless you have installed an incompatible add-on, Firefox 3.6 should pick up where you left off. If there are serious issues, please post back with details.
    Note: I haven't actually tried this myself!

  • I have windows xp and I can't get new version of itunes to install, help???

    I have Windows XP and I can't get new version of itunes to install on my computer, please help??????

    I keep getting the same error message about a program in the installer not finishing as expected.
    Let's try the following user tip with that one:
    "There is a problem with this Windows Installer package ..." error messages when installing iTunes for Windows

  • TS3212 can't get new versions of itunes to install on my windows computer. Any Suggestions?

    I can't get new versions of itunes to install on my windows computer. Any Suggestions? Every time I try, it downloads OK but when it proceeds to the install, I keep getting the same error message about a program in the installer not finishing as expected.  It quits the install and that's that.  Very frustrating.

    I keep getting the same error message about a program in the installer not finishing as expected.
    Let's try the following user tip with that one:
    "There is a problem with this Windows Installer package ..." error messages when installing iTunes for Windows

  • HT1349 Trying to download and install the latest version of itunes but at install i get"older version of Bonjour connot be removed" then asks me to contact tech support and download is stopped.

    Trying to download and install the latest version of itunes but at install i get"older version of Bonjour connot be removed" then asks me to contact tech support and download is stopped.

    Download the Windows Installer CleanUp utility from the following page (use one of the links under the thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    To install the utility, doubleclick the msicuu2.exe file you downloaded.
    Now run the utility ("Start > All Programs > Windows Install Clean Up"). In the list of programs that appears in CleanUp, select any Bonjour entries and click "Remove", as per the following screenshot:
    Quit out of CleanUp, restart the PC and try another install. Does it go through this time?

  • Pantone Color Calibrator Program Version 1.1.0 is available (15 Aug 2012)

    Pantone Color Calibrator Program Version 1.1.0  (15 Aug 2012)
    Version 1.1.0 build 6196
    Updated version.
    Thinkvantage Update does not know about it (yet).
    http://support.lenovo.com/en_US/downloads/detail.page?DocID=DS015010
    Pantone Color Calibrator is a software application designed to work with the embedded color sensor inside select Lenovo laptop models. Together, this software and color sensor combination can calibrate your laptop to ensure that the color in your images is displayed accurately.
    Hardware requirements:
    - Must have an embedded or external color sensor.
    - Can be integrated or used with a USB color sensor device.
    Supported ThinkPad system:
    - W520, W530
    Supported operating systems:
    - Microsoft Windows 7 32-bit, 64-bit
    - Microsoft Windows XP Home Edition, Professional
    W520 4270CTO i7-2820QM Quadro2000M 1920x1080 Display 16GB RAM 2x240GB Intel 510 SSDs (RAID 0) - BIOS 1.42 - PCMark7:4,568
    Samsung Series 9 15-inch NP900X4C-A03US - PCMark7: 4674

    Don't get your hopes up too high that this version will yield a better calibration of the FHD panel. The calibration result on 6500K still has a greenish cast on my two systems. I ound up using another user's profile that was created with an external calibrator. The results are much, much better than the ones developed with the Pantone 1.1 program.
    W520, i7-2820QM, BIOS 1.42, 1920x1080 FHD, 32 GB RAM, 2000M NVIDIA GPU, Samsung 850 Pro 1TB SSD, Crucial M550 mSata 512GB, WD 2TB USB 3.0, eSata Plextor PX-LB950UE BluRay
    W520, i7-2760QM, BIOS 1.42 1920x1080 FHD, 32 GB RAM, 1000M NVIDIA GPU, Crucial M500 480GB mSata SSD, Hitachi 500GB HDD, WD 2TB USB 3.0

  • Cannot get trial version to launch

    cannot get trial version of PE to launch

    Hi there B.Tallent
    What operating system are you using?
    Did you run set-up from the download manager, to install the program successfully?
    Can you see the blue PSE icon on the desktop?

  • How to get old versions of Xcode 4.1

    I'm doing some Ruby on Rails tutorials that require nothing higher than XCode 4.1.
    How does one get previous version of programs like XCode, which is now at 4.3.2?
    Thanks.

    https://developer.apple.com/downloads/
    ...may require logon.

Maybe you are looking for