AutoHotkey Community

It is currently May 23rd, 2012, 4:35 pm

All times are UTC [ DST ]


Search found 15 matches
Search these results:

Author Message

 Forum: Scripts   Topic: TF: Text file & Variables/String Library v3.3 [lib]

Posted: April 28th, 2010, 10:23 pm 

Replies: 189
Views: 33881


Oh thanks for the help ruespe...lots less code that way.

 Forum: Scripts   Topic: TF: Text file & Variables/String Library v3.3 [lib]

Posted: April 27th, 2010, 9:28 pm 

Replies: 189
Views: 33881


Never mind...I discovered a solution myself. If there is anyone here with a similar dilemma here is the solution. You have to insert the line with the variable you want in the text. NO percent marks here. TF_InsertLine("!settings.ini","31",31,"SettingsManager.floatSet GS...

 Forum: Scripts   Topic: TF: Text file & Variables/String Library v3.3 [lib]

Posted: April 25th, 2010, 3:59 pm 

Replies: 189
Views: 33881


Sorry to bother you again Hugo but I have run into another issue... I am trying to write text to a line in a file...and it writes fine and to the proper place...but it is not writing the value of a variable... Here is my code... TF_InsertLine("!settings.ini","31",31,"Set...

 Forum: Scripts   Topic: TF: Text file & Variables/String Library v3.3 [lib]

Posted: April 24th, 2010, 8:06 pm 

Replies: 189
Views: 33881


hugov


Thank you for a very quick and detailed response. This has remedied my problem and now I may continue to program!


Again I appreciate your assistance. :D

 Forum: Scripts   Topic: TF: Text file & Variables/String Library v3.3 [lib]

Posted: April 24th, 2010, 7:45 pm 

Replies: 189
Views: 33881


Hi I am trying to search a file for certain text and have it tell me the line. Then I store that line number in a variable and have the TF_RemoveLines function remove the line number present in the variable... Here is what I have. settingspingline1:=TF_Find("!settings.ini", ""...

 Forum: Support   Topic: IniWrite: Writing to specific lines in an .ini file.

Posted: April 19th, 2010, 8:00 pm 

Replies: 4
Views: 382


I need to write a variable into an INI file at a specific point...if it is not above a certain variable and below a certain variable...it most likely will not execute the desired results properly. Is there any way to write to a specific line?

 Forum: Support   Topic: Checking if a variable has a value...any value...

Posted: April 18th, 2010, 11:30 pm 

Replies: 4
Views: 401


Thank you very much this worked great =)

 Forum: Support   Topic: Checking if a variable has a value...any value...

Posted: April 18th, 2010, 10:31 pm 

Replies: 4
Views: 401


Thank you very much...I will try and see if this works :D

 Forum: Support   Topic: Checking if a variable has a value...any value...

Posted: April 18th, 2010, 9:42 pm 

Replies: 4
Views: 401


I am having trouble with checking if a certain variable has a value. For example in order to do something, I need the script to check if variable "SettingsFile" has a value. If it has a value, then do something, if it does not have a value or does not exist, do something else.. I have sear...

 Forum: Support   Topic: Saving variables to a file then loading variables from file.

Posted: June 7th, 2009, 3:45 am 

Replies: 1
Views: 401


Hi, part of my script requires me to save certain variables to a file when I press a button then load those variables back in when I press a button. My buttons work fine. It saves the variables to a file with this code. First, it finds all the values in the GUI controls and submits them to other var...

 Forum: Support   Topic: Help with detecting if game is running.

Posted: June 5th, 2009, 3:50 am 

Replies: 1
Views: 186


Hi, I am trying to check if a certain program is running, and if it is, do something, and if it isn't do something else. What to do if program is running WinGet, active_id, ID, Combat_Arms WinMaximize, ahk_id %active_id% What to do if program isn't running. Run, CombatArms, %IconPath% Thanks, Brandon

 Forum: Support   Topic: ` and RShift don't work in my script.

Posted: June 4th, 2009, 9:37 pm 

Replies: 1
Views: 530


My script changes controls in a game. It moves the mouse to a certain area, clicks once, then presses the key to bind it. When I use my program to try and bind ` or RShift to a key, it will not go through. But when I physically press these keys on my keyboard, they go through fine. Here is my progra...

 Forum: Support   Topic: HELP: Finding image in online game!

Posted: May 15th, 2009, 11:16 am 

Replies: 4
Views: 422


Ok, it worked the first time. When I say worked I mean it detected the pixel was there. Then I try it a second time. Doesn't work. Third time. Doesn't work. I didn't change anything except what the script does when it detects the color and doesn't detect the color. There's no consistency for some re...

 Forum: Support   Topic: HELP: Finding image in online game!

Posted: May 15th, 2009, 10:13 am 

Replies: 4
Views: 422


Thanks. I'll give it a try and get back to you =)

 Forum: Support   Topic: HELP: Finding image in online game!

Posted: May 15th, 2009, 2:58 am 

Replies: 4
Views: 422


Hey guys, I am here to ask for help with my script finding an image in a game I play. What I am trying to do is have my game find the healthbar image, and if it finds the image successfully (meaning I have full health) the script continues. If it does not find the image, I want the game to log me ou...
Sort by:  
Page 1 of 1 [ Search found 15 matches ]


All times are UTC [ DST ]


Powered by phpBB® Forum Software © phpBB Group