Reply #2 by Victor Delta » Wed Jul 28, 2010 12:24 pm
Yes, that's right. It's a facility I use quite frequently (one of the many reasons I like Avant so much) and so I was hoping to create a button which will make it even easier to use in future. Hence the request.
Reply #4 by Victor Delta » Wed Jul 28, 2010 10:26 pm
Thanks, but that's a real shame. I thought scripts could do virtually anything in Avant, especially something that appears to be relatively simple such as calling up an existing menu item. Am I missing something here?
Reply #6 by Victor Delta » Sun Dec 05, 2010 8:57 pm
Given the new shortcuts on Build 126 [including Save Current Page as Image(Shift+Ctrl+A)] does this mean that a button to do this might now be possible...?
Yeah, but you're going to have to trust an executable to press them.
I've made the script with AutoHotKey.
Just throw the executable into a folder and point a command addon to it. This wont work in Orca - those shortcuts don't exist.
Throw the SCA.exe into your windows folder. And embed the addon into Avant.
If you want to change the location of the SCA.exe it should be modified in the addon as well. SCA.exe just presses Shift+Ctrl+A for you, so I wouldn't really advise clicking on it outside of Avant.
Reply #8 by Victor Delta » Tue Apr 19, 2011 6:10 pm
sulpherdragon, many thanks for that.
I've imported the .aba file and put the exe file in a folder (and changed the address in the addon settings). However, running it doesn't seem to work, not even when i double click on the exe file.
Reply #9 by sulpherdragon » Thu Apr 21, 2011 9:31 am
Hi Victor, hmm that's odd... It should work. Double check you have the path correct. It also only works in Avant, not Orca. Clicking on the addon wont do anything because Avant needs to be in focus for the commands to do anything, you don't need to have AutoHotKey installed either. I will examine the issue and see if I can come up with a solution...
Reply #10 by Victor Delta » Thu Apr 21, 2011 5:36 pm
Thanks. Path double checked, and I'm certainly using Avant (build 131). Button is doing something as I get a momentary glimpse of the hourglass cursor, but that's it. Whereas clicking on Shift+Ctrl+A (or even the easier Ctrl+Shift+A) brings up the Save As dialogue box.