lawson23 Posted September 27, 2006 Share Posted September 27, 2006 (edited) I'm a beginner scripter that has done a few of these and I must say this is really a great application thank you. Now for my question. I have this script that starts an EXE and does some things in the APP. My problem is the exe automatically starts in the Primary Monitor window not the Secondary. I can move it and it will always restart still in the Primary window. This happens if I use the autoit script or if it just execute the application. See the secondary monitor is moving (reason for this script) to a location that is not visible from the mouse. This prevents us from being able to move it manually. The APP executes in Full Screen and if I can't add something to the execution to start in the second monitor I guess I would need to 'Restore Down' and move the window bar and 'Maximize'. Edited September 27, 2006 by lawson23 Link to comment Share on other sites More sharing options...
Xenobiologist Posted September 27, 2006 Share Posted September 27, 2006 Hi, I cannot test it right now, but did you do it manually and record it? Maybe it works. So long, Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
lawson23 Posted September 27, 2006 Author Share Posted September 27, 2006 (edited) Does Autoit have a something like a macro record ability? I'm unaware of this. I will look and see if I can find something giving me the info I need for this.I just looked and don't see this ability anywhere. I must be missing something.Ok I found this:http://www.autoitscript.com/autoit3/scite/...criptWriter.htmbut when I hit alt +f6 nothing happens. Edited September 27, 2006 by lawson23 Link to comment Share on other sites More sharing options...
Xenobiologist Posted September 27, 2006 Share Posted September 27, 2006 Hi, download Scite and then use Alt+F6 look for Au3record. So long, Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
lawson23 Posted September 27, 2006 Author Share Posted September 27, 2006 I got the record function now and I'm looking into trying this recording out. Link to comment Share on other sites More sharing options...
lawson23 Posted September 27, 2006 Author Share Posted September 27, 2006 (edited) The record function worked and is a great thing to have. I was always trying to figure out the commands I needed this makes things so much easier because it gives me the command to use and then I can tweak it. At first I was trying to use the mouse and thought of a hundred different issues with this. IE if the screen resolution changes on the first monitor. Then I thought of min and max keyboard strokes that exist. Here is what I have so far and going to test: Send("{ALTDOWN}{SPACE}{ALTUP}r") Send("{ALTDOWN}{SPACE}{ALTUP}m") Send("{RIGHT}{RIGHT}{RIGHT}{RIGHT}{RIGHT}{RIGHT}{RIGHT}{RIGHT}{RIGHT}{ENTER}") Send("{ALTDOWN}{SPACE}{ALTUP}x") Does anyone know of a better way to move the screen using the keyboard than what I have shown? Edited September 27, 2006 by lawson23 Link to comment Share on other sites More sharing options...
lawson23 Posted September 27, 2006 Author Share Posted September 27, 2006 Works like a charm! If anyone can provide some better coding suggestions than what I have used I would love to hear them. Thank you for everyones help! Link to comment Share on other sites More sharing options...
Xenobiologist Posted September 27, 2006 Share Posted September 27, 2006 Hi, maybe Send("!{SPACE}r!{SPACE}m{RIGHT 9}{ENTER}!{SPACE}x") So long, Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
lawson23 Posted September 28, 2006 Author Share Posted September 28, 2006 Mega, Thank you for the help. I will try this out sometime. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now