Jump to content

Is there a way accept Drag'n Drop links/text from firefox to a Au3 GUI window?


vanowm
 Share

Recommended Posts

Hello!

I'm trying create a "drop bucket" window which would accept anything drag'n dropped from firefox and save it into text files.

At the moment when set WS_EX_ACCEPTFILES it still doesn't accept anything dragged from firefox. Is there a solution for this?

Thank you.

Link to comment
Share on other sites

Hello!

I'm trying create a "drop bucket" window which would accept anything drag'n dropped from firefox and save it into text files.

At the moment when set WS_EX_ACCEPTFILES it still doesn't accept anything dragged from firefox. Is there a solution for this?

Thank you.

If no other way works the way I would do it is

If the left mouse button is pressed down over FF then Send("^c"), (maybe save anything that is in the clipboard first). If the left mouse button is released over the edit or whatever in your gui then mouse click left in the edit to set focus to it, or use some other way, and Sen("^v"). If the mouse is released anywhere else then correct what is in the clipboard.

Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Link to comment
Share on other sites

That could possible work only if something was selected...however FF can drag and drop links and images as well....

True. I was thinking inside a small box :)
Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...