Page 1 of 1

Can double-click on desktop open XYplorer?

Posted: 26 May 2014 23:19
by juanita
I've only recently started to use XYplorer (currently 14.10 on Windows 7 64-bit). With the file manager I used before XYplorer, double-clicking on an empty space on the desktop would open that file manager. Is there a way I can do the same thing with XYplorer? I know that I can simply click on the system tray icon. The problem is that I'm so used to double-clicking on the desktop that I still do that, but that opens my old file manager, not XYplorer. I'm not eager to remove that other file manager from my computer. I no longer have it start at startup (I DO have XYplorer do so), but apparently even though it no longer starts at startup, if I double-click on the desktop, up it comes. I don't remember how I got the old file manager to open that way--I tried to find an option I could uncheck, but it has zillions of options and if it exists, I couldn't find it. I'm hoping that if I can set XYplorer to do this, that may take precedence. I should add that I do not know how to write scripts; I'm hoping that what I want can be done without having to write a script to do this.

Thanks in advance for your help.

Re: Can double-click on desktop open XYplorer?

Posted: 27 May 2014 10:14
by bdeshi
if you have AutoHotKey installed, you can use the following ahk script to get a similar functionality. Double middle-click on the desktop to open/show XYplorer. It's less ambiguous because you should normally use normal double-clicks to open a desktop shortcut. Place the script in the same location as XYplorer.exe and run it from there. edit: For optimal performance, set it up as an statup item.

Code: Select all

; An AutoHotKey script to open XYplorer.exe upon double-middle-click on desktop
#SingleInstance force
#MaxMem 1
RegRead, DblSpd, HKEY_CURRENT_USER, Control Panel\Mouse, DoubleClickSpeed
; get user's Double-click speed
if (DblSpd = "")
 DblSpd = 400
; if registry value not available, default to 400ms

~MButton::
; Run if middle button clicked ; `~` == don't eat mouseclicks
 if (A_PriorHotkey = A_ThisHotkey && A_TimeSincePriorHotkey < DblSpd)
 ; if it is double-clicked
 {
  winGetClass, class, A
  ; get active window class
  if class = WorkerW
  ; if Desktop is active
  {
   ifWinExist ahk_class ThunderRT6FormDC
   ; if XY is already running, show it
   {
    winActivate
    return
   }
   else
   ; else run <thisscriptpath>\Xyplorer.exe
   {
    run, XYplorer.exe
    return
   }
  }
 }

[/size]
If you don't have AutoHotKey installed, then you'll need a compiled executable. Do you?

Re: Can double-click on desktop open XYplorer?

Posted: 27 May 2014 15:08
by juanita
Thanks, SammaySarker, for your response. I appreciate your instructions, but I do not have AutoHotKey. Since I don't know how to write scripts, I've never seen much point in installing it.

Re: Can double-click on desktop open XYplorer?

Posted: 27 May 2014 15:26
by bdeshi
Okay, if you trust me and virustotal, download the following exe, put in in the same location as xyplorer.exe and run it. (you'll see a new icon in the taskbar).
Then double middle-click on the desktop.
Get The exe from Google Drive
VirusTotal Report: VirusTotal Report
It's the compiled/standalone version of the script.

Re: Can double-click on desktop open XYplorer?

Posted: 27 May 2014 16:00
by kunkel321
Sounds like her old file manager also launches on desktop double-click.... Will that cause a conflict? (I.e. will they both open?)

Re: Can double-click on desktop open XYplorer?

Posted: 27 May 2014 16:24
by juanita
SammaySarkar wrote:Okay, if you trust me and virustotal, download the following exe, put in in the same location as xyplorer.exe and run it. (you'll see a new icon in the taskbar).
Then double middle-click on the desktop.
Wow! Thanks very much! I downloaded and ran your program. Unfortunately, it turns out there's a conflict: not the one kunkel asked about (since your script works on middle clicks rather than left clicks, I don't think that would be a problem). However, I've got another program that I forgot about that works on one middle click. A double middle click simply opens and then closes the list that program produces. Rather than zap that other program (one I paid for :) ), I think I'll just learn use the system tray icon to open XYplorer and gradually break myself of the habit of double clicking. However, many thanks once again.

Re: Can double-click on desktop open XYplorer?

Posted: 27 May 2014 17:57
by bdeshi
Got a "short"age of "short"cuts, huh? :D
I'm pleased it helped!
EDIT: I'm sure you know you can most probably change the shortcut for that other program.

Re: Can double-click on desktop open XYplorer?

Posted: 28 May 2014 02:06
by juanita
SammaySarkar wrote: EDIT: I'm sure you know you can most probably change the shortcut for that other program.
Yes, I know that I can change the shortcut for the other program, but I have a number of programs that make use of shortcuts, and I don't have any simple ones readily available. All things considered, I think it would be easier for me just to get into the habit of clicking on XYplorer's system tray icon to bring the program to the screen.

Once again, many thanks for trying to help.

Re: Can double-click on desktop open XYplorer?

Posted: 28 May 2014 06:18
by Filehero
juanita wrote:
SammaySarkar wrote: All things considered, I think it would be easier for me just to get into the habit of clicking on XYplorer's system tray icon to bring the program to the screen..
Another option: Pin it to the tab bar, for instance at the left most psoition. That way you can quickly open it using <WIN>+<1> (where the number stands for the position index).


Cheers,
Filehero

Re: Can double-click on desktop open XYplorer?

Posted: 28 May 2014 09:35
by Stef123
juanita wrote: I have a number of programs that make use of shortcuts, and I don't have any simple ones readily available.
I am assuming you have a nice desktop wallpaper that you don't want to clutter up with program icons? You could put your handful of shortcuts into one pop-up window, by using a launcher freeware like this one:
http://www.horstmuc.de/wqsel.htm

Granted, it requires one more intermediate step to call up the launcher window, but now you have to remember one hotkey only (or make the window auto-hide/ slide in at the desktop edge) - and you can call it up from anywhere, no need to show the empty desktop first to double-click it.

Re: Can double-click on desktop open XYplorer?

Posted: 28 May 2014 19:08
by juanita
Filehero wrote:Another option: Pin it to the tab bar, for instance at the left most psoition. That way you can quickly open it using <WIN>+<1> (where the number stands for the position index).
Thanks, Filehero, for the suggestion. I don't think I'll use it for this, but I'll keep it in mind for the future.

Re: Can double-click on desktop open XYplorer?

Posted: 28 May 2014 19:33
by juanita
Stef123 wrote: I am assuming you have a nice desktop wallpaper that you don't want to clutter up with program icons? You could put your handful of shortcuts into one pop-up window, by using a launcher freeware
Thanks for the suggestion, Stef123. Actually, my desktop is mostly empty by design. I already use a freeware launcher (LaunchBar Commander) to keep it that way. But though your idea of using a launcher for shortcuts is interesting, most of the shortcuts are for use within specific programs, and even if I could figure out how to get shortcuts for program-specific operations to work from a launcher, I think I'd prefer not to add extra steps to use them.

Thanks very much for trying to help me. All things considered, I think my best bet is to get into the habit of opening XYplorer from its system tray icon.

Re: Can double-click on desktop open XYplorer?

Posted: 28 May 2014 19:43
by bdeshi
hey, I'm a LBC user too!I've put it on the tray and set up CTRL+SHIFT+/ as a shortcut to show it's menu.
And I've also got absolutely nothing on my dekstop, not even a recycle bin (who puts that on their desktops anyways? :P ) or coffee stains! :wink: