dryper Posted January 15, 2007 Posted January 15, 2007 Hello i cant figue out how i can open program that isint in the project dir. i want to open the World of warcraft (wow.exe) but i dont know how.. Mine world of warcraft is on C:\Programfiler\World of Warcraft\wow.exe but on other computers it may be installed somewhere else.. how should i do that?
seandisanti Posted January 15, 2007 Posted January 15, 2007 Hello i cant figue out how i can open program that isint in the project dir. i want to open the World of warcraft (wow.exe) but i dont know how.. Mine world of warcraft is on C:\Programfiler\World of Warcraft\wow.exe but on other computers it may be installed somewhere else.. how should i do that?i'm sure there's a registry entry that lists the install path, find that, then read it with your script to get the path, and you're all set
dryper Posted January 15, 2007 Author Posted January 15, 2007 i'm sure there's a registry entry that lists the install path, find that, then read it with your script to get the path, and you're all setWhere do i normally find the registry? lol <------ NEWBIE
seandisanti Posted January 15, 2007 Posted January 15, 2007 Where do i normally find the registry? lol <------ NEWBIE In the helpfile, look at RegRead(),RegEnumKey(),RegEnumVal()
dryper Posted January 15, 2007 Author Posted January 15, 2007 In the helpfile, look at RegRead(),RegEnumKey(),RegEnumVal()Thank you so much for the help
seandisanti Posted January 15, 2007 Posted January 15, 2007 Thank you so much for the help no problem, i'm happy to help when i can
dryper Posted January 15, 2007 Author Posted January 15, 2007 no problem, i'm happy to help when i canHehe could you make me a example? i didnt find much help in the help file.
seandisanti Posted January 15, 2007 Posted January 15, 2007 Hehe could you make me a example? i didnt find much help in the help file. i don't have the game, so i wouldn't know what to actually look for in the registry, but if you search for 'registry' on the forums, you should get a few examples of searching in the registry and using data from it. There are also examples in the help file.
xero Posted January 15, 2007 Posted January 15, 2007 (edited) Hehe could you make me a example? i didnt find much help in the help file. I do have the game, but I am currently at work.To my knowledge, WoW doesn't create any reg keys, but surely it must put something there when its installed..One way to manually find it is go to Start, click on Run, and type in regedit and press OK. When this loads, go to file, click on find and type in World of Warcraft". Hopefully that will bring up any reg keys related to WoW.If you're still stuck later on i'll find where it is on my comp and point you in the right direction .:EDIT:.Sorry, this may be of no use, as it doesn't explain how to do it with AutoIt.. I was just explaining to find the path of the WoW reg key on your own computer.. Sorry! Edited January 15, 2007 by xero
dryper Posted January 15, 2007 Author Posted January 15, 2007 I do have the game, but I am currently at work.To my knowledge, WoW doesn't create any reg keys, but surely it must put something there when its installed..One way to manually find it is go to Start, click on Run, and type in regedit and press OK. When this loads, go to file, click on find and type in World of Warcraft". Hopefully that will bring up any reg keys related to WoW.If you're still stuck later on i'll find where it is on my comp and point you in the right direction .:EDIT:.Sorry, this may be of no use, as it doesn't explain how to do it with AutoIt.. I was just explaining to find the path of the WoW reg key on your own computer.. Sorry!ok i now found ourt some things.. what the Registry is called its called HKEY_LOCAL_MACHINE\SOFTWARE\JOYMAX\Silkroad then how do i run that registry from my script? is it just: Run("HKEY_LOCAL_MACHINE\SOFTWARE\JOYMAX\Silkroad ") ????
dryper Posted January 15, 2007 Author Posted January 15, 2007 (edited) ok i now found ourt some things.. what the Registry is called its called HKEY_LOCAL_MACHINE\SOFTWARE\JOYMAX\Silkroad then how do i run that registry from my script? is it just: Run("HKEY_LOCAL_MACHINE\SOFTWARE\JOYMAX\Silkroad ") ????Figured .. Edited January 15, 2007 by dryper
Vindicator209 Posted January 15, 2007 Posted January 15, 2007 to find what you need, you can head into your System32 folder for the RegEdit, and from the looks of your first post, it looks like it should be around: C:\WINDOWS\system32\regedt32.exe It goes through all your registry files so you can search using that [center]"When you look at old, classic games like Snake, you often put it off because it's such a simple game, but it's only when you actually try and create your own unique game from scratch, do you finally appreciate those games."[/center][center]Don't ask for answers if you haven't TRIED yet![/center][center]Most answers can be answered in the help file! Use it![/center]
Helge Posted January 15, 2007 Posted January 15, 2007 Figured ..Figured... ? Correct me if I'm wrong but are you implying that nobody knew the answer ? Was 13 minutes of waitingtoo long for you to wait for a reply, and was it really needed to make a new topic when you already hadthis one ? If they don't know it in this topic why should they know in another topic ?You've already been told what function which reads a registry-value and you obviously knows how to runa file. Put one and one together... Lots of question, I know, but I'm just curious of your way of thinking.Anyway, please take this the right way. I'm not trying to hang you. Yet
Vindicator209 Posted January 15, 2007 Posted January 15, 2007 (edited) ok i now found ourt some things.. what the Registry is called its called HKEY_LOCAL_MACHINE\SOFTWARE\JOYMAX\Silkroad then how do i run that registry from my script? is it just: Run("HKEY_LOCAL_MACHINE\SOFTWARE\JOYMAX\Silkroad ") ????by the way, autoit can't send user input to silkroad, gamegaurd update... stinks right? XD Edited January 15, 2007 by MethodZero [center]"When you look at old, classic games like Snake, you often put it off because it's such a simple game, but it's only when you actually try and create your own unique game from scratch, do you finally appreciate those games."[/center][center]Don't ask for answers if you haven't TRIED yet![/center][center]Most answers can be answered in the help file! Use it![/center]
dryper Posted January 16, 2007 Author Posted January 16, 2007 by the way, autoit can't send user input to silkroad, gamegaurd update... stinks right? XDI have a GG bypass just download Srobot... but i really need help to get the key working! grr i gonna tell what im doing when i trying....1. i writing regedit in run2. i find the dir thats called Joymax\Silkroad.. 3. then i right click on "Silkroad"4. then i press "Copy Keyname" (called something like that, im on norwegian computer) (HKEY_LOCAL_MACHINE\SOFTWARE\Joymax\Silkroad) <---- its called that5. then i paste it to this code: Run("sro_client.exe", "HKEY_LOCAL_MACHINE\SOFTWARE\Joymax\Silkroad"Then im stuck.. and it dont work Theres some file in the directory to called: (Standard), Division, InstallPath and Option.I think its something with the files and how i trying to set up the RUN code. Please help me!.. set up the code how it should be 1
Leandro Conca Posted January 16, 2007 Posted January 16, 2007 (edited) The working dir can not be a registry path! Supposing that InstallPath is a key in the registry that contains the installation folder: i.e.: InstallPath =C:\Program files\World of Warcraft You could read that value to a variable and then set the variable as the Working dir. $WoWFolder = RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Joymax\Silkroad", "InstallPath" ) Run("sro_client.exe", $WoWFolder) Hope that helps. Edited January 16, 2007 by Leandro Conca
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now