Page 1 of 1
What is the correct way to drag-drop a file from XY ?
Posted: 27 Jun 2014 17:28
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 ...
Re: What is the correct way to drag-drop a file from XY ?
Posted: 27 Jun 2014 22:35
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.
Re: What is the correct way to drag-drop a file from XY ?
Posted: 27 Jun 2014 23:12
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.
Re: What is the correct way to drag-drop a file from XY ?
Posted: 28 Jun 2014 03:24
by binocular222
I always drag to Taskbar.
btw, with Portable File Association, you doesn't need to drag at all
Re: What is the correct way to drag-drop a file from XY ?
Posted: 28 Jun 2014 04:49
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.
Re: What is the correct way to drag-drop a file from XY ?
Posted: 28 Jun 2014 06:05
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
Re: What is the correct way to drag-drop a file from XY ?
Posted: 28 Jun 2014 08:31
by aviaryan
@binocular222
Thanks for your help. I added some applications and it's going nice now.