11/27/2023 0 Comments Bluestacks X Y coordinates hideREM ** This script opens one or more windows with specified screen properties Nircmd.exe win hide ititle "OPEN-2-EXPLORER-WINDOWS-SIDE-BY-SIDE-AND-CENTERED-ON-SCREEN-AT-THE-PRIMARY-MONITOR_20131209084355" REM - HIDE THIS CONSOLE WINDOW (HOOKS THE WINDOW TITLE) Title OPEN-2-EXPLORER-WINDOWS-SIDE-BY-SIDE-AND-CENTERED-ON-SCREEN-AT-THE-PRIMARY-MONITOR_20131209084355 REM - GIVE THIS CONSOLE WINDOW TITLE A UNIQUE STRING ID This is the batch file, ready to run on any Windows system (run it for an instant demo): off This demo batch file will open two Explorer windows side-by-side and centered on the screen at the primary monitor.ġ. I have two solutions one for single monitor computer, and another for multi-monitor computer. This problem is completely solved using a couple of helper programs and a batch file. You can also customize cmd.exe window or the "run" application by adding lines to "SetupEnvCmd.cmd assuming "run" is asynchronous win32 application otherwise add "start" command. Not so much a problem with explorer.exe or cmd.exe but something like Firefox's or java applications can vary from few seconds to several dozen seconds depending on the speed your hardware and OS tuning. So you would increase time if you have virus scanners that delay. The "wait" may need to be adjusted to give the time for the application window to initialize. "c:\develop\jboss-4.2.3.GA\server\default\deploy" "something" is window title usually the folder name eg. Where x,y top left corner location and width,height are the window size Nircmd wait 1000 win setsize ititle "something" x, y, width, heightĮxplorer /n,c:\develop\Project\Mapping\deploy Nircmd cmdwait 1000 win setsize ititle "cmd.exe" 30 30 1000 600Įxplorer /n,c:\develop\jboss-4.2.3.GA\server\default\deploy Nircmd win setsize ititle "cmd.exe" 30 30 100 200 Nircmd win move ititle "cmd.exe" 5 5 10 10 Here is an alternate way with nircmd util from
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |