Trying to run Minecraft Launcher and a server bat file

Ask gaming related questions (AHK v1.1 and older)
CyberSlav
Posts: 2
Joined: 06 Feb 2020, 16:25

Trying to run Minecraft Launcher and a server bat file

06 Feb 2020, 16:32

Code: Select all

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.; 
#Warn   ; Enable warnings to assist with detecting common errors.;
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.;

+1::
Run, C:\Users\Marcello Novak\Twitch\Minecraft\Install
MsgBox, Running Solo Server...
The problem is though, is that it only opens the window of the file location. I've heard of WorkingDir, but I don't know how to work it. Also, if I make the WorkingDir the file location of the minecraft exe, how do I change it to the file location of my server's startup bat file?

Thanks.
w0z
Posts: 230
Joined: 19 Jun 2014, 08:21

Re: Trying to run Minecraft Launcher and a server bat file

06 Feb 2020, 20:16

For example to open a VLC player:

Code: Select all

+1::
	Run, C:\Program Files\VideoLAN\VLC\vlc.exe
Return
Or

Code: Select all

+1::
	Run, vlc.exe, C:\Program Files\VideoLAN\VLC
Return
If I was helpful consider Donate me. :beer: , plz :D

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 104 guests