Open air application by window hotkeys

Hi
I am developing flex air application.I have to implement hot-key functionality in air application.
For example whenever user press any two keys like ctr and S keys the open flex air application. and whenever user press any two keys like ctr and q keys then close flex air application.
Is it possible in flex?
Thanks

Of course you can! Check the Keyboard's events:
http://livedocs.adobe.com/flex/3/html/help.html?content=Capturing_User_Input_3.html

Similar Messages

  • Incorrect functionality of Embedded tag in html page, displaying object on top of all layers of Adobe air application native window

    Title
    Incorrect functionality of embed tag in html loader for adobe air development
    Description
    Problem Description: If we had loaded youtube.com video url in a view stack and navigate to other index of stack or away from we UI screen within the same native window video or embeded tag of flash player or any other embed object will be displayed on top of all screens layer in same position of where the object should be placed in side of html loader only.
    Steps to Reproduce:
    1) go to http://get.straweb.com/StraWebBrowser/StraWebBrowser.air download and install
    2) load 2 tabs and in the 3 tab load video player of youtube.com which will a sample video
    before completing the load of 3 tab which trying to load video from youtube.com, navigate to other tabs 1 or 2 in few second once the flash player of youtube.com video player is load it will display in the current tab or UI screen.
    3) Try navigating to other tabs than youtube.com loaded tab you see the flash player is on top it stable.
    4) navigate to 3 tab and try to navigate to other tab you can observe that so how it will not show that flash player and only visible in that 3 tab which is fine.
    Actual Result: Embedded tag of html page displaying on top of all layers of Adobe air application native window
    Expected Result: Embedded tag of html page should only displayed in side htmlloader
    This you can replicate in any adobe air plugin update and on any Hardware and Environment.
    Applicable to all sdk versions of adobe air.

    Adobe Bugbase: Bug 3823839 Incorrect functionality of embed tag in html loader for adobe air development

  • AIR application on Windows Server 2003

    Hi!
    We have developed an AIR application.
    It is installed on Windows Server 2003.
    It communicates with blazeds server application on other machine.
    But communication does not pass through to this server.
    Everything works fine on Windows XP.
    So we suspect on Windows Server 2003 security settings.
    How can Win Server 2003 be configured so that communication succeeds?
    (amfsecure, https web service).
    Thanks!

    Joe,
           If your application is running in Windows than it is not running in true realtime and you cannot make it a real-time startup executable.  In LabVIEW 8.0 and later you can create a debuggable executable, with which you can see the block diagram of an executable.  This Knowledge Base Article talks about how to automatically launch a VI at startup, which sounds like what you are looking for.  Here is a link to the Real Time Module for LabVIEW.
    Cheers,
    NathanT

  • Automatic startup of AIR application on Windows startup

    Does AIR provide any mechanism to make my AIR application
    startup automatically when Windows starts up?

    Yes. See this topic in the AIR documentation:
    For Flex developers:
    http://help.adobe.com/en_US/AIR/1.5/devappsflex/WS5b3ccc516d4fbf351e63e3d118676a5d46-8000. html#WS5b3ccc516d4fbf351e63e3d118666ade46-7cd5
    For Flash developers:
    http://help.adobe.com/en_US/AIR/1.5/devappsflash/WS5b3ccc516d4fbf351e63e3d118676a5d46-8000 .html#WS5b3ccc516d4fbf351e63e3d118666ade46-7cd5
    For HTML developers:
    http://help.adobe.com/en_US/AIR/1.5/devappshtml/WS5b3ccc516d4fbf351e63e3d118676a5d46-8000. html#WS5b3ccc516d4fbf351e63e3d118666ade46-7cd5

  • Opening Air application Directly

    Hi,
    I have developed a flex application. On clicking a button in the flex application, the AIR application should be installed. If the AIR application is not installed, the AIR application will be installed. The Installation shows the options of "Open" , "Save" and "Cancel". Is there any possibilty of showing only "Open" and "Cancel"?
    Thank You
    Raghu

    Re-installing the Story AIR app should resolve this issue.
    You can use this link to get the latest Story AIR app.
    https://story.adobe.com/AIR/AdobeStory.air
    Note: On Mac OS, before reinstalling the app, ensure that all previous installations of the app are completely removed. To search for old installations, search for "adobe story" in Spotlight.
    If reinstalling the app doesn't solve the issue, please revert back.

  • SharePoint PowerShell script to open Excel.Application on Windows server 2008 R2

    Hi
    I am building a PowerShell script to open an Excel file store on SharePoint document library.  Sound simple enough but I just couldn't get over an error and hopefully someone can help give an answer here.
    I have found many sample codes to use.  All of the sample codes show that a new object must be created for Excel application
    like ($Excel = New-Object -comobject Excel.Application) before that excel file can be read.
    When I run this comand on a SharePoint server (Windows 2008 R2) either inside the script or by itself I keep getting the following error:
     New-Object : Cannot load COM type Excel.Application.
    + $excel = New-Object <<<<  -Com Excel.Application
        + CategoryInfo          : InvalidType: (:) [New-Object], PSArgumentException
    For the test,  I ran this comand on a Windows 7 with MS Office applications installed,  then it ran fine.
    Is that because I don't have Office application (Excel) installed on the server to run this or some services need to be turned on?
    From the sample codes, look like I should be able to run it on the Server with SharePoint installed.
    Thanks for any advice or solution to resolve my issue.
    Swanl

    So I'm assuming this won't return anything either?
    Get-WMIObject Win32_ClassicCOMClassSetting | ? {$_.VersionIndependentProgId -like 'excel.application'}
    You need Office/Excel installed on the server because you're accessing those .DLLs for the automation functionality, but depending on what you're trying to do you may be able to use one of the office viewers:
    http://www.microsoft.com/en-us/download/details.aspx?id=10 although I'm not sure how much of the com (if any) is exposed in a viewer install.  if Office is not possible due to
    budget reasons, I believe there are several 3rd party providers who can produce a com object that will handle Excel formats.

  • Can't update AIR application on Windows XP service pack 3

    We've run into another AIR update issue with our AIR 2.0.4 sidecar product.
    Our application uses the standard ApplicationUpdater.checkNow() method to look for and download updates. Just such an update was issued recently, and one of our team members has reported an issue attempting to download the new update on a Windows XP service pack 3 machine.
    They are getting an Error 16818.
    Thanks for any insight.

    Hi,
    Error 16818 is "IO error while saving data to disk".  Is there any way we could get the installer log from this machine?  It might give us additional clues.
    Thanks,
    Chris

  • Opening an application in a new window

    Hi,
    I have an ordinary java class, which has access to request and response objects.
    From here, I need to open a third party application in a new window.
    Please let me know how I can do this.
    Thanks,

    do you mean a new window as in a browser? if so you could use javascript:
    <INPUT type="button" value="Open new application" onClick="window.open('http://www.sun.com')>

  • AIR application installation error (Windows)

    Hi,
    We’ve bumped into troubles while developing AIR
    application. The problem is in installation AIR application under
    Windows by a user without administrator privileges. When installing
    application user selects installation folder he has permission to
    write to. And after installation begins it ends with error #0: Some
    error occurred...
    In the installation troubleshooting it is written that
    installation of AIR application *may* require administrator
    privileges when installing to a location user has no rights to
    write to but we do.
    Is there any way to install AIR application by an
    unprivileged user?

    My understanding is you can do elevated installation on
    Vista, but not on XP.
    -ted

  • I am not able to sync ipad air on my windows laptop

    I connected ipad air with my windows laptop. I opened itunes application in windows laptop, but I am not able to see ipad in the menu/anywhere in the itunes.
    PLease help me to sync .
    Thanks,
    Satya

    iPad not appearing in iTunes
    http://www.apple.com/support/ipad/assistant/itunes/
    iOS: Device not recognized in iTunes for Mac OS X
    http://support.apple.com/kb/TS1591
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538
    iTunes for Windows: iTunes can't contact the iPhone, iPad, or iPod software update server
    http://support.apple.com/kb/ts1814
    iTunes for Windows: Device Sync Tests
    http://support.apple.com/kb/HT4235
    IOS: Syncing with iTunes
    http://support.apple.com/kb/HT1386
    Apple - Support - iPad - Syncing
    http://www.apple.com/support/ipad/syncing/
    iTunes 10.5 and later: Troubleshooting iTunes Wi-Fi Syncing
    http://support.apple.com/kb/ts4062
    iOS: "Not enough free space" alert when trying to sync
    http://support.apple.com/kb/ts1503
     Cheers, Tom

  • Testing adobe air applications with fake apple certificate in iOS simulator running in a hackintosh

    I can compile an Adobe Air application on windows with a fake apple certificate. Can I test this application in iOS Simulator running on a hackintosh? Or is the simulator blocking testing of IPA outside from XCode ie: it's not a standalone simulator for IPA files. Are there any affordable web service for testing IPA with a true emulator or real device? I'm asking this because Flash Builder doesn't provide a true simulator, it lacks essential API functions such as NativeWindow.

    Hello,
    thanksk so far. I can now create an ANE, hopefully it is correct...
    Now, while trying to use it in my mobile application, calling the Constructor of my SWC interface > call initNativeExtension() I get an:
    Type Error #1009 cannot access a property or method of a null object reference
    It seems that my code cannot load the ANE because I cannot instatiate the extension object.
    Can you help me ?
    THX
    marco    

  • How open phone app in windows phone

    hi , how i can open 'phone' application in windows phone from my app ?
    how i can use this code for open :
    await Windows.System.Launcher.LaunchUriAsync(new Uri(""));
    please help for solve this

    Refer following link
    https://msdn.microsoft.com/en-us/library/windows/apps/hh394021(v=vs.105).aspx
    In Windows Phone 8.1 Runtime you can try ContactPicker
    https://msdn.microsoft.com/en-in/library/windows/apps/windows.applicationmodel.contacts.contactpicker.aspx
    Gaurav Khanna | Microsoft .NET MVP | Microsoft Community Contributor

  • Installing a LARGE AIR application

    Hello,
    I am attempting to create an installer for Windows that installs the AIR runtime, our application, and all the content required such that any user can log in and use the application. Our application is an educational tool for autistic children, and will be installed in lab environments in schools.
    Our AIR application by itself is not large - about 5MB. However, it relies upon about 600MB of external assets. These include various forms of media: images, audio clips, SWFs etc. If I try to bundle all of this into a single AIR file using FlashBuilder 4, FlashBuilder dies due to lack of memory to the JVM. I have tried to increase memory to the JVM, but even given the maximum it still does not work. I then attempted to package and sign the AIR file using the command line tools. That appears to work, however that operation results in a bloated AIR file that is over 1GB in size, almost double the size of the content packaged into it. If I attempt to use the sidecar installer provided by Adobe to install this AIR file the installer dies. Further investigation shows that others have hit this same size limitation with AIR files, but there is no resolution in site to this problem.
    Since it seemed impossible to package the entire application into a single AIR file my next attempt was to keep the content separate from the AIR application. I have experimented with Installshield, but have found no way to chain together the sidecar installer MSI with another MSI that installs the content to the same location. I could install the AIR application, and then let the application itself finish the installation by copying the content to app-storage://, but then the application is only usable by the user who installed it. In a lab environment in a school this doesn't work, because typically the person who is installing the application is an administrator, not the end user. app-storage:// resides under a user's directory, not in a shared location. The application is unable to copy files to the app:// location due to the security model of AIR.
    I know that I can do a silent install from the command line using the sidecar installer, but I haven't found a way to chain this together with another MSI that installs the content. It could be that I am too limited by what Installshield Express offers. I am now attempting to use NSIS.
    Any advice anyone may have on how to do this is very appreciated. Surely others have needed to install large media rich AIR applications on Windows. AIR is a great platform for us in many respects, but I must be able to create an easy seamless install process for end users. Our product will be going into use over the next 6 months by over 1000 users, and that number will grow quickly. I would be willing to pay for a support incident from Adobe if that is warranted.
    Thanks
    Kevin MacDonald

    After much gnashing of teeth I I came up with what appears to be a workable solution. I am posting my solution here for the benefit of others. I was able to use NSIS to create an installer that first installs my AIR application via Adobe silent install feature (http://help.adobe.com/en_US/AIR/1.5/air_runtime_redist/air_runtime_redist.pdf), and then proceeds to install the content in the same folder. The end result is an application that should work for all users and is a reasonably seamless installation experience . The only downside is that you wind up with a total of 3 new items in the Programs & Features control panel: one for Adobe AIR, one for the NSIS installer, and one for the AIR application. The uninstaller only removes the NSIS installer, but that zaps all the content off the disk so it's not terrible. Another little gotcha is that the install folder in this script needs to match the folder in the descriptor file of the AIR application, because everything needs to wind up in the same folder.
    This also assumes you have permission from Adobe to redistribute the AIR runtime.
    My NSIS script is below.
    ; Script generated by the HM NIS Edit Script Wizard.
    ; HM NIS Edit Wizard helper defines
    !define PRODUCT_NAME "My Product Install Kit"
    !define PRODUCT_VERSION "2.0"
    !define PRODUCT_PUBLISHER "mycompany"
    !define PRODUCT_WEB_SITE "http://www.mycompany.com"
    !define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\Adobe AIR Application Installer.exe"
    !define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"
    !define PRODUCT_UNINST_ROOT_KEY "HKLM"
    ; MUI 1.67 compatible ------
    !include "MUI.nsh"
    ; MUI Settings
    !define MUI_ABORTWARNING
    !define MUI_ICON "..\..\..\..\..\__staging\InstallerResources\TT.ico"
    !define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\modern-uninstall.ico"
    ; Welcome page
    ; License page
    !insertmacro MUI_PAGE_LICENSE "..\..\..\..\..\__staging\InstallerResources\License.txt"
    ; Directory page
    !insertmacro MUI_PAGE_DIRECTORY
    ; Instfiles page
    !insertmacro MUI_PAGE_INSTFILES
    ; Finish page
    ; NOTE: This provides an option to run the AIR application. This depends upon the Client.air file creating this executable. It doesn't get created by this installer.
    ;       Also, The directory 'My Product 2.0' shown anywhere in this script must match the installation directory created by Client.air or nothing will be in the right spot.
    !define MUI_FINISHPAGE_RUN "$INSTDIR\My Product 2.0\My Product 2.0.exe"
    !insertmacro MUI_PAGE_FINISH
    ; Uninstaller pages
    !insertmacro MUI_UNPAGE_INSTFILES
    ; Language files
    !insertmacro MUI_LANGUAGE "English"
    ; MUI end ------
    Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
    OutFile "Setup.exe"
    InstallDir "$PROGRAMFILES\mycompany"
    InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" ""
    ShowInstDetails show
    ShowUnInstDetails show
    var removePreviousInstall
    Section "MainSection" SEC01
      StrCpy $removePreviousInstall "A previously installed version of My Product 2.0 has been detected at $INSTDIR\My Product 2.0 that must be un-installed before proceeding. Please go to Control Panel --> Programs and Features and fully un-install any mycompany components. Also, make sure that this folder is deleted. Then, you may attempt to re-install. The installer will quit now."
      SetOutPath "$APPDATA\mycompanyAIRInstaller"
      SetOverwrite try
      File /r "..\..\..\..\..\__staging\mycompanyAIRInstaller\*.*"
      ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Adobe AIR" "DisplayVersion"
      IfErrors installAIRRuntime
      Goto installAIRFile
      installAIRRuntime:
      MessageBox MB_OK "NOTE: The Adobe AIR Runtime will now be installed. Please accept the AIR license agreement in the following dialog and allow the installation to complete."
      ExecWait '"$APPDATA\mycompanyAIRInstaller\AdobeAIRInstaller.exe"' $0
      ${If} $0 != '0'
        MessageBox MB_OK|MB_ICONSTOP 'Adobe AIR Installer returned error code ("$0"). Adobe AIR must be installed for this installation to complete.'
        Quit
      ${EndIf}
      installAIRFile:
      ;Check for existence of a previous installation
      IfFileExists "$INSTDIR\My Product 2.0" ExistingInstallDetected NoExistingInstallDetected
      ExistingInstallDetected:
         MessageBox MB_OK $removePreviousInstall
         Quit
      NoExistingInstallDetected:
    ;  MessageBox MB_OK "Installing Adobe AIR Runtime and Application via silent installation"
      ExecWait '"$APPDATA\mycompanyAIRInstaller\Adobe AIR\Versions\1.0\Adobe AIR Application Installer.exe" -silent -eulaAccepted -location "$INSTDIR" -desktopShortcut -programMenu "$APPDATA\mycompanyAIRInstaller\Client.air"' $0
      ${Switch} $0
      ${Case} '0'
        ${Break}
      ${Case} '1'
        MessageBox MB_OK 'A restart is required to complete this installation'
        ${Break}
      ${Case} '3'
        MessageBox MB_OK 'The Adobe AIR runtime was not found. Please try fulling un-installing any intalled components and attempt to re-install.'
        ${Break}
      ${Case} '4'
        MessageBox MB_OK 'Failed to load the Adobe AIR runtime. Please try fulling un-installing any intalled components and attempt to re-install.'
        ${Break}
      ${Case} '7'
      ${Case} '9'
        MessageBox MB_OK $removePreviousInstall
        Quit
        ${Break}
      ${Default}
        MessageBox MB_OK 'Unknown error ("$0") installing the Adobe AIR runtime. Please try fully un-installing any installed components and attempt to re-install.'
        ${Break}
      ${EndSwitch}
      SetOutPath "$INSTDIR\My Product 2.0\assets\abagale"
      File /r "..\..\..\..\..\__staging\Client_abagale\*.*"
    SectionEnd
    Section -AdditionalIcons
      SetOutPath $INSTDIR
    ;  WriteIniStr "$INSTDIR\${PRODUCT_NAME}.url" "InternetShortcut" "URL" "${PRODUCT_WEB_SITE}"
      CreateShortCut "$SMPROGRAMS\mycompany\Uninstall My Product 2.0.lnk" "$INSTDIR\Uninstall My Product 2.0.exe"
    SectionEnd
    Section -Post
      WriteUninstaller "$INSTDIR\Uninstall My Product 2.0.exe"
      WriteRegStr HKLM "${PRODUCT_DIR_REGKEY}" "" "$APPDATA\Adobe AIR\Versions\1.0\Adobe AIR Application Installer.exe"
      WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" "$(^Name)"
      WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\uninst.exe"
      WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayIcon" "$APPDATA\Adobe AIR\Versions\1.0\Adobe AIR Application Installer.exe"
      WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}"
      WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "URLInfoAbout" "${PRODUCT_WEB_SITE}"
      WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "Publisher" "${PRODUCT_PUBLISHER}"
    SectionEnd
    Function un.onUninstSuccess
      HideWindow
      MessageBox MB_ICONINFORMATION|MB_OK "My Product 2.0 Install Kit was successfully removed from your computer."
    FunctionEnd
    Function un.onInit
      MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "Are you sure you want to completely remove My Product 2.0?" IDYES +2
      Abort
    FunctionEnd
    Section Uninstall
      RMDir /r "$INSTDIR\My Product 2.0\*.*"
      RMDir /r "$APPDATA\mycompanyAIRInstaller\*.*"
      ;Deletes the link put there by the AIR app installer.
      Delete "$SMPROGRAMS\mycompany\My Product 2.0.lnk"
      DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}"
      DeleteRegKey HKLM "${PRODUCT_DIR_REGKEY}"
      SetAutoClose true
    SectionEnd

  • Screen recording of AIR app on Windows desktop

    I have developed an Adobe AIR application for windows desktop that runs at 60fps, full HD (classic display list, not Starling). I would like to record this app being used for promotional purposes, and have tried Camtasia and Action! Recorder (with software encoders), but neither of these achieve the required frame rate.
    My PC configuration is:
    i7-3930K @ 3.20GHz
    32GB RAM
    Windows 7 Pro 64-bit
    2 x NVidia GT 440 graphics cards
    500GB SSD
    If I upgrade my Nvidia graphics card to one of the newer models, such as a Geforce GTX 970, I can make use of the NVENC technology that provides hardware video encoding of DirectX or the Windows desktop. Action! Recorder apparently supports the NVENC technology on the Nvidia cards, to provide improved video recording.
    Does anyone have any experience of using NVENC to record Adobe AIR desktop applications that use classic display list, rather than Starling, and can I expect to record a decent frame rate?

    Anyone?

  • Opening a finder/windows explorer window from an AIR application?

    I'm evaluating AIR right now and going through as much
    documentation as I can find. Is there a way to open up an OS file
    browsing window? For instance, after writing a file to an arbitrary
    directory, could you open that director (preferably with the file
    selected) in OS X's Finder or Windows Explorer? Obviously this is
    possible in a native application (Lightroom does it, among others),
    but I can't figure out if it's possible with an AIR
    application.

    Take a look at:
    http://livedocs.adobe.com/air/1/devappsflash/help.html?content=splash.html
    http://livedocs.adobe.com/air/1/devappsflash/Filesystem_01.html
    AND
    http://livedocs.adobe.com/labs/air/1/aslr/flash/filesystem/File.html

