Jump to content

cynapse

Members
  • Posts

    14
  • Joined

  • Last visited

cynapse's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Hi ! Thanks for your reply ! http://code.google.com/p/my-autoit/downloads/list _MSXML.au3 seems to answer to my requirements ! Bye bye !
  2. Hi everybody ! i need help to parse multiple XML Files at the same time ! I have read all the topics about XML DOM WRAPPER but actually, this tool can only deal with one opened XML File. Do you know how can I do ? Is there a hack ? Thanks for your help Bye Seb
  3. whowwwwww !!! what a quick answer ! that's perfect! Thanks for your reactivity !!! Have a good day !
  4. Hi! i have a GUI AutoIT software and i'd like to hide the taskbar to only have a trayicon (with a menu to show/hide). When i'll click on "-", it will hide the software to the tray icon and when i will click on "x", it will close the software. Could you help me please ? I have already try to search information on the board but i was rather complicated.. Thanks for your support :-) Cyn'
  5. already checked out but i haven't found something interested. Have i forgotten to read something ? The casesentivie option seems to be useless for me...
  6. Hi ! i need some help to write my script : I have a file with generic strings which contain word <PROJECT> that i'd like to parse with the content of my variable $project ex : $data = "./start.sh <PROJECT>" so I use StringReplace($data, "<PROJECT>", $project) and that works. However, i'd like to parse my string <PROJECT> case-sensitivly. Exemple : if $data = "./start.sh <Project>" and $project = "ABCDEF", i'd like to have $res = "./start.sh Abcdef" (with the first character in upper mode) Could you help me please ? Thanks !
  7. perfect thanks a lot, that works ! Bye bye Seb
  8. ok. thanks and about the auto-refresh mod ? is there a function in AutoIt or may I write "while (1) Sleep(20) function() end loop" ?
  9. Hello, i have a little question... I'd like to write a script which does : - run "http://localhost/index.php" in Internet Explorer (in background) - Refresh every 20seconds that webpage - For each round of the loop (each 20sec), show a MsgBox which displays the content of the webpage (what is there between <div id="test">...</div> Could you help me please ? Thanks a lot ! Seb
  10. in fact, $project only contains string like "TEST", "JOHN" etc ...
  11. Hello ! i'm trying to build a script which will write some commands on Putty. However, many instances of Putty are lauched so I have to route my commands to the good window ! Here is my script : Local $title = "WAS 5 - " & $project $id = Run("G:\putty.exe -load myconf") $hWnd = _GetHwndFromPID($id) WinSetState ($hWnd , "", @SW_MAXIMIZE) WinWaitActive($hWnd) WinSetTitle($hWnd, "", $title) If WinActive ($hWnd, "") Then ControlSend ($title, "", "","ssh -l login server{ENTER}") Sleep(750) ControlSend ($title, "", "","echo './myscript.sh " & $project & "'{ENTER}") EndIf Here is my problem : when my window isn't active, my script manages to write in the good Putty Terminal however, strange character are sent... For example : it doesn't write echo './myscript.sh test' but echo ';.-./myscript.sh T_;est' Could you help me ? I have already tried to set "opt" parameter to the controlSend Function but nothing changes... Thanks and have a nice day !
  12. where can we download that beautiful code please ?
  13. Thanks a lot !!! I have managed to improve that script with other features and that works ! that's amazing ! i'm going to continue to discover that fabulous tool Have a nice day !!
  14. Hi ! i'm a new user of Auto IT. In fact, i'd like to try to write a little script and i have a few question to begin.. In fact, I'm using an IE page at Work. In this page, I need to select a project name and after that, it's always the same task to do... So i'd like to industrialize it ! What I'd like to do is : - I manually go on that IE page and I select with my mouse the project NAME. - When the name is selected, I press a hot key which will open Putty.exe and paste the project name inside. Could you help me to find the way to begin ? I have seen Send("^C), Run (for Putty ?), WinWait functions but I have some difficulties to integrate them to do that.. Thanks for everything and have a good day :-) Seb
×
×
  • Create New...