Basically your script is still useful use it to initiate trade and then adjust order using hot keys works great so its a bit clumsy but far far faster than the IB splash screen
V.3 -Script makes sure only one instance is running to avoid input conflicts -1 sec splash screen to inform you that it's been activated -Waits for window titled Order Confirmation to pop up - Activates Order Conf. window in case your cat is messing with keyboard and activates another window..lol -Overrides mouse control so you cant move it to another position missing the target -Moves the mouse to coordinates relative to. Conf Window(no matter the position it pops up, mouse is going right over transmit button) even though it seems to open always at the same position relative to your mouse, but better safe than sorry.... -Clicks once (Confirms order) _returns mouse cursor to original position and releases control So now you can both transmit new orders and drag existent orders on the Dom ladder with auto confirmation. Works pretty fast on my machine (i5) , my clicking speed ability (lol) can't keep up with the script, so I can transmit many orders in a couple of secs without jamming the process. On relatively old machines it's going to slow down not because of the script (how dare you mofos...), but because of freaking TWS Java, basically if it takes half second to pop up the Order Conf. window, there's nothing I can really do to speed up your PC..heh. Lemme know!
Works like a dream, you cannot believe how useful this is to me, its little bit disconcerting to see the confirm screen, (I'll get used to it) but man is it fast. Thank you so much!
I'm still using an older version of tws, but downloaded your script and will use it when I decide to update to a current tws. Thanks for putting in the effort.
Thanks for the mod. Works really fast like it never happened. Any chance this code can be used on a Mac?
There's IronAHK that Runs on .NET or Mono for Linux/Mac, it's still in Beta, but it should be able to convert the original AHK code (it's pretty simple) and compile an executable for MAC. http://www.ironahk.net/ Discussion thread http://www.autohotkey.com/forum/topic54494.html I've never used it, I can give it a shot as soon as I install NET.Framework 2.0 on my "Everything but Trading" machine (darn you Microsoft!) Stay tuned P.S. I also have a new version for Win (adds another layer of safety in case IB coders change the Pop up window position, nothing fancy), I'll post it soon.
I checked the links and downloaded the ironAHK compiler for Mac. Tried to run it but the compiler won't open.
You probably need Net Framework 2.0 downloadable from Msoft site ( i still have to download it so I'm not sure it's gonna work...). Very busy right now....