How to open a folder from an Air 2.0 app?

How to open a folder in Windows Explorer or Finder (Mac) from an Air 2.0 app? I am using Flex 4 + ActionScript 3. Seams how I could do this using NativeProcess, but I do not want to create my own installer. Is it possible?

Thank!

+3
source share
1 answer

I found it on an article :

If you call openWithDefaultApplication in a directory, it will open in your application by default for file explorer (Finder, Windows Explorer, Nautilus, etc.)

This did not work because my application was intended for Air 1.5, so I just added the following line to my application.xml and the problem was resolved:

<application xmlns="http://ns.adobe.com/air/application/2.0">
+4

Source: https://habr.com/ru/post/1770122/


All Articles