I having a hard time to combine my scripts which work separately...
basicly I have a batch script with following in it:
START "" "mpc-hc64.exe" "video.avi"
this will open my video in mediaplayer. so far so good. then I had some reading on SO and SE about how to open window on set position via cmd/bat and found out in answers about AutoHotkey (documentation: here). so I downloaded a zip with executable and created a AHK script:
Run mpc-hc64.exe WinWait, Media Player Classic Home Cinema WinActivate WinMove A,, 960, 0, A_ScreenWidth-960, A_ScreenHeight-29
this will open my mediaplayer at the right side of my screen if I run this cmd/bat:
AutoHotkeyU32.exe "script 1.ahk"
and now I would need to combine all above into one batch which if I run it thet it will open my video file in my mediaplayer and on the right side of my screen. can enyone help?