Okay, i think it cant get around it anymore,
Since this forum is all against any kind of "automatic" features with Games,
I cant gain any help of the forum.
Let's descibe what i really make then : (
There is a game, that has a launcher and some strange ways to start the game.
So that's why i maked a automatic game launcher (Mouseclick(GUI)Question).
Now since the path cant be dynamic to the game i want to store the path of the directory of the game launcher
I think this is considerd as Macro/Bot and will not be supported by forum.
So yea, what now?
Hmmmm,
Lets describe it in a example.
a Pop-Up box pops up and ask the user to set his path of a certain file. if he filled it in and press the button the Path he has given is saved in a .ini or .text so i can use the path for any purpose
Hey,
I want to Store and Load information that are in variables
Like:
$variable = "test"
So i can Load/Write/Change the "test" ?
I saw the functions FileRead/Write/ReadLine but i didn't see a topic that show how
to read and store variables from it.
Thanks already
Zanax
Last question about this Topic, How can i use @ScriptDir Into this ?: RunWait("C:Users#USER#DesktopTooltest.bat","C:Users#USER#DesktopTool") What i think RunWait(@ScriptDir + "test.bat",@ScriptDir ) Thank u, Z. EDIT: i cant test it myself atm.
There is a way to make it but its not really user-friendly
WinActivate("Tool")
MouseClick("Tool","",$Window[0],$Window[1])
I try to avoid that, by controlclick
@M23 i dont really get what u mean with
I selected the button of the Tool, the Tool hasn't got a GUI like any standard GUI, It consist only of pictures and some Pictures that work like Buttons
I gues if u guys can help me out i have to use the not-friendly way. : (
ControlClick("Tool","","[CLASS:Button; INSTANCE:1]","left","1",$Window[0] + (980-304), $Window[1] + (542-128)) It doesn't seem do work either, what do i do wrong?
Hey,
I want to use ControlClick to make it more User-Friendly but the problem i face is
that nothing happens if ControlID = "" so how can i discover the ControlID of a certain program?
It's a Picture that is a Button, How can i fix it so ControlClick works on the button to click on it, left click ?
$Window = WinGetPos("Log")
ControlClick("Log","","??????","left","1",$Window[0] + (980-304), $Window[1] + (542-128))
Thank u,
Zanax
Ok thanks, i used cd inside the .bat to change Destop Directory to the right folder, but that is really Static way.
Is there a Dynamic way to change the direction with cd to the location of the .bat himself, that way its dynamic, but it works so far,
Thank u : )
EDIT: btw Log is a .java file so shellexcute wont work i gues