robinsiebler wrote:I created some Internal Associations for Archives and an AutoHotKey script for extracting them. Feel free to use/modify this.
Nice application! I have linked this post to my context menu wiki tutorial (in section References), Feel free to delete the link if you don't want it there.
I am not familiar with scripting in TC. However this is exactly what I've been looking for. I have been able to get it to work and I love it, great job. I'm wondering if you could help me modify it slightly so that I have an option to do the extract with no confirmations and auto send to background.
Possibly adding another line on the right click like:
Extract Into Opposite Pane (Internal/NoCon)
or something similar.
Either that or a line in your script that I could add that would turn that feature on for any or all of your existing right click destinations.
Also, is it possible to have a keyboard shortcut for each of the extracts as well. I am trying to automate extracting large numbers of archived files.
I'm excited that I found this post, its right along the lines of what I need.
As far as I can tell, I can't put the unpack dialog into the background. That would need to be addressed in TC itself. As for a confirmation, you should not see the dialog at all, but sometimes the AHK script itself fails. There isn't anything that I can do about that; AHK is not a very robust tool in that regard. Perhaps someone more knowledgeable in the ways of AHK could address this failing of my script.
Personally, I got disgusted with how often the AHK script can fail, and created a similar script using vTask Studio (commercial software). It never fails. I could compile that script and give you the executable, but it may cause a problem with any anti-virus software you use.
Robin L. Siebler
Personal License #13949
------------------------------
"Bother", said Pooh, as he deleted Windows
I was able to get rid of some of the confirms I wanted to by modding the wincmd.ini file. So it is close to what I wanted. As far as the other script, sure, I'd be interested to try it out if you can get it to me. Thanks for taking a look. Just as it is now, it saves me a ton of time. Any thoughts about how to hotkey the new functions the script creates?
and thanks again.
robinsiebler wrote:I'll see what I can do. - Not much.
As far as I can tell, I can't put the unpack dialog into the background. That would need to be addressed in TC itself. As for a confirmation, you should not see the dialog at all, but sometimes the AHK script itself fails. There isn't anything that I can do about that; AHK is not a very robust tool in that regard. Perhaps someone more knowledgeable in the ways of AHK could address this failing of my script.
Personally, I got disgusted with how often the AHK script can fail, and created a similar script using vTask Studio (commercial software). It never fails. I could compile that script and give you the executable, but it may cause a problem with any anti-virus software you use.
robinsiebler wrote:Here is a link to the scripts and a file containing the associations needed for them to work.
As for hotkeys, you can edit the TC config files to create your own hotkeys. This tool contains a Hotkey editor.
I think Ive got the concepts down fairly well, and Im sure my issues are completely me but Im wondering where the .exe files come into play with this. Your script is asking for .vxm. What am I missing. The associations work but the script doesnt run with the .exe. I think that is my only problem right now. And yes, I modified all the paths to match my own system and drives if you were wondering.
The hotkey editor is exactly what I needed,thanks.
Sorry, change the .vxm to .exe. I use vTask Studio (a commercial program), so you couldn't run the scripts directly without that installed. The .exe is a compiled version of the script. It may or may not trigger a false positive on your virus software.
Robin L. Siebler
Personal License #13949
------------------------------
"Bother", said Pooh, as he deleted Windows
robinsiebler wrote:Sorry, change the .vxm to .exe. I use vTask Studio (a commercial program), so you couldn't run the scripts directly without that installed. The .exe is a compiled version of the script. It may or may not trigger a false positive on your virus software.
actually i got it, just opened the exe in the vtask and saved as a vxm, and it now works....however im getting an error on step 40. It looks like its trying to press the last OK button and fails. If I press it myself quickly before the error pops up, it works and no error comes up. Any ideas. (this is with the extract to opposite pane option) But all of them fail on that last step of pressing the last OK.
One more thing, looking at Vtask, the command it is having trouble with in each case is "Activate, First, Title + Class" in each option.
Sparhawk110 wrote:
robinsiebler wrote:Sorry, change the .vxm to .exe. I use vTask Studio (a commercial program), so you couldn't run the scripts directly without that installed. The .exe is a compiled version of the script. It may or may not trigger a false positive on your virus software.
actually i got it, just opened the exe in the vtask and saved as a vxm, and it now works....however im getting an error on step 40. It looks like its trying to press the last OK button and fails. If I press it myself quickly before the error pops up, it works and no error comes up. Any ideas. (this is with the extract to opposite pane option) But all of them fail on that last step of pressing the last OK.
For the title, make sure it matches the title of your Total Commander bar. For it failing to click the OK, button, I am not sure. That never fails for me. You could try adding a pause before the mouse click and see if that works.
Robin L. Siebler
Personal License #13949
------------------------------
"Bother", said Pooh, as he deleted Windows
robinsiebler wrote:For the title, make sure it matches the title of your Total Commander bar. For it failing to click the OK, button, I am not sure. That never fails for me. You could try adding a pause before the mouse click and see if that works.
Nope still no good, thinking through, im wondering about versions of total commander.
I'm trying with 8.01 both 32bit and 64bit, same errors with both.