Jump to content

Matthy

Active Members
  • Posts

    109
  • Joined

  • Last visited

Matthy's Achievements

Adventurer

Adventurer (3/7)

0

Reputation

  1. Works great THX! nice that you also posted a good example
  2. Hey all, i have a GUI with inputs, and the purpose of those inputs is adding elements it works now by putting information in to the fields "GUICtrlCreateInput" fields and you can add them by using a add button "GUICtrlCreateButton" however its not that handy you keep mousing or tabbing to the add button and then shift tabbing back to the input field. is it possible to run the function that should be triggered by the button by enter if its in a input field? I thougth of using hotkeyset but that influences the whole envoinrent. is there a better solution?? thanks Matthy
  3. wow it works thank you
  4. Hi i am making a FTP download script and it needs to create a log file, and ofcource i can make one and then modify it but i was just wondering isnt there a createfile function? i mean there is a createdir function so it would make a 100% sense i have seen something with FileCreateNTFSLink but i dont know if that is the best solution, also the backupper can be in fat32... some idea's or should i just make a file in advance? thanks matthy
  5. omg i think i already have it using fileget sorry to bother.
  6. hi i recently found the ftp function on autoit and still try to get the hang on it i am trying to make a backupdownloader that downloads a cronjob backup from the ftp and then sets it on my computer. this is what i have for so far $ftp = _FTP_Open("myFtp") $connection = _FTP_Connect($ftp,$server,$user,$password) Local $h_Handle $aFile = _FTP_FindFileFirst($connection, $backupDir, $h_Handle) $aFile = _FTP_FindFileNext($h_Handle) $aFile = _FTP_FindFileNext($h_Handle) ; need to have the 3rd file in the directory why i dont know but now it gives the rigth filename ConsoleWrite('$FilenameNext1 = ' & $aFile[10] & ' attribute = ' & $aFile[1] & ' -> Error code: ' & @error & @crlf) $fileDir = $backupDir & $aFile[10] ConsoleWrite($fileDir) i have seen UDF's like _FTP_FileOpen _FTP_FileRead _FTP_FileGet but i dont know how to use them and which one (to bad it doesnt have a exaple on the help file and tells whats the difference between these 3 is). i am talking about a file of 30 megs or more so i dont think you can that easily put it in a varable. anyone a idea? Thanks Matthy
  7. _IELinkClickByText ($oIE, "myDELISprint") $oIE2 = _IEAttach("DPD MyDELISprint") $oForm = _IEFormGetObjByName($oIE2, "frmVersandauftrag", 0) the link i click opens in a new window and i want to control that window of what i am clicking. what am i doing wrong IEAttach should work rigth? is it else posible to not open that link in a new window thanks matthy
  8. ok i was thinking of that but thanks for the confirm
  9. _IENavigate($oIE,"http://site.com) _IEAction($oIE,"print") Send("{enter}") But it wont send the enter to findaly print it waits until the window is closed what i dont want Is there a way to let this work? cheers Matthy
  10. no i cant understand why i didnt fond it thanx!
  11. Hi I am making a program to automate some things. but to automate that i have to get some information out of the database online well what i did is make a page where evrything stands on so that i can grab it with autoit however its now one big string. and i want it to split in to different values into an array so can use it later. i checked the string manegement udf's but could not find a function. is there a function to do this? thanks matthy
  12. www.rentacoder.com
  13. thanks all but i am afraid mrmacadamia what you said wont work for BinaryBrother its one step closer to my succes. the only problem still is that I am stuck with that messenger and would love to use the normal WLM for non bot functions. I dont know is it possible to be logged on twice with a different messenger on the same location? if so you can hide that messenger and is it as bot only while still using the normal messenger. Thanks Matthy
  14. Hi i want to make a sort of a bot for WLM, But the normal controlsend wont work Example: There is someone in WLM with the window active called "Joop" I do: ControlClick("Joop","","[CLASS:DirectUIHWND; INSTANCE:2]","Left",1,322,507) ControlSend("Joop","","[CLASS:DirectUIHWND; INSTANCE:2]","Hi Joop") this doesn't work however when I do this WinActivate("Joop","") ControlClick("Joop","","[CLASS:DirectUIHWND; INSTANCE:2]","Left",1,322,507) ControlSend("Joop","","[CLASS:DirectUIHWND; INSTANCE:2]","Hi Joop") it does work however now its activated what i dont want. there is a problem with the window the whole msn talk window is one window so no extra control to type in thats why i tried the contolClick on the coordinates of the typing screen without succ6 this is the summary. >>>> Window <<<< Title: xxxx <XXXXXX@live.nl> Class: IMWindowClass Position: 1599, 319 Size: 890, 669 Style: 0x16CF0000 ExStyle: 0x00000100 Handle: 0x000905F0 >>>> Control <<<< Class: DirectUIHWND Instance: 2 ClassnameNN: DirectUIHWND2 Advanced (Class): [CLASS:DirectUIHWND; INSTANCE:2] ID: Text: Position: 0, 28 Size: 882, 607 ControlClick Coords: 282, 180 Style: 0x56000000 ExStyle: 0x00010000 Handle: 0x00190916 >>>> Mouse <<<< Position: 1885, 557 Cursor ID: 0 Color: 0xFFFFFF >>>> StatusBar <<<< >>>> Visible Text <<<< >>>> Hidden Text <<<< CVoiceVideoAvatarHostWindow does anyone know how to get something in that textfield without activating it (so it can run on background) and using a lame function like send. Thanks Matthy
×
×
  • Create New...