Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • May 30, 2016, 05:38:32 AM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: IDEA: Replacement for Windows 'Open With...' dialogue  (Read 5222 times)

megomaster

  • Participant
  • Joined in 2007
  • *
  • default avatar
  • Posts: 3
    • View Profile
    • Donate to Member
IDEA: Replacement for Windows 'Open With...' dialogue
« on: May 09, 2007, 01:41:08 PM »
Hello,
i am searching for a program that i can associate with any filetype e.g. *.jpg .
After doubleclicking on image.jpg the program should offer a window to choose diffrent applications from, that i can configure in a .ini file.

So the content of the .ini file should be something like the following:
jpg=ACDSEE(c:\program files\acd\acdsee.exe), Maxview(c:\program files\faststone\maxvie.exe),Edit(c:\prog\pf\pf.exe)
zip=Winrar(c:\prog\wr\winrar.exe), Winzip(c:\program files\winzip\winzip.exe),JPG-View(c:\prog\cr\comicrack.exe)
...
If i doubleclick now on a image.jpg , that i already associated with newprog.exe i want to have the following choices displayed:
What do you want to do?
ACDSEE
Maxview
Edit

and then choose by mouse or cursor what app should be started with the image.jpg.

This would be really great if you could do something like that, or if anybody can give me a link to a program.
Pretty much thanks.
Dirk
 

nudone

  • Cody's Creator
  • Columnist
  • Joined in 2005
  • ***
  • Posts: 4,117
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: IDEA: Replacement for Windows 'Open With...' dialogue
« Reply #1 on: May 09, 2007, 02:56:04 PM »
quickassociation will do this and more. but it's not free. i bought it because i believe it to be the best for what it does. find it at http://www.pcmag.com...,1895,1654639,00.asp

TucknDar

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,099
    • View Profile
    • Donate to Member
Re: IDEA: Replacement for Windows 'Open With...' dialogue
« Reply #2 on: May 09, 2007, 03:44:52 PM »
There's a couple of tools made for file manager Total Commander made for this purpose:

ChoiceEditor: http://www.totalcmd....eEditor_patched.html

Open File Shell for TC: http://www.totalcmd....ring/OpenFileTC.html

I haven't tried them from outside Total Commander, but I'm pretty sure they'd work the way you want them to.

cthorpe

  • Discount Coordinator
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 725
  • c++thorpe
    • View Profile
    • Donate to Member
Re: IDEA: Replacement for Windows 'Open With...' dialogue
« Reply #3 on: May 09, 2007, 05:14:50 PM »
Ok, so I have no idea how to code this, but a thought:

Make an AutoHotkey script that accepts two parameters when it is run.  One would be the filename, and one would be the type (image, audio, text, etc).

The script would then get the menu info for that particular file from an ini file (you might need more than one ini: one for each type) and present it to you.

When you select the program you want, the script calls the specified program and passes the filename parameter.


ChoiceEditor works great for this!  I don't have TC, and it works.  Thanks TucknDar!!!!

For example, I have the following ini file:
[Options]
Language=0
CheckCursor=1
CheckKey=27
AlwaysChecked=1
[General]
DisplayName0=IrfanView
Editor0=C:\Program Files\IrfanView\i_view32.exe
Ext0=JPG,png,gif
DisplayName1=XnView
Editor1=D:\Applications\XnView\xnview.exe
Ext1=JPG,png,gif

I then associated jpg, png, and gif with ChoiceEditor, and a double click brings up this menu:
choice1.png

Clicking the double arrow in the lower right lets you add another program:
choice2.png

After you add the first program for an extension, you need to open the ini file and add a second program entry for the same extension to get the menu to show up.
« Last Edit: May 09, 2007, 05:26:37 PM by cthorpe »

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,258
    • View Profile
    • Coding Snacks by Lanux128
    • Donate to Member
Re: IDEA: Replacement for Windows 'Open With...' dialogue
« Reply #4 on: May 09, 2007, 09:28:46 PM »
i personally use WAssociate, a freeware that manages the associations between file name extensions and file types stored in the Windows registry. it works with Windows 95, 98, ME, NT, 200 and XP. there is another thread about this subject here..

WAssociate_txt.png
http://www.xs4all.nl...~wstudios/Associate/


megomaster

  • Participant
  • Joined in 2007
  • *
  • default avatar
  • Posts: 3
    • View Profile
    • Donate to Member
Re: IDEA: Replacement for Windows 'Open With...' dialogue
« Reply #5 on: May 12, 2007, 04:27:33 AM »
Thanks to all who replied to my idea.

ChooseEditor is exactly, really exactly what i was searching for. You helped me to reach the goal. I must confess, i would have never searched for a TotalCommander plugin.

So great Thanks again to all the people here and also to the admins of this portal. Great job!

Thanks Dirk