Jump to content

iGryc

Members
  • Posts

    6
  • Joined

  • Last visited

iGryc's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. 'point is i want it CLEARING the screen of anything that might be displayed atm, which only consists of a splashimageon hence the splashoff() in the clear screen func. i want the inputbox also cleared if its on the screen, without terminating the script.
  2. um: HotKeySet($clear_screen,"clear_screen") Func clear_screen() SplashOff() EndFunc i want it also to clear the screen of an inputbox, if one is on the screen. the inputbox is something of: $search = InputBox("lolutilities.", "ENTER COMMAND", "","",190,115,0,0) idk how to make the hotkey for clear_screen func, also close the above inputbox if its on the screen. i add this to the clear_screen func: ControlSend("lolutilities.","Cancel",Button2,"{ENTER}") i get a syntax error. ive tried other things but cant seem to get it working. hope the above will prove more helpful in getting help answering my question EDIT: accidentally didnt add the . in the $search inputbox title. just now added on this post.
  3. can set the hotkey i want fine but the actual function is where im confused as to how to go about it. any help on manipulating an autoit inputbox? in need of a hotkey triggering the Cancel button on the inputbox. used the window tool and saw its instance 2 of a button but dont exactly know how to make use of the information. any help is appreciated. thanks
  4. i was trying to do what pain clarified, which was have a file opened with a program and displayed to the user. was unaware fileopens actions were 'invisible' so to speak. thanks for the helpful replies
  5. o my bad lol. I WILL USE THE EXCUSE OF BEEN UP for a very long time and am tired as ASKDMALSD. thanks for the reply. helpful people on these forums
  6. tried many different things and still not openin teh file. i compiled simply: $file = FileOpen("test.txt",0) to exe and sent to my cousin, couldnt open the test.txt file either and yes i had test.txt in the same directory. i can watch as the autoit flashes by in my task bar but the text file is not opening. any reasons this is happening? code from the help file: $file = FileOpen("test.txt", 0) ; Check if file opened for reading OK If $file = -1 Then MsgBox(0, "Error", "Unable to open file.") Exit EndIf FileClose($file)
×
×
  • Create New...