DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Last post Author Topic: DONE: Space + click on file reveals "Open With" list of programs  (Read 30,824 times)

skwire

  • I eat Coding Snacks for breakfast...
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,297
    • Participated in NANY Challenge Seventeen Times
    • Coding Snacks
    • Superboy Coder
    • Cody Award
    • Volunteers/Staff
    • Gathering Badge
Re: Space + click on file reveals "Open With" list of programs
« Reply #25 on: May 25, 2010, 09:15 AM »
I had thought of mentioning FARR but didnt as the focus here (mine included) was on File managers.
In FARR you would have to search for the file presumably?
or could it recognise what file is selected in File Manager and work from there - that's asking a lot though I suspect :)

I was thinking about using FARR's built-in copy-to-clipboard hotkey function.  Then again, I've never written a FARR plugin so it would definitely take some doing.

Love the name btw  ;-)

Hahaha...thanks.  I'm absolute crap at actually naming programs so I took a cue from an old friend whose name is Keith Smith.  He usually does his email/username as keef.smiff.  :D

daddydave

  • test
  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 867
    • Participated in NANY Challenge Once
Re: Space + click on file reveals "Open With" list of programs
« Reply #26 on: May 25, 2010, 09:19 AM »
Could be a Windows 7 thing since it appears to work here.  It could also be that the checkbox under Windows 7 is a different ClassNN than under Windows XP.  It's "Button2" under XP.  Are you able to tell me what it is under Windows 7?  You can use the WindowSpy utility included with a standard AHK install.

I just checked with AU3info, and it looks like it's just "Button" in Windows 7 (I'm running the 64 bit version)

EDIT: and it is Instance 1 (there are four controls with a class of Button).
« Last Edit: May 25, 2010, 09:23 AM by daddydave »

skwire

  • I eat Coding Snacks for breakfast...
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,297
    • Participated in NANY Challenge Seventeen Times
    • Coding Snacks
    • Superboy Coder
    • Cody Award
    • Volunteers/Staff
    • Gathering Badge
Re: Space + click on file reveals "Open With" list of programs
« Reply #27 on: May 25, 2010, 09:24 AM »
Thanks, daddydave.  nudone, try changing the instances of 'Button2' in my example to 'Button' or 'Button1'.  Man, I really need to get some type of Windows 7 to test with in a VM.

nudone

  • Cody's Creator
  • Columnist
  • Joined in 2005
  • ***
  • Posts: 4,119
    • Cody Award
Re: Space + click on file reveals "Open With" list of programs
« Reply #28 on: May 25, 2010, 09:48 AM »
yes, that's it - Button1 works fine.

what a nice script. credits on their way...

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,970
    • Gathering Badge
    • Participated in NANY Challenge Once
Re: Space + click on file reveals "Open With" list of programs
« Reply #29 on: May 25, 2010, 09:52 AM »
Here you go, OpenWiff (source/binary included): http://skwire.dcmembers.com/apps/snacks/OpenWiff.zip

For a samply hotkey in AHK, you could use something like this:
[...]

well, I wasnt sure how that was meant to be used but I set it up as a button in Dopus
"F:\Portable\ ...\OpenWiff.exe" {filepath}

and that works nicely (XP)  :Thmbsup:
Tom

skwire

  • I eat Coding Snacks for breakfast...
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,297
    • Participated in NANY Challenge Seventeen Times
    • Coding Snacks
    • Superboy Coder
    • Cody Award
    • Volunteers/Staff
    • Gathering Badge
Re: Space + click on file reveals "Open With" list of programs
« Reply #30 on: May 25, 2010, 10:11 AM »
yes, that's it - Button1 works fine.
what a nice script. credits on their way...

Ah, great.  Nice to know that Microsoft didn't change up things completely.  Thanks for the credits.

well, I wasnt sure how that was meant to be used but I set it up as a button in Dopus
"F:\Portable\ ...\OpenWiff.exe" {filepath}

That's exactly how it's supposed to be used.  =]

Original address: https://www.donationcoder.com/forum/index.php?topic=22842.0