What is the correct way to drag-drop a file from XY ?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
aviaryan
Posts: 28
Joined: 26 Jun 2014 10:11
Location: India
Contact:

What is the correct way to drag-drop a file from XY ?

Post by aviaryan »

Applications like ResourceHacker and Notepad open the files that are dropped on them.
I tried to drag a file from XY but when I press the left-button to start hold the file, the target GUI (Notepad, ResHack) gets deactivated and minimized. This doesn't happen with other file managers like win explorer and q-dir.
What am i missing ...

admin
Site Admin
Posts: 64877
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: What is the correct way to drag-drop a file from XY ?

Post by admin »

You mean that the target GUI is in the background and does not stay on top of XY? I never managed to do it like Explorer does. But Explorer is the only app I have ever seen that can do this.

nerdweed
Posts: 648
Joined: 25 Feb 2012 07:47

Re: What is the correct way to drag-drop a file from XY ?

Post by nerdweed »

Q-dir does it as well, but not that fluently (like it doesn't allow to escape it).

The target window stays in foreground. On mouse down in Explorer, it gets dimmed but as soon as the drag is initiated, the other application (say notepad) is auto reactivated.

Explorer is activated only on mouse up which makes this possible. Whereas XY gets activated on mouse down causing this drag and drop to not work as smoothly as it should.

binocular222
Posts: 1419
Joined: 04 Nov 2008 05:35
Location: Win11, Win10, 100% Scaling

Re: What is the correct way to drag-drop a file from XY ?

Post by binocular222 »

I always drag to Taskbar.
btw, with Portable File Association, you doesn't need to drag at all
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

aviaryan
Posts: 28
Joined: 26 Jun 2014 10:11
Location: India
Contact:

Re: What is the correct way to drag-drop a file from XY ?

Post by aviaryan »

@Don
Yes, that is what that happens. @nerdweed explanation holds true.
nerdweed wrote:Explorer is activated only on mouse up which makes this possible. Whereas XY gets activated on mouse down causing this drag and drop to not work as smoothly as it should.
binocular222 wrote:I always drag to Taskbar.
btw, with Portable File Association, you doesn't need to drag at all
Dragging to taskbar is a good idea.
BTW, I have a AutoHotkey script GUI here, which I use as a drag and drop spot to UPX files. Now that it wasn't working with XY, I set it to be AlwaysOnTop and it works now.
How can I use PFA for an exe file ?? Not always I will like to open it with ResourceHacker.

binocular222
Posts: 1419
Joined: 04 Nov 2008 05:35
Location: Win11, Win10, 100% Scaling

Re: What is the correct way to drag-drop a file from XY ?

Post by binocular222 »

File > Open with > Customize file association
Instruction:

Code: Select all

"Caption|<xyicons>\something.ico" pattern1;pattern2;pattern3>application

png;jpg>C:\Programs\Viewer\Viewer.exe
png>..\Viewer\Viewer.exe          [relative to the application path]
png>?:\Programs\Viewer\Viewer.exe [? = application drive]
txt>%windir%\Notepad              [variables allowed, registered applications need base name only]
|"Notepad" *>Notepad              [pipe "|" in the beginning = Portable Open With: Only appear in PFA popup menu]

*.exe>::copytext <curver>         [copies the version number instead of opening an executable]
xys>::Load <curitem>
"Winrar" rar;zip>"?:\7Utilities\WinRAR x%osbitness%\WinRAR.exe" -a  [command-line + adapt to x32-x64]
"Java|Java" jar>::run "java.exe -jar <pfaitem>"
?:\*.pdf>?:\Programs\pdfview.exe  [load PDF files on app drive with a viewer on app drive]
In your case, you can assign multiple programs to .exe so that File > Open with will popup a list of your assignment
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

aviaryan
Posts: 28
Joined: 26 Jun 2014 10:11
Location: India
Contact:

Re: What is the correct way to drag-drop a file from XY ?

Post by aviaryan »

@binocular222
Thanks for your help. I added some applications and it's going nice now.

Post Reply