Page 1 of 1
Drag & drop Autohotkey scripts
Posted: 04 Oct 2013 11:33
by lycanthrope7
Hi all,
I've recently converted from FreeCommander to XYplorer. I'm loving it so far except for one major problem. I'm a prolific Autohotkey user and I have a number of scripts that are activated by dropping files on them. My problem is that XYplorer won't allow me to drop files onto a non-compiled script. The scripts in question work fine in Windows Explorer or FreeCommander, but XYplorer doesn't seem to recognise that an AHK file can receive dropped files.
Has anyone else experienced this problem and, more importantly, overcome it?
Regards,
Tim
System info:
XYplorer 12.8
Windows 7 Ultimate 64-bit
Re: Drag & drop Autohotkey scripts
Posted: 04 Oct 2013 11:47
by admin
Hi and welcome!
I will add "ahk" to the drop target extensions. It will work in the next beta (get it here in the forum later today...)
Don
Re: Drag & drop Autohotkey scripts
Posted: 04 Oct 2013 11:52
by Enternal
admin wrote:Hi and welcome!
I will add "ahk" to the drop target extensions. It will work in the next beta (get it here in the forum later today...)
Don
Just out of curiosity, is DropTargetCustomExtensions in the ini file part of that ability?
Re: Drag & drop Autohotkey scripts
Posted: 04 Oct 2013 11:54
by admin
Yep, if you need it before the next beta you can use DropTargetCustomExtensions now.

Re: Drag & drop Autohotkey scripts
Posted: 04 Oct 2013 12:04
by Stefan
Too late
Hi Tim and welcome.
Code: Select all
v7.90.0300 - 2009-05-14 14:45
+ Tweak: Added the possibility to add more file types to drop stuff
on. The format of the values is "dot- [extension-dot-]extension-
dot". So it could look like this, for example:
[Settings]
DropTargetCustomExtensions=.dro.drp.drq.ahk.
Re: Drag & drop Autohotkey scripts
Posted: 04 Oct 2013 12:12
by admin
FYI, in recent versions you don't need the surrounding dots anymore:
Code: Select all
DropTargetCustomExtensions=dro.drp.drq.ahk
Re: Drag & drop Autohotkey scripts
Posted: 04 Oct 2013 12:48
by lycanthrope7
admin wrote:Hi and welcome!
I will add "ahk" to the drop target extensions. It will work in the next beta (get it here in the forum later today...)
Don
Awesome, thanks. I gotta say, this is a first. I've never had a forum post responded to so fast, and I've never had a solution to my problem available the same day. I'm extremely impressed.
On a side note, I created a custom Open with... command and assigned a keyboard shortcut to it. So now I don't have to drag and drop the files, I just select them and hit the shortcut and XYplorer automatically passes the selected files to the script. It works perfectly and will save me a bit of time.
Thanks again for the awesome product and support.
Regards,
Tim
Re: Drag & drop Autohotkey scripts
Posted: 04 Oct 2013 13:27
by Nighted
lycanthrope7 wrote:On a side note, I created a custom Open with... command and assigned a keyboard shortcut to it. So now I don't have to drag and drop the files, I just select them and hit the shortcut and XYplorer automatically passes the selected files to the script. It works perfectly and will save me a bit of time.
You can also do this using the catalog or custom toolbar icons.
Re: Drag & drop Autohotkey scripts
Posted: 04 Oct 2013 13:38
by admin
Nighted wrote:lycanthrope7 wrote:On a side note, I created a custom Open with... command and assigned a keyboard shortcut to it. So now I don't have to drag and drop the files, I just select them and hit the shortcut and XYplorer automatically passes the selected files to the script. It works perfectly and will save me a bit of time.
You can also do this using the catalog or custom toolbar icons.
But not with a keyboard shortcut.
Re: Drag & drop Autohotkey scripts
Posted: 04 Oct 2013 15:53
by j_c_hallgren
lycanthrope7 wrote:Awesome, thanks. I gotta say, this is a first. I've never had a forum post responded to so fast,
Hi and welcome from me too! Yes, Don is awesome! He replied in less than 15 min which isn't unusual but also depends on timing (day/nite/etc).
and I've never had a solution to my problem available the same day.
Not only same day but within the hour! The best I've ever seen from bug report to beta is about 15 min.
I'm extremely impressed.
Thanks again for the awesome product and support.
That's what makes XY SO great a product! The fantastic level of support which we as users try to help with as well.