Detecting/Displaying ApplicationUpdater.currentVersion

I want to display the current installed APP version on a page inside a nativewindow and have had no success.
Have tried:
alert(air.update.ApplicationUpdater.currentVersion) and get TypeError: Result of expression 'air.update' [undefined] is not an object.
This is on the same page which AIRAliases.js is included and other nativewindow stuff (like reading/writing files locally) is being done.

Joe ... Ward wrote:
ApplicationUpdater is not built in to the runtime. To use it, you will have to
load the SWF as a library using a script tag.
Thanks for pointing me in the right direction.
SOLUTION that worked:
<script type="application/x-shockwave-flash" src="./lib/air/applicationupdater_ui.swf"></script>
var appUpdater = new runtime.air.update.ApplicationUpdaterUI();
alert(appUpdater.currentVersion);

Similar Messages

  • Detect displays seems to have quit working? The secondary monitor is bleeding into the MacBook Pro monitor. How can I fix this?

    I am using a MacBook Pro 2009, Snow Leopard (OSX 10.6.8). All of a sudden last night after a long day of work, my monitor resolution changed without warning and the secondary monitor display started bleeding into my laptop monitor. When I go to detect displays, it doesn't fix the problem. It looks like I need to switch to a larger display setting and the largest setting has disappeared.(The display seems to default to this setting where my screen bleeds into the laptop monitor.) When this started happening last night, I immediately shutdown and restarted to see if this would fix the problem. So far, it's still not looking too good.
    I also tried shutting the laptop and using the external monitor only. When I do this, the monitor freaks out and keeps flashing on long enough for me to input a password. Then it flashes off, the computer and dipslay goes to sleep and I have to re enter my password to exit sleep mode and the process starts all over again.
    Here are screen shots of the two monitors side by side:
    http://danisco.files.wordpress.com/2013/07/monitors.png
    (Notice the weird overlap - it's not keeping me from working, but it's super annoying!)
    Any ideas on how I can try and fix this? OR do I need to get help from Apple directly. Thank you in advance for any suggestions on this!

    Okay - this issue seems to have resolved on it's own. Yea!
    I did find a thread that suggested resetting the PRAM/NVRAM so I did this, restored the external monitor to factory settings and went into Disk Utility and repaired disk permissions and verified disk permissions.
    Here is a link to reset the PRAM/NVRAM: http://support.apple.com/kb/HT1379
    These things may have helped resolve this issue. I can't tell what worked because it was hours after I did all these things that my monitor and computer decided they liked each other again. If you have a similar issue, maybe these steps will help you resolve your problem too.
    Hope this is helpful!

  • Detect Displays no longer works after upgrade

    Mac Mini 2009 - two weeks old, came with Leopard. Took some doing, but have it hooked up to Sony Bravia 40" LCD via Mini-Display port to VGA adaptor. Detect Display worked fine, connected at High Def resolution. Upgraded to Snow Leopard 10.6.1 today, and Detect Displays finds nothing, I can't get any more than 1280 x 768 out of the display, no high-def. Tried many of the tricks I found in forum - zapped PRAM, booted into safe mode, deleted windowsserver preference plist files. No avail. Is this a general problem with Snow Leopard?

    I do have the same problem with the macbook alum. After the upgrade, i have no more resolution of 1080i, becouse it fails. Only res like 1280*1024 is the max i can get. I figured out that the profile of my LCD bravia is no longer detected by the display manager, back in 10.5 it was "Sony Lcd" (or something) now is "Vga display". EXTREMELY WEIRD is that after a lot of test's (reset ram, delete profiles, etc, etc) i try to change my vga cables, first try... no luck, back to the classical cable and "MAGIC" 1080i res came out of nowhere, and the profile was Sony LCD... but it was just one time (i reboot and it was gonne!!!) i haven't been able to recreate the same thing. So i still stuck with this subject and low res for the mini VGA display adapter!!!

  • I used to have an icon on my menu bar at the top of my screen to help me detect displays (monitors)  It has disappeared and I don't know how to get it back.  Does anyone know?

    I used to have an icon on my menu bar at the top of my screen to help me detect displays (monitors)  It has disappeared and I don't know how to get it back.  Does anyone know?

    Your's may look more like this...
    ...if you're running Mountain Lion. I'm in clamshell mode right now, so I don't have any mirroring options. AFAIK, there's no more "Show displays in menu bar" in Mountain Lion.
    Clinton

  • Dual Display - help with Cinema Display for MacBook Pro where MB won't detect displays.

    I just got a Cinema Display (a1081 20") ("CD") off eBay to use as a dual screen with my Macbook Pro OS X 10.6.8 ("MB"). However, I can't get MB to recognize CD! I've tried power cycling both the MB and the CD with and without USB cord connected. MB won't recognize CD display in any situation. However, it is recognized in some capacity although I can't use dual display because the CD power button triggers MB to ask me if I want to restart, shutdown, or cancel.
    Any help is appreciated!!

    Have you tried smc and pram resets?
    Try Detect Displays in the Displays preference pane.
    Does the Displays preference pane Arrangement show two screens?  If so do click gather windows and check the resolution setting of the new screen.

  • Macbook pro thunderbolt 2011 won't detect display

    I am working on a Macbook Pro, October, 2011 model with a thunderbolt port.  I have now gone through two thunderbolt to HDMI cables and neither was able to detect my display, which is a Sony Bravia.  Should I throw in the towel and buy a $50 (rip-off) cable from Apple, or could it possibly be that my port is faulty?  Anyone with a similiar problem? 

    No, don't buy expensive cables.  Do you have a url (link) to the cable you are using?
    On what basis do you think that your computer doesn't detect your TV?
    If you opened Displays system preferences, click Detect Displays.  Is there an Arrangement tab and an does it show two monitors?  If not, then there is indeed a physical problem Make sure the cable is fully seated in the HDMI on the TV and the TB socket on the computer and also make sure your TV is set to take input from the HDMI input port you connected the cable to.
    If the Arrangement tab is there and shows two screens click Gather Windows.  This should bring the Displays preference window for the TV on to your main screen.  Then set the resolution (probably 720p, 1080i, or 1080p) and refresh rate (probably 60Hz).  At this point you should see a picture on your TV.
    You may have to play the underscan/overscan settings on your TV and the displays prefs for the TV if the picture is too small or larger for the TV screen.  If Sony's haven't changed they may call it "full pixel".

  • Internal display not detected. "Detect displays" option now gone...

    Hello!
    My MacBook Pro will not detect any displays. After going to sleep a couple of nights ago, and bringing the computer out of sleep, the display would not turn on; even though I could hear the computer wake up and the fans turn on.
    I hard-reset the computer and the display still would not turn on after the power down. Was able to connect to my computer through my wife's MacBook through "Share Screen", and everything is working except the display. I immediately backed up my data realizing the system was working fine (not a hard drive issue, hooray!) other than the display. I tried connecting my computer to an external display and did a restart with the lid closed and the computer would not detect the external either.
    Through share screen, I then went into the Display Properties and to my surprise noticed that the "Detect Displays" button has disappeared! Furthermore, when I go into
    "About This Mac > More Info... > Graphics / Displays"
    Nothing is listed for the screen! On my wife's MacBook it lists the LCD's resolution and other information, but not on mine. Also, under "Display Connector", hers says "Status: No Display Connected"; where as mine says nothing at all, its blank underneath the words "Display Connector".
    I reset the P-RAM and that did not help either. If I could I would do a fresh install of OSX, but I can not see the screen so I can do that either.
    Is there any way I can reset the computer by any other means?
    I also don't have an issue with taking this computer apart, as apple care is expired, and I've done my fair share of take aparts before.
    Once again, the computer is starting up and working, but the screen is not being detected or turning on. Everything else works. I called apple and they wanted me to pay $50 for an over the phone troubleshoot, or to take it in to the apple store (an hour away from here) and possibly pay $300 for it to be fixed. AHHHH!
    Thanks.

    OK, I am confused...can you see an image on an external display or not?
    The torch/flashlight trick will tell you if the backlight is out and you are still getting an image and it is a display problem. Although dead backlights are less of a problem with the LED backlit displays.
    In your last post you say "If I could at least detect an external...", this leads me to believe that you are not able to detect an external display. With this assumption, it looks like the video card, which if memory serves me correctly is on the MLB and would require replacing the MLB.
    If you are able to get an image on an external display, then we are back to the display as the problem.

  • Mac-mini "detect displays" where is the individual model's DDC info stored?

    I have a dilemna- I just bought a new 20" NEC LCD screen that has all sorts of bells and whistles. It's 1600 x 1050 native, and has DVI, analog VGA, YUV, compostie, and RF inputs. It is supposed to have a scalar that supports a multitude of resolutions including 1920 x 1080i.
    I bought it for a system of which has (2) mini-macs through a DVI KVM. I had one mini-mac successfully read the DDC info from the montior, and it provides a wide range of supported resolutions (including 1600 x 1050). All resolutions listed are progressive (no interlaced options)
    When I switched my KVM to the 2nd mini-mac it was stuck in 1024 x 768, and that was the highest res that the display preferences gave me (probably because that's what it read off the DDC of the KVM switch?). When I hit the "detect displays" button, it proceeded to update the list of supported resolutions, but a very bizzarre thing happened: It did the opposite of the first mini-mac, and only listed "interlaced" video resolutions (with the exception of 1280 x 720p and 640 x 480p). The list was all 'broadcast-style" resolutions.
    The profile for this montior on this mini-mac is now stuck in this mode, and I cannot get the desired 1600 x 1050 resolution that is native to the monitor. I've tried everything I could think of including ditching plists, clearing the PRAM, tricking the mini-mac, etc....
    It's almost as if a mini-mac stores a registry of the monitor's DDC information onto the video card 'permanently' the first time, and never allows to re-read the DDC info again???
    Does anyone know how to clear this registry?
    The other clue to this whole thing is that the monitor has an option where you can set the DVI IN to either "DVI-PC" or "DVI-HD". The fussy mini-mac displays nothing in "DVI-PC" mode, and the behaving mini-mac displays in both modes. It's possible that the monitor was in "DVI-HD" when I hit the "detect displays" button on the fussy mini-mac.
    Any help would be greatly appreciated.

    Wow, I wish I had your set up to play with. I could probably learn a lot from it
    When DDC is read by the Mac, and when users make resolution settings based on it, the resultant settings are stored in a file called com.apple.windowserver.plist. There is one such file in /Library/Preferences but there may also be occurances of it for each user account on machines set up for multiple users AFAIK. They are plain text files so you can actually read them with TextEdit or other text editors.
    The simplest thing to do might be to copy the file from the mini giving the desired behavior and use it to replace the file on the mini with the bad behavior. I don't think there is any machine specific info in the file, so I believe the file should be portable in this manner. On the other hand, this may not work because when you restart the misbehaving mini it might regenerate a "bad" windowserver.plist file again and replace the one you just copied over. Although I don't think that will be the case. Can't hurt to try. You might want to keep the older pref file around and rename it to "preferences.old". There is a procedure outlined here that is similar although it is based on doing everyting from starting into console mode:
    http://docs.info.apple.com/article.html?artnum=106464
    As for why one mini is reading EDID one way and the other reads altogether something else, that's a really good question and one that I hope you are able to track down the answer to and report your findings back here. It could provide a lot of insight into other types of problems people have reported on this forum. Perhaps it relates to the DVI-PC or DVI-HD setting you refered to, but I have never known any other display that actively changed its EDID. EDID is always fixed I thought. Good luck and let us know how things turn out.

  • Powerbook detect displays doesn't work on LCD TV.  Does on other TV.

    Hello,
    I recently purchased a telemprompter which uses an LCD TV with a composite input. (From here on out referred to as teleprompter) I set my powerbook up with the S-video to Composite adapter and hooked it up to my Big TV. The screen automatcially detected the external display and changed the settings and diplayed the screen.
    When my teleprompter showed up, and was plugged in, nothing happened. I went to the display perferences and clicked detect displays and the image flickered once on the telemprompter. But it didn't show anything else and a second display box did not show up.
    Then I plugged my TV in and it didn't auto detect, but when I clicked detect displays it did and all worked again. Then I plugged the telemprompter into the cable and IT WORKED. I could use the LCD TV.
    I then clicked "detect displays" and the image disappeared from the teleprompter and the second display box disappeared.
    For some reason it is not seeing this particular device. Is there a way to manually force a 2nd display? Everything would work, if I could tell OS X to output a display out the S-video port.
    Is this possible? Manually set 2nd display?
    I'm using 10.4.4 on a powerbook 1.67ghz. I'm going to try a cheap VGA scan converter in hopes that it will work that way, with a DVI to VGA to scan converter, to composite.

    I don't know if my recent experience helps us understand your dilemna, but I just bought one of these NEC 20" all-in-one LCD monitors. It has DVI, VGA, YUV, S-Video, Composite video, and RF input. It's native resolution is 1600 x 1050 and can supposedly scale any input resolution up to 1920 x 1080i. I'm having issues very similar to yours... maybe we can solve them putting our 2 brains together.
    I have (2) mini-macs. One of which detected the monitor just fine, and displays the 1600 x 1050 perfectly over DVI. The other seemed to only get a 'partial list' from the monitor when it did it's display detection. It seemed to only get the 'TV' style resolutions, because most of them are interlaced options, and the olny one that doesn't make the monitor twitch like an epoleptic is 1280 x 720p. There is no 1600 x 1050... there isn't even 1024 x 768, 800 x 600, or 640 x 480 listed!!! The funny thing is, if I output to the montior analog VGA (as opposed to DVI) I get the 'full list' of resolutions. This tells me that a 1-time preference/ registry is being made/ created when the detect displays is hit for the first time with a monitor. I can't figure out where the **** this preference information is stored either. It seems if we can find out where on these mini-macs this registry is made, we can solve both are issues... because it certainly is not an issue of the graphics not being able to output the desired resolution. It seems to be some bug in reading the DDC info from the monitor.
    If anyone can help.... much appreciation would be had from this frustrated user.

  • HT5900 Help "Detect Display" wirelessly with Apple TV,Macbook Pro,Samsung LED

    I have Apple TV, 15" Macbook Pro 10.7.5 (Software  Mac OS X Lion 10.7.5 (11G63) and want to use Samsung Smart TV LED Series 6,  for display wirelessly. In System Preferences it has tab for "Detect Displays" but nothing happens. Is there something else to do?  I specifically want to use Samsung TV for 2nd display from my Macbook Pro.  Help Please o wise Apple People!

    This article tells you how to turn it on:
    OS X Mountain Lion: Wirelessly mirror your Mac screen to your HDTV
    This article lists exactly what Mac you need to support it:
    About AirPlay Mirroring in OS X Mountain Lion
    yes, that is 10.8 Mountain Lion.

  • My MacBook Air (OS 10.8.4) does not connect to projectors consistently using a VGA/Thunderbolt connetor. The Monitors/detect displays box that I am used to never appears. Intermittently the "arrangement" window appears in the Displays System Preferences

    My previous MacBook Air running an older operating system synced up just fine with these same projectors using the same minidisplay to vga adapter. My new computer has Airplay on it, and Airplay shows up on my menu bar on the new laptop where the displays icon used to appear. I cannot get the displays icon to display (even when I turn Airplay mirroring off). It used to show up on the menu bar and if I had projector issues I hit "detect displays" and it resolved. None of that appears to be available with the new operating system and Airplay on. I am not sure why.

    My previous MacBook Air running an older operating system synced up just fine with these same projectors using the same minidisplay to vga adapter. My new computer has Airplay on it, and Airplay shows up on my menu bar on the new laptop where the displays icon used to appear. I cannot get the displays icon to display (even when I turn Airplay mirroring off). It used to show up on the menu bar and if I had projector issues I hit "detect displays" and it resolved. None of that appears to be available with the new operating system and Airplay on. I am not sure why.

  • Detect Display DVI issue

    I've read every thread on this board about DVI and i'm still at a loss over this query.
    The geniuses at my local apple store swear up and down that the macbook pro can output DVI-D dual link video. My Magnavox 42MF230A has the pin set for DVI-D dual link and has shown video sent using said cable in the past. When I hook the DVI-D dual link cable to the DVI output on my macbook pro (which appears to accept any pin set though I might be way off on that) I am unable to "detect display". The system preferences panel searches and then stops without finding the display. Am I doing something wrong or am I being told something wrong at the store?

    When you say the cable has shown video in the past, do you mean the combination of your MBP, the Magnavox and that cable worked at one time?
    Anyway, a couple of observations:
    Dual-link is irrelevant in this set-up. It's not needed. On the other hand, neither should it cause any problems.
    I would try and get my hands on another DVI cable to try. As above, it doesn't have to be dual-link. I would also try plugging another DVI device, besides the MBP, into the TV. And finally, I would try plugging the MBP into another DVI-enabled monitor of some kind. This is the only way I can think of to try and isolate where the problem might lay.

  • Mountain Lion doesn't detect displays on startup

    I use my MacBook Pro extensively in clamshell mode, and when I did this in Lion, the integrated screen would stay off whenever I turned onb the computer because the lid was closed. However, in Mountain Lion, the screen stays on despite the fact that the lid is closed. Is there anyway to force my Mac to detect displays on start up?

    Go to Sys Prefs > Displays > (hold Option) and a "Detect Displays" button will appear at the bottom right. The problem for me it's that even though a display is connected and I managed to get the button to show up, it still didn't detected the display until I unplugged and oplugged back again from the thunderbolt port.

  • Detect Display button gone!

    This is a rather infuriating mess-up in Mountain Lion.  My wife is an educator and has a class room projector she has to connect and disconnect to on a daily basis with her brand new Macbook Air. 
    The problem is that her Macbook Air will not detect the projector when she connects it. 
    The only way it will detect is if she either restarts the computer with the projector already connected or puts her computer to sleep and waits for to wake up and that sometimes works.
    Where as in Lion or any other previous version of OSX in the past five years you had the option of a Display Menu button (also gone) up at the top of your screen that showed connected displays as well as a Detect Diplays option that would do the trick.  To make things worse even if you go digging to the System preferences under Displays Preferences they completely removed the Detect Displays button! 
    The funny part is the Apple help menu still tells you click the Detect Displays button that doesn't exist.
    How on earth do you take such a monumental step backwards with an OS upgrade by making settings more difficult than easier?  Having to restart a computer to detect a display?  As a Mac user I haven't had to do that in the past 10 years!  Please return us all the display options that should be available under any circumstance period.

    Well folks I did find a work around for the time being.  Though it doesn't restore my options in the menu button I did uncover the Detect Displays button.  I was looking at my post request and behold I saw a related article next to this thread that says OS X Mountain Lion: About the Display pane of System Preferences ( http://support.apple.com/kb/HT5369?viewlocale=en_US&locale=en_US ) in the article it shows that they did indeed hide the option but it can be uncovered.  The funny thing is this article does not show up when I search for my problem.
    Hold the OPTION key in the Display Preference pane and the Gather Windows button will transform into the Detect Displays button.
    Here are screenshots to demonstrate what happens when you toggle the OPTION key off and on.
    Again why on earth did they hide this to begin with or  not include it in the Display Menu option at the top of the screen?  I don't know and I hope they fix it.  This is WAY TOO complicated of a solution for a simple function. Nobody is going to intuitively find the Detect Displays option.

  • My Lion woes, panes, detect display

    My complaints so far.  I am sure I will come to love the new features in Lion though when I get done with my bi', okay, will stop there.  Some complaints are dependent on me using screen zooming / scaling all the time due to my distance I sit from my display.
    Launchpad in VERY uncontrollable with my logitech performance mx mouse when trying to scroll left and right.  It stops for a second and when I go to select an app right then it seems to have inertia from the scroll and bounces back to the opposite end of the 3 panes away from my intended choice.  It is non scalable which means I have to lean forward in my chair to view the type.  Don't laugh, I am always using the command + zooming mouse wheel a lot as my display is my 24" HDTV 6 ft away.  Yeah, I am lazy about leaning up.  In a few months I am going to have a 55inch display and be sitting a few feet further away.
    The grey direction arrows (active/non-active url direction) in Safari are too similar to each other at a glance.  Make them CONTRAST more PLEASE.
    Never seen so many color wheels before.  A lot of thinking going on.
    My arrow mouse icon was flickering and completely disappeared for about 10 seconds.
    Screen video capture programs which worked in leopard doesn't work now. (I expect updates, maybe from developers but if not I want a refund for recent purchases).
    Screen shot dashboard program does not work.  (needs update obviously)
    Finder windows with panes have to be constantly adjusted (almost) each time I open them.  I haven't figured out why yet.
    Autocomplete typing feature inputs the wrong word sometimes and does this even when I do nothing but type as normal!  I have had more unintended but correctly spelled words than ever before.  Maybe I am doing something wrong.
    When trying to select a file to upload in Safari the selection window apparently did not give me the choice to look in all my files, desktop, documents, user.  It was as if was unable to show the actual files window.  After looking at this again I had to stretch the already big window to find the other pane.  This is not good!  Reminded my of Windows which I gave up years ago.
    (receiving attention from apple as of 7/21)
    My current 24" philips hdtv display with PC IN has been used with 2 minis in the past but is not discoverable with Lion and if it tries all video output stops.  Great customer support though with this as 2 Tech guys talked to me at length and they sent it up the chain of command to be addressed in an update they think within 10 days at the longest.  I am including this in case other ppl have this issue.  They are working on it.  More on topic :  I have to plug in a backup tiny display and then fool the system by then keeping the lower desktop resolution and plugging into the bigger display.  Sometimes when the mini sleeps I have to restart with the smaller display and go through tricking the system again.  If I try to DETECT DISPLAYS with the bigger display it then stops all display output and I have to restart using the smaller display, etc.
    Thanks in advance for setting me straight with anything I am clueless about and Thanks to Apple Engineers if they are looking through these discussion boards for feedback.

    Well folks I did find a work around for the time being.  Though it doesn't restore my options in the menu button I did uncover the Detect Displays button.  I was looking at my post request and behold I saw a related article next to this thread that says OS X Mountain Lion: About the Display pane of System Preferences ( http://support.apple.com/kb/HT5369?viewlocale=en_US&locale=en_US ) in the article it shows that they did indeed hide the option but it can be uncovered.  The funny thing is this article does not show up when I search for my problem.
    Hold the OPTION key in the Display Preference pane and the Gather Windows button will transform into the Detect Displays button.
    Here are screenshots to demonstrate what happens when you toggle the OPTION key off and on.
    Again why on earth did they hide this to begin with or  not include it in the Display Menu option at the top of the screen?  I don't know and I hope they fix it.  This is WAY TOO complicated of a solution for a simple function. Nobody is going to intuitively find the Detect Displays option.

Maybe you are looking for

  • Is it normal for progress bar to appear at every start up ?

    after upgrading to Yosemite, every time i start my Mac a progress bar appears and it seems to take longer to get to the home screen - is this normal ?

  • Supplementary Serverice Error: System Failure

    Hi, I am using the BB 8520 Curve on Vodacom with BIS activated. Everytime i try send a Please Call Me i get an error saying "Supplementary Serverice Error: System Failure". I searched on google and i cant find any solutions people say they get it fro

  • Cant see message in message monitoring

    Hi everyone, I am trying to implement File to JMS but i got stuckup with the monitoring. My current status is : File got picked and deleted . I cant see message in SXMB_MONI for my interface. In component monitoring- CC monitoring i can see message a

  • BO-DS Communication w/ SAP SRM/CRM

    Experts, Like we connect BO-DS with ECC by pushing through a few transports and setting up connection parameters, can we also connect BO-DS to SAP SRM/CRM? If yes, what is the approach? Thanks in advance. NW

  • Drop triggers in code causes SQL command not properly ended.

    running the following command in SQL developer giving the following error ORA-00933: SQL command not properly ended. What am I doing wrong Begin  For I In (Select Trigger_Name, Owner From Dba_Triggers Where Trigger_Name Like 'ABC%' And Owner = 'my_sc