Jump to content

BOUNCER

Active Members
  • Posts

    31
  • Joined

  • Last visited

Everything posted by BOUNCER

  1. I'm trying to get the output data from https://www.guilded.gg but it uses a web app that generates that output on the fly and this doesn't show up in the page source. Only in web inspector of each browser does this data show up. How do I read this data in autoit (equivalent to the web inspector) thank you
  2. I dont get it... where would i add more StringInStr($dumpstring, "XXXX")
  3. $scan=StringInStr($dumpstring, "XXXX") $scan2=StringInStr($dumpstring, "XXXX") $scan3=StringInStr($dumpstring, "XXXX") $scan4=StringInStr($dumpstring, "XXXX") $scan5=StringInStr($dumpstring, "XXXX") $scan6=StringInStr($dumpstring, "XXXX") then i have If $scan OR $scan2 OR $scan3 OR $scan4 OR $scan5 OR $scan6 <> 0 Then this isnt very efficient how else can i do it
  4. the log file is a basic mirc log file which i guess is ANSI encoding, it has this type of format it ends up with everything clustered into a paragraph
  5. Im doing fileopen on a log file $text = FileOpen (@AppDataDir & "XXXXXXXX" , 0) $dumpstring = FileRead($text) basically the original file has a log with a new line on everything. 1 2 3 after i do all this i lose the formatting and end up with everything in one large paragraph 123
  6. ive been doing some tests, setting a test schedule task and getting off remote desktop to see how it executes... I left it WITH the "Nothing to send" dialog box open, to see if it closed the box Sleep(100) Send("!i") Sleep(100) Send("!o") Sleep(1000) If WinExists("[CLASS:#32770]", "Nothing to send") Then ControlClick("[CLASS:#32770]", "", "[CLASS:Button; TEXT:OK; INSTANCE:1]") EndIf Run("notepad.exe") << just to see if it actually ran the task what happened was , it did NOT close the dialog box (which i left open), but it did run notepad.exe... it also did not send the buttons so what the hell is going? keep in mind it works perfectly fine when im connected to remote desktop session, when i disconnect is when this random shyt starts not working it seems like this is by design of windows...but how can i get around to getting this to work properly
  7. I have a simple script that presses hotkeys every hour to check for mail it runs fine when i run it manually through the scheduled tasks...but when i exit remote desktop (user not logged out) and check , it doesnt seem to run properly i remember i had another issue with winactive in remote desktop a while ago is there any known issues with remote desktop or how can i get around this problem Sleep(100) Send("!i") Sleep(100) Send("!o") Sleep(1000) If WinExists("[CLASS:#32770]", "Nothing to send") Then ControlClick("[CLASS:#32770]", "", "[CLASS:Button; TEXT:OK; INSTANCE:1]") EndIf
  8. so if i do Global $Pic1 = GUICtrlCreatePic("connect2offline.gif", 24, 16, 243, 258) how would i use $Pic1 again...how do you use variables after their declared
  9. im tangled up with this declaring variable stuff... i want to make a function that has all the variables declared...and im having a hard time with it Func disconnectcheck() If $disconnectcheck <> "" Then GUICtrlDelete($Pic1) $connect2onlinelogo = GUICtrlCreatePic("connect2online.gif", 24, 16, 243, 258) GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif") GUICtrlSetColor(-1, 0xFFFF00) GUICtrlSetBkColor(-1, 0xFF0000) GUICtrlSetOnEvent(-1, "disconnectClick") Else $disconnectcheck = IniRead("config.ini", "blah", "blah2", "") $Pic1 = GUICtrlCreatePic("connect2offline.gif", 24, 16, 243, 258) EndIf EndFunc simple if statements...except it has variables on both sides that cant see each other On both sides of the IF and ELSE statements the variables are declared...i cant seem to organize it in a way so that the variables are declared on both sides... my other problem is that $Pic1 = GUICtrlCreatePic("connect2offline.gif", 24, 16, 243, 258) for example actually CREATES the image, so what the hell? if i do Global $Pic1 = GUICtrlCreatePic("connect2offline.gif", 24, 16, 243, 258) or Global $disconnectcheck = IniRead("config.ini", "blah", "blah2", "") itll just EXECUTE those functions... whats the point of declaring a variable like $pic1 if it actually creates the picture, how am i suppose to use it after its declared
  10. Oh thanks this helps alot, thank you very much
  11. Im looking for ways to connect to a vpn server with pptp...i see that rasdial allows you to connect to EXISTING entries, but im looking for a way (if possible) to connect right off the bat, say rasdial.exe /server:ASDASDASD /username /password.. is there anyway to hardcode the connection entries, so you can establish a connection directly without the need of creating a new entry in network connections, like rasdial requires the problem is that rasdial REQUIRES an EXISTING entry...so i cant just do rasdial.exe server username password, it needs to have an installed VPN or dialup entry in network connections...i dont know why they did it like this, im looking for a "background" way to achieve the most silent vpn connection as possible
  12. is it possible to force, and redirect a client application, through a proxy? something like a winsock hook or anything? the protocol is udp
  13. alright that worked If $text = "" Then WinSetState($class, "", @SW_MINIMIZE) Exit EndIf my next problem is its running under a RDP (remote desktop) user and some of the functions dont seem to work properly spefifically this part it does minimize but by default the program minimizes into the task tray, but here i find it sitting in the task bar (which is not the programs behavior), and all the control sends never go through, this is when the rdp user is logged out, when logged in everything works fine, but when logged out i find this weird behavior
  14. is there anyway to prevent the autoit decompiler ...i mean its ridiculous hwo the decompiler you can view the source in 1 second...is there any way to encrypt the code or it is not possible with the way autoit works?
  15. i have a mailer that checks for text in another app and mails it every 6 hours, the problem is it mails it even if its empty...how do i do if wingettext = empty then skip and abort
  16. is there any alternatives for the command InetGet?
  17. how do i run http://www.autoitscript.com/forum/index.ph...860&hl=SMTP every 12 hours? i tried putting it in a while loop While 1 $ti = TimerInit() While TimerDiff($ti) < 60 * 60 * 12000 Sleep(1000) WEnd .......CODE WEnd but it doesnt parse correctly and i dont know whats wrong
  18. alright i found it here if anyone needs it http://www.autoitscript.com/forum/index.php?showtopic=87711 i had to use google , the ipb search isnt too good
  19. is there anyway to make a .exe unique and have autoit be able to read it and identify it? or is this not possible
  20. HotKeySet("{F8}", "test") Func test() If ProcessExists("test.exe") then SoundPlay($SoundFile) DirCreate($desktop) EndFunc i want the sound to play only the FIRST time you press the hotkey
  21. whats he simple way to limit bandwidth for a single process?
  22. i already tried that, i have this server that runs in dos mode, and the computer has no monitor only way i can control it is through remote admin, so once internet disconnects i have to shut it down, but it never shuts down cause the dos server program is open, until it is closed the machine will not shut down or restart or anything, i tried running kill scripts from the Scripts (Startup/Shutdown) but it seems to hang that and never gets around to doing it, the only way to close is it either kill the process or ctrl + c
  23. i want to have the script execute on machine shutdown, so as soon as shutdown is intiiated i want the script to start working, how can this be done , thanks
  24. the new netsh commands seem to be vista, i dont have any of those commands
×
×
  • Create New...