Maybe you are looking for

  • Screen flicker imac

    My new iMac 27"  seems to have a slight screen flicker at low light settings. If I adjust the brightness higher it goes away, but comes back when dimmed to the previous low level. There is no banding or stripes on the screen, it seems like the backli

  • Is it possible to hide Accessibility Voiceover Cursor when connecting to Bluetooth Remote Control in Keynote presentation on iPad?

    Hi team, I would like to know When I use my Satechi Bluetooth pointer (linked in Accessibility mode) with keynote on iPad there is a box around the items in my slides. Is there a way to remove this box? like these comments on this video https://www.y

  • Keyboard doesn't responde after suspended

    After suspend my macbook pro my keyboard doesn't work, i have to restart the computer. Any suggestions?? Thanks. Félix.

  • FSRM Quotas not going down after shadow copy snapshot

    I've got an issue with FSRM Quotas not being recalculated when a user removes some data from their home drive. Server is 2008R2 Standard.  Clients are a mix of Windows 7, 8, and 8.1 it seems to happen irrespective of the client being used. if a user

  • Airport & iPad

    Hi, I've been looking up about airport express as it looks like a good solution to ditching wires. But I've got a couple of questions: 1) is an iPad a supported device? Or does it only work with iPhone and iPods? 2) if I've understood this correctly,