How to launch an Air desktop app from a second Air desktop app?

Hi,
Is there a way to launch an Air desktop app from a second Air desktop app?
I'm using Air 4 with Flash CS 6 on Windows.
Thanks

According to Adobe documentation, AIR doesn't allow you to launch one application using another on desktop. The best bet that I could find at the moment would be to use the File.openWithDefaultAppilcation() function and open a file(like a .doc or .txt file) that has an AIR app set as the default application to use for X filetype. Unfortunately, launching app(.exe, .app, etc) files directly is not allowed. Probably for safety/security reasons. You might be able to get around that with a Native Extension though. Below is a link to the File.openWithDefaultApplication() method which includes a table of all the filetypes not allowed. Tried messing around with some ways around it, but the best I could do was open a new Finder window(testing on a Mac) and highlight the file. The code below assumes that both AIR apps are installed in the same app directory. Not sure how it would work on Windows but the result might be the same. For Mac, no special characters or anything was needed even though the app I was trying to open had spaces in the filename.
var filePath:String = "file://" + File.applicationDirectory.nativePath + "/App to highlight.app";
navigateToURL(new URLRequest(filePath));
File - Adobe ActionScript® 3 (AS3 ) API Reference

Similar Messages

  • How do i get apps from iMac to air

    how do I get apps from imac to air. Just purchased an air

    There are several ways to do it. The 'cleanest' way is to install them fresh on your Air. Anything you purchased from the Mac App store, you can install on your Air by logging into the App store with the same Apple ID.

  • How do I transfer all my data from an iPad Air 32 GB wifi to a new iPad Air 2 wifi 64 GB?

    I received right now a brand new iPad Air wifi 64 GB.
    How do I transfer all my data from an iPad Air wifi 32 GB, with no more space in iCloud?
    Thanks a lot.

    iOS- Transferring information from your current iPhone/iPad/iPod touch to a new device
    Transfer content from an iPhone, iPad, or iPod touch to a new device
    iTunes Store- Transferring purchases from your iOS device or iPod to a computer
    How to re-download purchased apps from the App Store

  • How do I safely remove a flashcard from my mac air?

    How do I safely remove a flashcard from my mac air? I downloaded some pictures and cannot find the eject button.  Thank you.

    If you have mounted drives setup to show on your desktop, just drag the icon of the flashcard to the trash and then remove the card. If you don't have mounted drives setup to show on your desktop, go to finder and in the left pane, locate the flashcard and click it. There will be a little eject icon next to it. Just click that and then remove the card.

  • How do I transfer all my data from an iPad Air wifi 32 GB to a brand new iPad Air 2 64GB?

    I received right now a brand new iPad Air2 wifi 64 GB. How do I transfer ALL MY DATA from another iPad Air wifi 32 GB ?

    Back up your old one. I use and prefer iTunes, but back up all the data, etc.
    Then unplug it. Plug your new one in and go through the setup steps. When you see the option to set up as new or restore from the backup you just made, choose that and your new iPad will be a near clone of the old one.
    http://support.apple.com/en-us/HT2109
    has step to step instructions.
    If you are going to get rid of your old iPad, read this before you do so, just to make sure you're not inadvertantly selling someone a brick
    Selling an iPad
    http://support.apple.com/kb/HT5661

  • How to get rid of the other from the MacBook Air Memory?

    How to get rid of the other from the MacBook Air Memory? I reviewed my newly purchased MBA ear;y 2014 i7 8GB RAM and there was 24+ GB of "Other". I have Yosemite. I have restored to factory with no luck. is there a memory cleaner or process to eliminate what is not needed in Other? I know some files there are settings, and such but not 24+ GB worth is such of stuff.

    About “Other”:
    http://support.apple.com/en-us/HT202867
    Go step by step and test.
    1. Start up in Safe Mode.
        http://support.apple.com/kb/PH11212
    2. Backup your computer.
    3. Empty Trash.
       http://support.apple.com/kb/PH13806
    4. Disk space / Time Machine ?/ Local Snapshots
      Local backups
       http://support.apple.com/kb/ht4878
    5. Delete old iOS Devices Backup.
        iTunes > Preferences > Devices
        Highlight the old Backups , press “Delete Backup” and then “OK”.
        http://support.apple.com/kb/HT4946?viewlocale=en_US&locale=en_US
    6. Re-index Macintosh HD.
        This will take a while. Wait until it is finished.
        System Preferences > Spotlight > Privacy
        http://support.apple.com/kb/ht2409
    7.Try OmniDiskSweeper. This will give the storage size details of the items.
       https://www.omnigroup.com/more
       Select Macintosh HD and click  “Sweep Selected Drive” at the bottom.
       Be careful. Delete only the files that can be safely  deleted. If you are not sure about any file, don’t touch it.
    8. Move iTunes, iPhoto and iMovie media folders to an external drive.
        iTunes
        http://support.apple.com/en-us/HT201562
        iPhoto
        http://support.apple.com/kb/PH2506
        iMovie
        http://support.apple.com/kb/ph2289

  • How can i save a pages doc from my macbook air into include

    how can i save a pages doc from my macbook air into include

    For about the 20th time, iWork for OS X, at this time, isn't iCloud aware.
    Look at :
    http://support.apple.com/kb/HT4942
    Yvan KOENIG (VALLAURIS, France)  mardi 22 janvier 2011 10:52:50
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • How do you export your iphoto library from a mac air to an external hard drive to free up space on the mac air

    how do you export your iphoto library from a mac air to an external hard drive to free up space on the mac air

    Go to Pictures folder and copy the library to the external drive. Then, open iPhoto holding Option key and select the library in your external disk. Finally, delete the library on Pictures

  • How do i remove the finder window from my start up desktop window.

    How do i remove the finder window from my start up desktop.

    Are you saying that when you log in, there are finder windows open before you even do anything? If so, that's because last time you logged out you left them open. Next time close all your finder windows before you log out and you should be good.

  • How can I get contacts and calendar from outlook on my desktop to my new ipad 4

    How can I get contacts and calendar from outlook on my desktop to my new ipad 4

    Move the cursor over the icon and click the X that appears.

  • Im trying to update my apps from the ipad in the app store section and when i press update the ipad tells me that im not connected to the itunes store??

    Im trying to update my apps from the ipad in the app store section and when i press update the ipad tells me that im not connected to the itunes store??

    Saw this on another post.
    Applecare Senior Advisor Txx Bxxx (I have his contact info in an email he just sent) just confirmed with me that the problem people are having with the App Store not loading is an apple issue with there servers, ITS NOT YOUR IPAD so don't go restoring it!   It's not happening to everyone however but they are looking into it, its really hit or miss.
    In the meantime ...........
    The Complete Guide to Using the iTunes Store
    http://www.ilounge.com/index.php/articles/comments/the-complete-guide-to-using-t he-itunes-store/
    Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368
    iTunes: Advanced iTunes Store troubleshooting
    http://support.apple.com/kb/TS3297
    Best Fixes for ‘Cannot Connect to iTunes Store’ Errors
    http://ipadinsight.com/ipad-tips-tricks/best-fixes-for-cannot-connect-to-itunes- store-errors/
    Try this first - Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    This works for some users. Not sure why.
    Go to Settings>General>Date and Time> Set Automatically>Off. Set the date ahead by about a year.Then see if you can connect to the store.
     Cheers, Tom

  • Premiere Elements 4.0 - How do I change all the clips from 5 seconds to 2 seconds in length?

    Premiere Elements 4.0 - How do I change all the clips from 5 seconds to 2 seconds in length?

    Christine,
    The Duration of Stills is set with Edit>Preferences to the number of Frames required, where ~ 30 Frames = 01 sec. of Duration.
    Unfortunately, the Duration cannot be reset (Edit>Preferences) for material that has already been Imported. The procedure is to Delete those Imported Stills, and make the change, then re-Import them, and you will get the Duration that you have reset.
    The only other option at this point is to manually Click-drag on the Head, or Tail of each Still in the Timeline, to adjust the Duration. I do this with the Info Panel open and visible to make it easier. Personally, unless I am well into the editing process, the Delete, change and re-Import option is my choice.
    Good luck,
    Hunt
    PS - the ability to alter the Duration en masse for Imported Stills in the Project Panel has just been added in PrPro CS5. I do not know if it has been added in PrE 9 though.

  • Is it ok or safe to download apps on tongbu? Cause im worried that my iphone can get a virus when i dowloaded apps from othew websites (not on app store)

    Is it ok or safe to download apps on tongbu? Cause im worried that my iphone might get a virus when i dowloaded apps from othew websites (not on app store)

    booski62005 wrote:
    Is there a way to restore it with backup?
    No. You must restore it to factory settings, without restoring the backup. There's no other way to clear your phone.
    If this seems unpleasant to you, keep in mind that 1) the prolonged effects of having malware on your phone would be far worse, and 2) you brought this on yourself by engaging in software piracy.

  • How do I stop apps from my iPad Air being downloaded to the iPhone4?

    If I download a game or app to my iPad Air in iOS8, why is it downloaded to my iPhone4 automatically when I sync through iTunes12 on my iMac. Have I somehow turned this auto match download? How do I stop this from happening? I only want what I download to the iPad Air, unless I manually decide to install it on the iPhone4 through iTunes12.
    jr

    With the settings changed on the iPhone4, why the iPad Air? I downloaded the apps to it. Then chose to delete them, which works. I just have to remember to delete them from iTunes12 eventually.

  • How Do I Delete An App from My iPhone When the App does not appear on my PC

    I downloaded an app directly to my iphone. I want to delete the app. Usually I simply sync to my PC, and then delete the app from itunes and it is gone when I re-sync.
    In this case the app doesn't show on the list of apps you can check or uncheck to show or not show on the iphone when syncing. Also in itunes, when I click on Devices, and then content, Apps isn't one of the choices in the drop down menu.
    How do I get this app off my iphone??

    I have the same problem on my iPhone - an app I want to delete but can't. The app in question doesn't show up on the list of apps i iTunes and doesn't show an 'X' when it starts to wiggle. All the other apps do, but not this one. It's definitely an app. How do I get rid of it, please?

Maybe you are looking for

  • I need to reinstall Photoshop and Premiere Elements 10. Where can I find the download link?

    I need to reinstall Photoshop and Premiere Elements 10 on my Windows Laptop. Where can I find the download link?

  • List display update labelfunction after drag and drop

    I have two list boxes. I have drag and drop enabled and depending upon whether an item has been already dragged to the right box, I want its display in the left box to change (gray out). I have the  label function working fine but it's always one ite

  • My google toolbar buttons are missing

    After upgrading to Firefox 4 google toolbar buttons are missing. Even when using Firefox 3.6, this problem used to happen sometimes. I tried deleting localstore.rdf, but it didn't fix the problem. I have windows 7 on my laptop.

  • Full backup every day

    Hi All, for the last few days for some reason, Time Machine (using Time Capsule) is backing up entire content of my disk (86 GB) once a day. After this is done, it creates incremental backups as it should, but on the next day, again full backup is be

  • BDC Program for FCH5 and FCH6

    Hi ALL, Pls send me BDC program for FCH5 and FCH6 in function module it self.. How to write BDC the program in function module for FCH5 and FCH6.. Thanks