问题
I would like to know, if there is any way to enable the following (at least in windows):
right-click on any file in local filesystem, choose sendTo and send the file to an adobe air application (for upload purpose for example). AIR can handle that via INVOKE Event, but how can I achieve this from the windows side - how can an AIR application register itself as a sendTo Option?
any chance to achieve this? thanks!
回答1:
I believe the way to do this would be to write a bat file that modifies the windows registry to include a hook for your application.
Looks like this is the process, I'm sure there is a way to automate this (sorry, I can't help here, I'm not familiar with any windows api's)
http://www.howtogeek.com/howto/windows-vista/add-any-application-to-the-desktop-right-click-menu-in-vista/
来源:https://stackoverflow.com/questions/10044027/windows-sendto-context-menu-for-adobe-air