[flexcoders] Re: AIR: Forcing a file to be opened By OS Default Application
Hi Jeff I haven't tried it personally, but I think what you are looking for is related to the getDefaultApplication() function in the NativeApplication class. http://livedocs.adobe.com/flex/3/langref/flash/desktop/ NativeApplication.html#getDefaultApplication() The should give you the path to the application which the OS has associated with the given file extension. Hope that helps Tony --- In flexcoders@yahoogroups.com, Battershall, Jeff [EMAIL PROTECTED] wrote: Pardon the cross post, but I'm trying to find out if AIR supports triggering a file to be opened by the OS's default application for that file extension. Like having MS Excel open a .xls file. Jeff Battershall Application Architect Dow Jones Indexes [EMAIL PROTECTED] (609) 520-5637 (p) (484) 477-9900 (c)
RE: [flexcoders] Re: AIR: Forcing a file to be opened By OS Default Application
i've wished since first using air I could access other applications with use of their COM toolkits. Glenn www.flex-ria.com www.tinylion.co.uk www.our-little-secret.com From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Zoltan Csibi Sent: Friday, April 18, 2008 9:16 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: AIR: Forcing a file to be opened By OS Default Application Hi Jim, Yes there are 3 dlls included (simply added to the air project). The communication is via localconnection, the app checks if it can connect and if the dlls are there the app will get access automagically to the api provided (the api is specially written native COM libraries). I am going to post part2 with more details later. Zoli -Original Message- From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of Jim Hayes Sent: Friday, April 18, 2008 5:48 AM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: RE: [flexcoders] Re: AIR: Forcing a file to be opened By OS Default Application Zoli, I am impressed! So I guess you included those 2 dlls in the air file, and found some way to call them? How? Are you going to let us know? -Original Message- From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com on behalf of Zoltan Csibi Sent: Fri 18/04/2008 03:13 To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: RE: [flexcoders] Re: AIR: Forcing a file to be opened By OS Default Application A little AIR pollution here: http://blog.fluorinefx.com/ (windows only, not tested on all versions) Zoli www.fluorinefx.com _ From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of Battershall, Jeff Sent: Wednesday, April 16, 2008 9:21 PM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: RE: [flexcoders] Re: AIR: Forcing a file to be opened By OS Default Application Understandably Adobe is feeling rather conservative about this sort of thing. The last thing we as developers would want is an abuse of the AIR runtime which sullies its reputation. So we're getting a certain sandbox to play in. However, opening a document file such as a word doc, pdf or excel spreadsheet is a normal every day activity. The OS and the user already have responsibility to ensure that they are not accessing malicious content. IMO, letting AIR have a somewhat larger sandbox by passing to the OS a request to open files would be a huge step forward and make the user experience significantly better. For example, the AIR application I just built downloads data entitlements to a user's machine. Once downloaded, the user needs to navigate to that directory using the OS to open the files. It would be nice to not requre all that additional work on the part of the user. Jeff -Original Message- From: [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com [mailto:[EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com] On Behalf Of aphexyuri Sent: Wednesday, April 16, 2008 12:50 PM To: [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com Subject: [flexcoders] Re: AIR: Forcing a file to be opened By OS Default Application Jeff, We've been looking into it as well. Maybe the following links could give you some more help: http://www.mikecham http://www.mikechambers.com/blog/2008/01/17/commandproxy-net-air-integra bers.com/blog/2008/01/17/commandproxy-net-air-integra tion-proof-of-concept/ and http://www.mikecham http://www.mikechambers.com/blog/2008/01/22/commandproxy-its-cool-but-is bers.com/blog/2008/01/22/commandproxy-its-cool-but-is -it-a-good-idea/ It's a long shot a workaround...something adobe really needs to address soon! --- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com, Battershall, Jeff [EMAIL PROTECTED] wrote: Steve, In the scenario I'm envisioning, I am not thinking that AIR would be starting the program itself but the OS would, as it would in response to a double click on a file name in Windows Explorer. But if it can't be done, it can't be done. Jeff -Original Message- From: [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com [mailto:[EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com] On Behalf Of Cutter (Flex Related) Sent: Wednesday, April 16, 2008 10:32 AM To: [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com Subject: Re: [flexcoders] AIR: Forcing a file to be opened By OS Default Application According to a talk that Ben Forta gave here in Nashville, not long before product launch, the AIR sandbox strictly prohibits access to other programs on a system. Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer
[flexcoders] Re: AIR: Forcing a file to be opened By OS Default Application
Hi Jim, Yes there are 3 dlls included (simply added to the air project). The communication is via localconnection, the app checks if it can connect and if the dlls are there the app will get access automagically to the api provided (the api is specially written native COM libraries). I am going to post part2 with more details later. Zoli --- In flexcoders@yahoogroups.com, Jim Hayes [EMAIL PROTECTED] wrote: Zoli, I am impressed! So I guess you included those 2 dlls in the air file, and found some way to call them? How? Are you going to let us know? -Original Message- From: flexcoders@yahoogroups.com on behalf of Zoltan Csibi Sent: Fri 18/04/2008 03:13 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: AIR: Forcing a file to be opened By OS Default Application A little AIR pollution here: http://blog.fluorinefx.com/ (windows only, not tested on all versions) Zoli www.fluorinefx.com _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Battershall, Jeff Sent: Wednesday, April 16, 2008 9:21 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: AIR: Forcing a file to be opened By OS Default Application Understandably Adobe is feeling rather conservative about this sort of thing. The last thing we as developers would want is an abuse of the AIR runtime which sullies its reputation. So we're getting a certain sandbox to play in. However, opening a document file such as a word doc, pdf or excel spreadsheet is a normal every day activity. The OS and the user already have responsibility to ensure that they are not accessing malicious content. IMO, letting AIR have a somewhat larger sandbox by passing to the OS a request to open files would be a huge step forward and make the user experience significantly better. For example, the AIR application I just built downloads data entitlements to a user's machine. Once downloaded, the user needs to navigate to that directory using the OS to open the files. It would be nice to not requre all that additional work on the part of the user. Jeff -Original Message- From: [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com [mailto:[EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com] On Behalf Of aphexyuri Sent: Wednesday, April 16, 2008 12:50 PM To: [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com Subject: [flexcoders] Re: AIR: Forcing a file to be opened By OS Default Application Jeff, We've been looking into it as well. Maybe the following links could give you some more help: http://www.mikecham http://www.mikechambers.com/blog/2008/01/17/commandproxy-net-air- integra bers.com/blog/2008/01/17/commandproxy-net-air-integra tion-proof-of-concept/ and http://www.mikecham http://www.mikechambers.com/blog/2008/01/22/commandproxy-its-cool- but-is bers.com/blog/2008/01/22/commandproxy-its-cool-but-is -it-a-good-idea/ It's a long shot a workaround...something adobe really needs to address soon! --- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com, Battershall, Jeff jeff.battershall@ wrote: Steve, In the scenario I'm envisioning, I am not thinking that AIR would be starting the program itself but the OS would, as it would in response to a double click on a file name in Windows Explorer. But if it can't be done, it can't be done. Jeff -Original Message- From: [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com [mailto:[EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com] On Behalf Of Cutter (Flex Related) Sent: Wednesday, April 16, 2008 10:32 AM To: [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com Subject: Re: [flexcoders] AIR: Forcing a file to be opened By OS Default Application According to a talk that Ben Forta gave here in Nashville, not long before product launch, the AIR sandbox strictly prohibits access to other programs on a system. Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer _ http://blog. http://blog.cutterscrossing.com cutterscrossing.com -- Flexcoders Mailing List FAQ: http://groups. http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail- http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups. http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail- http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo
RE: [flexcoders] Re: AIR: Forcing a file to be opened By OS Default Application
I'd guessed localconnection was involved (it seems to be the way AIR does these things, from what I can tell), but the finer details are way beyond my knowledge! Does the exe automagically poke the dlls in it's directory to see if they have a local connection interface in some way? I'm afraid I'm just a lowly actionscripter :) Looking forward to part 2! Thanks, Jim. -Original Message- From: flexcoders@yahoogroups.com on behalf of zcsibi Sent: Fri 18/04/2008 21:51 To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: AIR: Forcing a file to be opened By OS Default Application Hi Jim, Yes there are 3 dlls included (simply added to the air project). The communication is via localconnection, the app checks if it can connect and if the dlls are there the app will get access automagically to the api provided (the api is specially written native COM libraries). I am going to post part2 with more details later. Zoli --- In flexcoders@yahoogroups.com, Jim Hayes [EMAIL PROTECTED] wrote: Zoli, I am impressed! So I guess you included those 2 dlls in the air file, and found some way to call them? How? Are you going to let us know? -Original Message- From: flexcoders@yahoogroups.com on behalf of Zoltan Csibi Sent: Fri 18/04/2008 03:13 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: AIR: Forcing a file to be opened By OS Default Application A little AIR pollution here: http://blog.fluorinefx.com/ (windows only, not tested on all versions) Zoli www.fluorinefx.com _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Battershall, Jeff Sent: Wednesday, April 16, 2008 9:21 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: AIR: Forcing a file to be opened By OS Default Application Understandably Adobe is feeling rather conservative about this sort of thing. The last thing we as developers would want is an abuse of the AIR runtime which sullies its reputation. So we're getting a certain sandbox to play in. However, opening a document file such as a word doc, pdf or excel spreadsheet is a normal every day activity. The OS and the user already have responsibility to ensure that they are not accessing malicious content. IMO, letting AIR have a somewhat larger sandbox by passing to the OS a request to open files would be a huge step forward and make the user experience significantly better. For example, the AIR application I just built downloads data entitlements to a user's machine. Once downloaded, the user needs to navigate to that directory using the OS to open the files. It would be nice to not requre all that additional work on the part of the user. Jeff -Original Message- From: [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com [mailto:[EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com] On Behalf Of aphexyuri Sent: Wednesday, April 16, 2008 12:50 PM To: [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com Subject: [flexcoders] Re: AIR: Forcing a file to be opened By OS Default Application Jeff, We've been looking into it as well. Maybe the following links could give you some more help: http://www.mikecham http://www.mikechambers.com/blog/2008/01/17/commandproxy-net-air- integra bers.com/blog/2008/01/17/commandproxy-net-air-integra tion-proof-of-concept/ and http://www.mikecham http://www.mikechambers.com/blog/2008/01/22/commandproxy-its-cool- but-is bers.com/blog/2008/01/22/commandproxy-its-cool-but-is -it-a-good-idea/ It's a long shot a workaround...something adobe really needs to address soon! --- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com, Battershall, Jeff jeff.battershall@ wrote: Steve, In the scenario I'm envisioning, I am not thinking that AIR would be starting the program itself but the OS would, as it would in response to a double click on a file name in Windows Explorer. But if it can't be done, it can't be done. Jeff -Original Message- From: [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com [mailto:[EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com] On Behalf Of Cutter (Flex Related) Sent: Wednesday, April 16, 2008 10:32 AM To: [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com Subject: Re: [flexcoders] AIR: Forcing a file to be opened By OS Default Application According to a talk that Ben Forta gave here in Nashville, not long before product launch, the AIR sandbox strictly prohibits access to other programs on a system. Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer _ http://blog. http://blog.cutterscrossing.com cutterscrossing.com -- Flexcoders Mailing List FAQ: http://groups.
RE: [flexcoders] Re: AIR: Forcing a file to be opened By OS Default Application
Hi Jim, Yes there are 3 dlls included (simply added to the air project). The communication is via localconnection, the app checks if it can connect and if the dlls are there the app will get access automagically to the api provided (the api is specially written native COM libraries). I am going to post part2 with more details later. Zoli -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jim Hayes Sent: Friday, April 18, 2008 5:48 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: AIR: Forcing a file to be opened By OS Default Application Zoli, I am impressed! So I guess you included those 2 dlls in the air file, and found some way to call them? How? Are you going to let us know? -Original Message- From: flexcoders@yahoogroups.com on behalf of Zoltan Csibi Sent: Fri 18/04/2008 03:13 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: AIR: Forcing a file to be opened By OS Default Application A little AIR pollution here: http://blog.fluorinefx.com/ (windows only, not tested on all versions) Zoli www.fluorinefx.com _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Battershall, Jeff Sent: Wednesday, April 16, 2008 9:21 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: AIR: Forcing a file to be opened By OS Default Application Understandably Adobe is feeling rather conservative about this sort of thing. The last thing we as developers would want is an abuse of the AIR runtime which sullies its reputation. So we're getting a certain sandbox to play in. However, opening a document file such as a word doc, pdf or excel spreadsheet is a normal every day activity. The OS and the user already have responsibility to ensure that they are not accessing malicious content. IMO, letting AIR have a somewhat larger sandbox by passing to the OS a request to open files would be a huge step forward and make the user experience significantly better. For example, the AIR application I just built downloads data entitlements to a user's machine. Once downloaded, the user needs to navigate to that directory using the OS to open the files. It would be nice to not requre all that additional work on the part of the user. Jeff -Original Message- From: [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com [mailto:[EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com] On Behalf Of aphexyuri Sent: Wednesday, April 16, 2008 12:50 PM To: [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com Subject: [flexcoders] Re: AIR: Forcing a file to be opened By OS Default Application Jeff, We've been looking into it as well. Maybe the following links could give you some more help: http://www.mikecham http://www.mikechambers.com/blog/2008/01/17/commandproxy-net-air-integra bers.com/blog/2008/01/17/commandproxy-net-air-integra tion-proof-of-concept/ and http://www.mikecham http://www.mikechambers.com/blog/2008/01/22/commandproxy-its-cool-but-is bers.com/blog/2008/01/22/commandproxy-its-cool-but-is -it-a-good-idea/ It's a long shot a workaround...something adobe really needs to address soon! --- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com, Battershall, Jeff [EMAIL PROTECTED] wrote: Steve, In the scenario I'm envisioning, I am not thinking that AIR would be starting the program itself but the OS would, as it would in response to a double click on a file name in Windows Explorer. But if it can't be done, it can't be done. Jeff -Original Message- From: [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com [mailto:[EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com] On Behalf Of Cutter (Flex Related) Sent: Wednesday, April 16, 2008 10:32 AM To: [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com Subject: Re: [flexcoders] AIR: Forcing a file to be opened By OS Default Application According to a talk that Ben Forta gave here in Nashville, not long before product launch, the AIR sandbox strictly prohibits access to other programs on a system. Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer _ http://blog. http://blog.cutterscrossing.com cutterscrossing.com -- Flexcoders Mailing List FAQ: http://groups. http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail- http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups. http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-
RE: [flexcoders] Re: AIR: Forcing a file to be opened By OS Default Application
A little AIR pollution here: http://blog.fluorinefx.com/ (windows only, not tested on all versions) Zoli www.fluorinefx.com _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Battershall, Jeff Sent: Wednesday, April 16, 2008 9:21 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: AIR: Forcing a file to be opened By OS Default Application Understandably Adobe is feeling rather conservative about this sort of thing. The last thing we as developers would want is an abuse of the AIR runtime which sullies its reputation. So we're getting a certain sandbox to play in. However, opening a document file such as a word doc, pdf or excel spreadsheet is a normal every day activity. The OS and the user already have responsibility to ensure that they are not accessing malicious content. IMO, letting AIR have a somewhat larger sandbox by passing to the OS a request to open files would be a huge step forward and make the user experience significantly better. For example, the AIR application I just built downloads data entitlements to a user's machine. Once downloaded, the user needs to navigate to that directory using the OS to open the files. It would be nice to not requre all that additional work on the part of the user. Jeff -Original Message- From: [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com [mailto:[EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com] On Behalf Of aphexyuri Sent: Wednesday, April 16, 2008 12:50 PM To: [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com Subject: [flexcoders] Re: AIR: Forcing a file to be opened By OS Default Application Jeff, We've been looking into it as well. Maybe the following links could give you some more help: http://www.mikecham http://www.mikechambers.com/blog/2008/01/17/commandproxy-net-air-integra bers.com/blog/2008/01/17/commandproxy-net-air-integra tion-proof-of-concept/ and http://www.mikecham http://www.mikechambers.com/blog/2008/01/22/commandproxy-its-cool-but-is bers.com/blog/2008/01/22/commandproxy-its-cool-but-is -it-a-good-idea/ It's a long shot a workaround...something adobe really needs to address soon! --- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com, Battershall, Jeff [EMAIL PROTECTED] wrote: Steve, In the scenario I'm envisioning, I am not thinking that AIR would be starting the program itself but the OS would, as it would in response to a double click on a file name in Windows Explorer. But if it can't be done, it can't be done. Jeff -Original Message- From: [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com [mailto:[EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com] On Behalf Of Cutter (Flex Related) Sent: Wednesday, April 16, 2008 10:32 AM To: [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com Subject: Re: [flexcoders] AIR: Forcing a file to be opened By OS Default Application According to a talk that Ben Forta gave here in Nashville, not long before product launch, the AIR sandbox strictly prohibits access to other programs on a system. Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer _ http://blog. http://blog.cutterscrossing.com cutterscrossing.com -- Flexcoders Mailing List FAQ: http://groups. http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail- http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups. http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail- http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
RE: [flexcoders] Re: AIR: Forcing a file to be opened By OS Default Application
Zoli, I am impressed! So I guess you included those 2 dlls in the air file, and found some way to call them? How? Are you going to let us know? -Original Message- From: flexcoders@yahoogroups.com on behalf of Zoltan Csibi Sent: Fri 18/04/2008 03:13 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: AIR: Forcing a file to be opened By OS Default Application A little AIR pollution here: http://blog.fluorinefx.com/ (windows only, not tested on all versions) Zoli www.fluorinefx.com _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Battershall, Jeff Sent: Wednesday, April 16, 2008 9:21 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: AIR: Forcing a file to be opened By OS Default Application Understandably Adobe is feeling rather conservative about this sort of thing. The last thing we as developers would want is an abuse of the AIR runtime which sullies its reputation. So we're getting a certain sandbox to play in. However, opening a document file such as a word doc, pdf or excel spreadsheet is a normal every day activity. The OS and the user already have responsibility to ensure that they are not accessing malicious content. IMO, letting AIR have a somewhat larger sandbox by passing to the OS a request to open files would be a huge step forward and make the user experience significantly better. For example, the AIR application I just built downloads data entitlements to a user's machine. Once downloaded, the user needs to navigate to that directory using the OS to open the files. It would be nice to not requre all that additional work on the part of the user. Jeff -Original Message- From: [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com [mailto:[EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com] On Behalf Of aphexyuri Sent: Wednesday, April 16, 2008 12:50 PM To: [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com Subject: [flexcoders] Re: AIR: Forcing a file to be opened By OS Default Application Jeff, We've been looking into it as well. Maybe the following links could give you some more help: http://www.mikecham http://www.mikechambers.com/blog/2008/01/17/commandproxy-net-air-integra bers.com/blog/2008/01/17/commandproxy-net-air-integra tion-proof-of-concept/ and http://www.mikecham http://www.mikechambers.com/blog/2008/01/22/commandproxy-its-cool-but-is bers.com/blog/2008/01/22/commandproxy-its-cool-but-is -it-a-good-idea/ It's a long shot a workaround...something adobe really needs to address soon! --- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com, Battershall, Jeff [EMAIL PROTECTED] wrote: Steve, In the scenario I'm envisioning, I am not thinking that AIR would be starting the program itself but the OS would, as it would in response to a double click on a file name in Windows Explorer. But if it can't be done, it can't be done. Jeff -Original Message- From: [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com [mailto:[EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com] On Behalf Of Cutter (Flex Related) Sent: Wednesday, April 16, 2008 10:32 AM To: [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com Subject: Re: [flexcoders] AIR: Forcing a file to be opened By OS Default Application According to a talk that Ben Forta gave here in Nashville, not long before product launch, the AIR sandbox strictly prohibits access to other programs on a system. Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer _ http://blog. http://blog.cutterscrossing.com cutterscrossing.com -- Flexcoders Mailing List FAQ: http://groups. http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail- http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups. http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail- http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links __ This communication is from Primal Pictures Ltd., a company registered in England and Wales with registration No. 02622298 and registered office: 4th Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK. VAT registration No. 648874577. This e-mail is confidential and may be privileged. It may be read, copied and used only by the intended recipient. If you have received it in error, please contact the sender immediately by return e-mail
[flexcoders] Re: AIR: Forcing a file to be opened By OS Default Application
Jeff, We've been looking into it as well. Maybe the following links could give you some more help: http://www.mikechambers.com/blog/2008/01/17/commandproxy-net-air-integration-proof-of-concept/ and http://www.mikechambers.com/blog/2008/01/22/commandproxy-its-cool-but-is-it-a-good-idea/ It's a long shot a workaround...something adobe really needs to address soon! --- In flexcoders@yahoogroups.com, Battershall, Jeff [EMAIL PROTECTED] wrote: Steve, In the scenario I'm envisioning, I am not thinking that AIR would be starting the program itself but the OS would, as it would in response to a double click on a file name in Windows Explorer. But if it can't be done, it can't be done. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Cutter (Flex Related) Sent: Wednesday, April 16, 2008 10:32 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] AIR: Forcing a file to be opened By OS Default Application According to a talk that Ben Forta gave here in Nashville, not long before product launch, the AIR sandbox strictly prohibits access to other programs on a system. Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer _ http://blog.cutterscrossing.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
RE: [flexcoders] Re: AIR: Forcing a file to be opened By OS Default Application
Understandably Adobe is feeling rather conservative about this sort of thing. The last thing we as developers would want is an abuse of the AIR runtime which sullies its reputation. So we're getting a certain sandbox to play in. However, opening a document file such as a word doc, pdf or excel spreadsheet is a normal every day activity. The OS and the user already have responsibility to ensure that they are not accessing malicious content. IMO, letting AIR have a somewhat larger sandbox by passing to the OS a request to open files would be a huge step forward and make the user experience significantly better. For example, the AIR application I just built downloads data entitlements to a user's machine. Once downloaded, the user needs to navigate to that directory using the OS to open the files. It would be nice to not requre all that additional work on the part of the user. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of aphexyuri Sent: Wednesday, April 16, 2008 12:50 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: AIR: Forcing a file to be opened By OS Default Application Jeff, We've been looking into it as well. Maybe the following links could give you some more help: http://www.mikechambers.com/blog/2008/01/17/commandproxy-net-air-integra tion-proof-of-concept/ and http://www.mikechambers.com/blog/2008/01/22/commandproxy-its-cool-but-is -it-a-good-idea/ It's a long shot a workaround...something adobe really needs to address soon! --- In flexcoders@yahoogroups.com, Battershall, Jeff [EMAIL PROTECTED] wrote: Steve, In the scenario I'm envisioning, I am not thinking that AIR would be starting the program itself but the OS would, as it would in response to a double click on a file name in Windows Explorer. But if it can't be done, it can't be done. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Cutter (Flex Related) Sent: Wednesday, April 16, 2008 10:32 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] AIR: Forcing a file to be opened By OS Default Application According to a talk that Ben Forta gave here in Nashville, not long before product launch, the AIR sandbox strictly prohibits access to other programs on a system. Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer _ http://blog.cutterscrossing.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links