Jump to content

KenzoIT

Active Members
  • Posts

    47
  • Joined

  • Last visited

KenzoIT's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Thanks for your clarification, BrewManNH ! I want winword.exe will be opened as soon as double click item on the listview. I tried to search but did not find out solution yet. Is there anyone help me ?
  2. Hi everyone, The code work well. But I don't know how to execute program by double click. Can you instruct me how to do it ? Thanks for your support ! double_click.au3
  3. That's great. Thanks for your help, Water !
  4. Hi everyone, I can not show info from file *.txt in GUICtrlCreateList. #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> GUICreate("AutoIT",400 ,350 , -1, -1) $list_view = GUICtrlCreateList("",20, 40, 100, 160) $list_srv = "D:\data\list_srv1.txt" $read = FileRead($list_srv) $split = StringSplit($read,@CRLF,1) For $i = 1 to $split[0] GUICtrlSetData($list_view,$split[$i]) Next GUISetState(@SW_SHOW) While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then ExitLoop Wend Can you help me how to fix it ? Thanks for your instruction ! list_srv1.txt
  5. Hi everyone, I would like the script will execute automatically each five minutes. But I have the problem when I run myscript. It can not stop. $firefox = MsgBox(4, "Open Firefox", "Would you like to open firefox ?") If $firefox = 7 Then ;MsgBox(0, "Design by Kenzo","Thank you !") Exit EndIf AdlibRegister ("Adlib_Function",4000) While 1 ShellExecute ("C:\Program Files\Mozilla Firefox\firefox.exe") Sleep (1000) Send("{ALT}") Sleep(1000) Send ("{right 4}") Sleep (1000) Send("{down 9}") Send ("{right}") Send("{down 5}") Send("{enter}") Sleep(9000) Send("^{TAB}") Sleep(5000) Send("^{TAB}") Sleep(5000) Send("^{TAB}") Sleep(5000) Send("^{TAB}") Sleep(1000) WEnd Func Adlib_Function() ConsoleWrite("This function is called once a second - time is " & @MIN & ":" & @SEC & @CRLF) EndFunc Can you instruct me how to fix it ?
  6. Have you got any ideas for me ?
  7. Please help me to to solve the problem.
  8. Anyone instruct me how to do it ?
  9. Hi everyone, I have some servers and I use tsmmc.msc command on Win2k3 in order to connect to the servers such as sever1, server2, server3.. I can use 'Window Info' function to locate server1, server2 and server3 to execute the connection. Now, I want to get server name to execute the connection without 'Window Info' function. Can we do that ? Please instruct me how to do this. Thanks for you support !
  10. Anyone instruct me how to do that ?
  11. Hi all, A server run some applications. And I want to save the cache memory to a folder that applications will be started when server restart. Can you instruct me how to do that ? Thanks all !
  12. Hi all, A server run some applications. And I want to save the cache memory to a folder that applications will be started when server restart. Can you instruct me how to do that ? Thanks all !
  13. Got it to work now, thanks for the quick answer.
  14. When I check "Incident" box --> it will send "2010-05-20 16:48:58 : Server have a problem." content to D:/Server1/Time_Log.htm but GUICtrlCreateCheckbox function and GUICtrlCreateCombo function doesn't work. I want GUICtrlCreateCheckbox function, GUICtrlCreateButton function and GUICtrlCreateCombo function work together. (Server2, server3 and server4 are the same with server1) Anyone help me to complete this case ? Test.au3
  15. Hi all, My system have 4 servers and I would like to record time when a server have problems at each time. But I don't know how to do it. I want when I check "Incident" box and choose "Server1". After I click "Record" button --> it will send "Server have a problem" content in D:/Server1/Time_Log.htm If I check "Troubleshooting" box and click "Record" button --> it will send "SE is troubleshooting an incident" content in D:/Server1/Log_Time.htm If I check "Resolved" box and click "Record" button --> it will send "Incident is resovled by SE" content in D:/Server1/Log_Time.htm Server2, server3 and server4 are the same with server1. Pls instruct me how to do it. Thanks ! Test.au3
×
×
  • Create New...