Why Does AppleScript Fail With Google Earth?

This simple script:
     tell application "Google Earth"
            GetCurrentVersion
     end tell
fails with the following error:
     error "Google Earth got an error: Can’t continue GetCurrentVersion." number -1708
and with the following Console message:
     3/2/13 5:24:42.505 PM Google Earth[53575]: +[NSDictionary scriptingRecordWithDescriptor:]: unrecognized selector sent to class 0xacdb248c
Anyone know why?
The GE AppleScript dictionary has the following entry:
GetCurrentVersion v : Get the current version of the Google Earth client
      GetCurrentVersion record : record of major, minor and build numbers
→ list of integer : version fields
AppleScript and Google Earth work fine for other users on this machine. It only fails on my account.
I have tried deleting all vestiges of GE from the machine and reinstalling, but this hasn't worked.
Any other ideas?

tell application "System Events" to get has scripting terminology of application process "Google Earth"
Result=true
AFAIK, AS works with all other applications. It only fails with GE and only on my account.
softwater, I apologize if my original post was not specific enough.
I thought that the title "Why Does AppleScript Fail With Google Earth?" made it clear that the AS failure was with GE. I guess not.
Message was edited by: Buadhai

Similar Messages

  • Why does Calendar sync with Google on a new user, but not my original one?

    I have a late 2012 Macbook Pro that came running Mountain Lion out of the box. I have used Mail and Messages with my various Google accounts since I purchased it, but never Calendar. When I checked the Calendar option all I got was the header for where the calendars should be.
    I cannot see any calendars on that account, create/view/edit events, or anything. My sync settings on the Google side are just fine as it works on other devices. Last night I took it a step further and created a new user account on my laptop and first thing I did was connect my Google account. Everything worked.
    I have tried deleting the Calendar cache files, preferences, accounts, and pretty much anything short of the app itself. I even went ahead and cleared out my Keychain of anything relating to that account or Google in general. As a last ditch effort, I did a full clean up and reset of the SyncServices system.
    Short of painstakingly comparing the two accounts I have no idea what could be causing this problem. There are no user specific applications or extensions running on my machine, and I've performed no "under the hood" tweaks to Mountain Lion.
    Does anyone have any idea where I should be looking for a cause? I haven't found anything like this problem online yet, and I definitely don't want to migrate my stuff to a new account.
    Key points:
    Google Calendars do not sync at all to my primary user account.
    I've tried multiple Google accounts.
    Only a new user account in Mountain Lion is able to connect.
    All SyncServices files and all Calendar files have been wiped and recreated to no effect.

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Click the Clear Display icon in the toolbar. Then try the action that you're having trouble with again. Select any messages that appear in the Console window. Copy them to the Clipboard (command-C). Paste into a reply to this message (command-V).
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.

  • Why does appimp fail with "id already exists?"

    After upgrading to a recent release of Portal on 8i, we have to use the appexp utility to export Portal objects. We exported an entire application and then dropped it. When we try to run appimp to put it back we get errors that objects will fail because "ID already exists". We found note 168309.1 on Metalink but it didn't give us a fix. Has anybody else encountered this and maybe found a solution?
    Thanks in advance
    Ron

    This may be happenning due to some residual data in the wwv_modules$ table pertaining to the application you want to export. Delete the residual data and the try re-importing.

  • HELP - hi with apple Configurator why does it show with a yellow triangle on the right side of the screen what am i doing wrong for the ipads not syncing or whatever and how do i fix that?

    HELP -- hi with apple Configurator why does it show with a yellow triangle on the right side of the screen what am i doing wrong for the ipads not syncing or whatever and how do i fix that? although i have looked online to try and figure it out and here is the website i found is this the stuff i need to do to fix this? is this site what i need to do to fix this? http://edtechstandish.wordpress.com/what-ive-learned-about-apple-configurator-so -far/  Thanks

    Sorry but I don't know anything about this.  But you might have better luck posting this question over ing the iPad in Business and Education forum here: https://discussions.apple.com/community/ipad/ipad_in_business_and_education?view =discussions.

  • Why does my 4s with ios7 wifi keep disconnecting/reconnecting?

    why does my 4s with ios7 wifi keep disconnecting/reconnecting?

    Same problem here. It just keeps connecting/disconnecting indefinitely. This does not started immediately after IO7 upgrade and it does not happen all the time. Sometimes it does it, sometimes not. Very frustrating. So far no solution found.

  • Why does my iMac (with Mountain Lion) no longer recognize my external hard drive I have used as a back up via Time Machine after the hard drive was accidentally unplugged?

    Why does my iMac (with Mountain Lion) no longer recognize my external hard drive I have used as a back up via Time Machine after the hard drive was accidentally unplugged?

    Do you mean the external hard drive is not mounted on the iMac desktop?
    Check if Disk Utility sees the drive. Applications / Utilities / Disk Utility. If the external shows up in the left column, select it and click on Mount.
    If it does show up this way, I recommend using DU to Repair Disk.

  • Why does Mozilla Firefox use Google as their web search if Google stores everything we search?

    Why does Mozilla Firefox use Google as their search engine if Google stores everything you search and track what you do online? I've got nothing against Firefox, I'm just wondering why.

    I just figured they wouldn't have since they don't track what people do. I figured they were against that.

  • Why does mac mini with snow leopard download skype for windows instead of mac

    why does mac mini with snow leopard download skype for windows instead of mac ?

    Are you using this link?
    http://www.skype.com/en/download-skype/skype-for-mac/

  • Firefox 5 does not work with Google Toolbar. How do I go back to the previous Firefox version that I had?

    Firefox 5 does not work with Google Toolbar. How do I go back to the previous Firefox version that I had? Or how can I get my Google Toolbar back?

    Google Toolbar [https://support.mozilla.com/kb/Add-ons%20are%20disabled%20after%20updating%20Firefox Add-ons are disabled after updating Firefox]
    * GBookmarks (Google Bookmarks for Firefox) 25.6KB<br>https://addons.mozilla.org/firefox/addon/gbookmarks-google-bookmarks-fo/
    * http://kb.mozillazine.org/Problematic_extensions
    *for a Google Toolbar solution see https://support.mozilla.com/questions/837473

  • Why is Firefox involved in taking sides with Google Earth's dumping of the website Climate Viewer News?

    I like researching and I have sites that credible although the gov't may not like the data these sites collect for public awareness. Climate Viewer News relies on Google Earth and now this site can no longer do the work they've always done in getting the truth out there to the public... And Google Earth is bought and paid for and controlled by Gov't agencies in preventing those sites who value the citizens constitutional right to know what our leaders and others in power are doing to not only humans, but to this planet and more. I thought Mozilla Firefox's goal was to provide internet browsing privace and security to the public without interference from those control freaks who have the money and power to control it all. Where's the freedom? What about integrity and ethics? By submitting an opinion that is against Firefox leaves me wide open for attack...But I have always supported Firefox and the other programs from Mozilla and now this at CV News website "....“Mozilla is not interested in or working on Pepper at this time.” May 2011..." It saddens me greatly to see the good guys being bought and paid for. I have many friends who are Open Source and maybe they should hear about this issue: https://climateviewer.com/2014/12/28/death-google-earth-climate-viewer-3d/

    We do not discuss development issues of decisions on this forum. It is for support of Firefox endusers, and mainly answers are from fellow Firefox users. Mozilla developers do not (or only <s>unyieldingly</s>!! ''exceedingly'' rarely) post here.
    Of course we are not trying to be obstructive so links to where this is discussed,or to relevant information is ok.
    Just some brief comments on the background.
    * FlashPlayer <br />Let's for starters point out that FlashPlayer is proprietary closed source software, and Adobe's FlashPlayer does not even support all the Operating Systems Firefox does. For instance newer versions of Android are not supported, and Linux is only getting critical security updates with that due to cease soon.
    *Pepper <br /> Is a Google project, it effectively builds FlashPlayer into the Chrome browser. http://en.wikipedia.org/wiki/Google_Native_Client#Pepper
    * HTML5 <br />There are many HTML5 projects & features supported or in development for Firefox and that is probably the way forward.
    I am not sure which forum is the best for you to try to engage with Firefox developers but see these
    * https://www.mozilla.org/en-US/about/forums/
    *'''Please read''' this https://www.mozilla.org/en-US/about/forums/etiquette/ <br /> And note I am not aware which forum this subject would be best discussed in. I suggest you politely ask that when you make an initial post.
    ** https://www.mozilla.org/en-US/about/forums/#dev-shumway
    ** https://www.mozilla.org/en-US/about/forums/#firefox-dev
    ** https://www.mozilla.org/en-US/about/forums/#general
    ** https://www.mozilla.org/en-US/about/forums/#governance

  • Why does goolgeearth work with Safari & Chrome but not Firefox

    When in firefox using Google maps and click on "EARTH" I receive a window indicating that to use 3D I need to install 21.0 Google Earth Plug-in with a "Download" option to click on. Note: Firefox 21.0 and MAC OS 10.7.5 have all current software updates installed. Safari & Chrome do not request for any plug-ins and 3D Earth option works fine. ANY HELP?
    PS. my MAC does have an Intel HD Graphics 3000 installed but my MAC, Safari & Chrome work fine.

    JKELLETT, That initially happen to me also. When you go to dolinsky296's suggested website https://www.google.com/earth/explore/products/plugin.html I saw "Download plug-in" box in the middle of the globe. When I click it the download executed but the plug-in never got installed. Then I clicked on "Download Google Earth" in the ''upper right corner'' of the website and life was good. Google Earth now works in Firefox.

  • Z10 does not sync with Google contacts

    I've had my Z10 for about a week and am trying to set it up. I am trying, and failing, to replace an Android device with this phone. I used the easy setup for "Email, calendar, and contacts" to link the phone to my gmail/google account. That account has two-step verification enabled and the setup program duly collected the verification code. All three accounts got set up and populated with the latest from google.
    But ..... if I make a change via a web browser on my PC (an up-to-date Arch Linux system), those changes simply don't get picked up by the phone, even with the sync interval set to 5 minutes. This is not a matter of not waiting long enough. It's a matter of sync not working. The phone does pick up new email messages arriving and new calendar entries.
    If I try to change the sync interval, after the 'save', I'm told that my login credentials were not correct. After one of those episodes, I deleted the 'contact' account and added a new one, this time using the caldev approach under 'advanced settings'. This behaves the same way (except that it requires an application-specific password from Google, rather than honoring the fact that I'd already supplied a valid two-step code). Contacts get loaded as part of the account setup, but no further sync-ing happens.
    I've wasted almost an entire day on this. Googling reveals plenty of other people complaining of the same problem and over a two-year time period. You would think that Blackberry, now the 90-pound weakling in the mobile hardware business, would pay careful attention to making their software work correctly with the largest purveyor of email, calendar and contacts. But they haven't.
    It's too bad, because this system has a lot to recommend it (I am a retired computer professional and spent almost 50 years of my life developing software and managing large and small software projects and I am confident that I know good stuff when I see it, and much of this system *is* good). But my primary requirement is that the phone be a good organizational tool and if it ignores changes to my contacts, it's useless to me and I will return it and stick with the less elegant, but more functional Android, unless someone has a bright idea for how to fix this.

    Leslie8120 wrote:
    donallen wrote:
    Well, I tried a workaround: use Link to sync the phone to Outlook. I just want a way to edit contacts with a computer and sync them with the phone, and very occasionally go the other way when circumstances require. You know, like we did with Palms 20 years ago?
    What I found was that sync-ing contacts 1 way from device to computer produced no contacts in Outlook. Just utterly frustrated, I called the place where I bought it to try to get some help, they were clueless (and trying to call Blackberry is a waste of time; they won't talk to you unless you have a paid support contract), and so I asked for and got an RMA # and return label.
    But still thinking about this, I poked around in the phone and noticed the BBLink accounts for calendar and contacts and thought "can it be that this system, which provides a nicety like Hub, which gives you an integrated, chronological view of *all* your communications -- calls, texts, emails, etc. -- be only sync-ing the BBLink accounts, not the Google accounts?". This is correct, difficult as it is to believe. So I exported my contacts from Google, imported them to Outlook, and did a 1-way sync from the computer to the device, and, mirabile dictu, the contacts showed up in the phone. After about an hour and half. Further synchronizations, done after some cleanup of my contacts were also very slow, though not this slow, since few contacts were actually being transferred in these incremental synchs.
    Whoever wrote the synchronization part of Link clearly doesn't understand the concept of complexity of algorithms. (S)he also clearly didn't test this code on a contact data set of any significant size. I have about 1800 contacts. I had about the same number many years ago when I had a Palm that would sync an order of magnitude faster than this Blackberry setup and do so on much slower hardware with a slower communications channel (a serial port). 
    I also found that two-way synchronization produced some very odd messages, such as telling me that essentially all the contacts were in conflict. I abandoned the idea very quickly of ever trying a two-way sync (again, standard practice with Palms).
    Link is clearly a crock, but I think I've coerced it into doing what I need. I have until the end of January to decide whether to keep the Z10, and as I said in my original post, there's a lot I like about this phone. So I will use that time to see if I really have found a workaround for this ridiculous synchronization weak spot.
    Hello, 
    I`m glad you figured out a way to do what you need to do. I have red before some other people having issues with BB Link and Outlook. I never used Outlook - I prefer Google account, which for me has worked very well, regardless what phone I use. It is true, it can take some time to sync in everything but for me it never took days as others have said. 
    However, once the huge amount of data is synched to your phone, you don`t need to worry about further time consuming synching. 
    Are you saying that synching with Google *contacts* works for you? In the sense that after you have the phone loaded up with all your Google contacts, if you make a change to the contacts with a web browser that the change appears in the phone? And vice-versa? Neither of those cases work for me. One wrinkle: I use two-step verification on my Google account. Do you? I am very suspicious that two-step verification is the cause of my issue with contacts synchronization (though, as I said in my original post, email and calendar synch do work).

  • Why can't I buy Google Earth app?

    So I got my iPad a year ago. And I'm from Slovenia.
    I see Google Earth is not visible as an appcfor us. aneuther can we installl Eurosport player.
    As member state of RU,cthis annoys me.
    If our money is okay to buy iPad,cwhy isn't it good to buy these apps or services as well ?
    All the family takes advantage of this device.
    Best regards
    your faithful user
    Grega Jesih

    Jonathan, thank you.
    I understand this might not be the place... which is it then, do you know?
    How is it then that it's a free app, it should be also free then for EU (not RU), why shouldn't it be ?
    On Windows, it's also free.
    I heard jailbraked iPads can install it.
    Something does not fit here. Which contract or licence... i wonder.
    Thanks anyway.
    BR
    Grega

  • EPrint does not work with Google Apps for Business (hosted email)

    I have looked up numerous posts, from back into 2011 even, and HP still has not resolved this.
    HP's ePrint does not work with companies using Google Apps for Business (hosted email).
    Our emails come from our domain, but from the servers/DNS of Google, so we wind up getting
    the "550 5.7.1 Command Rehected" error.
    This is a major issue as more and more companies (especially small business owners) are moving away
    from having in-house/Exchange servers, and they are moving toward hosted systems.
    You really need to find a way to stop rejecting emails coming from Google Apps hosted email.
    It's been around 4 years now (looking at previous posts). Why hasn't HP found a resolution to this yet?

    I have brought your issue to the attention of an appropriate team within HP.
    They will likely request information from you in order to look up your case details or product serial number.
    Please look for a private message from an identified HP contact.
    Additionally, keep in mind not to publicly post serial numbers and case details.
    If you are unfamiliar with how the Forum's private message capability works, this post has instructions.
    Aardvark1
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!

  • Comparing function values. Why does it fail ?

    Does anybody know why the comparison fails of two variables pointing to the very same function ?
    I'm keeping a list of function references in a sequence. At some point specific references have to be removed from the sequence. This is done by passing the function reference to a function doing this job. This won't work however as each usage of "observer.update" yields me a different reference.
    Comparing with '==' and 'FX.isSameObject' fails. Is there another way to check if these two objects are in fact equal ?
    TIA !!!
    Jan
    class Observer {
        public function update() :Void {
            println("updated");
    def observer = Observer{};
    def fVal     = observer.update;
    def fValToo  = observer.update;
    println("Comparing {fVal} and {fValToo}");
    // shouldn't at least one of the two checks succeed ???
    println("Are these the same functions ? {fVal == fValToo}");
    println("Maybe with the isSameObject  ? {FX.isSameObject(fVal, fValToo)}");

    Well... I didn't know Void was assignable. Thank you for that ! :-)
    Alas, there's a misunderstanding here : I'm comparing the references to the functions; not to their return values.
    It's not a typo when I write
    def fVal = observer.update;{code}
    Instead of
    {code:java}
    def fVal = observer.update();{code}
    The former is a reference to the +update+ function while the former is a reference to the return value of the +update+ function. The former will allow me to invoke the +update+ function by
    {code:java}
    // keep a reference to the update function
    def fVal = observer.update;
    // execute the update function
    fVal();{code}
    The question is really how to determine that two references to +a function+ are the same. Apparently every usage of +observer.update+ gives you a different object. Of which the +equals+ function unfortunately doesn't seem to work. Or maybe this by design ?

Maybe you are looking for

  • How do I find out what applications are running in the background

    I have a 2008 iMac with 2GB memory.  How do I find out what programs are running in the background?  I am going to buy a new iMac before the end of the year to replace this one.  When I looked at Activity Monitor it shows 1.8Gb used but doesn't tell

  • Live Office SP3.4/Office 2010 - Live Office objects disappear on conversion

    I am testing Live Office XI 3.1 FP3.4 on a Windows 7 laptop with Office 2010 installed and have a question. I take an Excel 2003 file (XLS) file that has Live Office connections and open it in Office 2010. Then I save as an XLSX file. While saving I

  • Align on comma tabs with tagged text in ID CS2

    We have a problem generating tabs aligned on comma with tagged text in CS2.<br />It works for other characters (like dot for example). Any attempt until now leads to an Indesign CS2 crash at import.<br /><br />The problem seems to be that the comma i

  • Performance of a java program.

    Dear team, how I can know when a java application is 'faster'? I mean, is better to use arrays or not? Is better to use bytes than integers?etc etc... Do you know any software that it can show me when my program uses low memory, or something that can

  • Where to include the jpos.properties file?

    Hi, We have a code that needs to be run. I have used the netbeans to do it. I understand that netbeans has its own environment variables that makes the application independent. The code works in netbeans but when i try to run it in the command line,