New
#1
set window height/width/position via .bat or shortcut parameters
Hi all!
I - as my dayjob - am programming CNC-machines. From time to time get an idea for some code that i want to try out at home. For that reason i want a simple way to sart up everything i need and get going right away.
In particular that would be:
- the emulation software of the machine
- the manual of the machine (.pdf)
- a picture of the american keyboard-layout (.jpg) [i'm german ]
- sth. to make notes - i use MS Excel (.xlsx)
But since i use this PC for all sorts of things in between 2 projects, it is very likely that i messed up window sizes and positionings.
I would like to hard-set these values somewhere, so that whatever is saved up from previous uses gets overwritten.
My attempt to achieve this was to create a simple .bat-file that starts all of these:
The first 3 are linking to shortcuts so that i can add in parameters to run with every file.Code:start "" "G:\UVA\startupHome\737_759-11" //manual start "" "G:\UVA\startupHome\Gravurzyklus" //notes start "" "G:\UVA\startupHome\tasta-pgmplatz" //keybord-layout start "" "C:\Programme\iTNC530\itncstart.bat" //emulator exit
I added in
for the .pdf-file at the extension to start at the part that is of interest.Code:"C:\ [...] \AcroRd32.exe" /A "zoom=75&page=310" "G:\ [...] \737_759-11.pdf"
What i would need now is the ability to set height, width, x- and y-coordinates for all of these windows except the "itncstart.bat" (basically positioning everything else around that one).
Is something like this possible? I would prefer not to use additional 3rd-party software.
I'm using Windows 7 Ultimate (64) with a 2-monitor setup.
Thanks in advance!
greetz
Nuc
PS: If something is unclear, dont be afraid to ask. I'll try to rephrase then
Last edited by Nuc1eaR; 03 May 2015 at 21:08.