Jump to content

yellow

Active Members
  • Posts

    27
  • Joined

  • Last visited

yellow's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. I want to change the .exe file's version info but don't know how to do it, any one has idea?
  2. you'd better try Winexists , winsetontop......
  3. I want to set "0" to all members in $array[10], and I don't want to use this 10 times: $array[1]=0 $array[2]=0 ........ Thanx in advance!
  4. Got it! I added it to While loop and fixed! Thanks a lot,SmOke_N!
  5. I have 2 inputs, input[1] and input[2] (used GUICtrlCreateInput....). input[2] is set to GUI_disable. I want to set input[2] to GUI_enable when there is any input from input[1] without clicking any button, anyone know how to do this? Thanx in advance!
  6. Thanx for your fast reply! I am so stupid!
  7. Thanks guys! I will pick up one.
  8. I want to display a dialog or something when my gui program is executing commands, like "please wait..." etc. Anyone got a idea? Thanks in advance!
  9. You can check the autoit help file.
  10. maybe like this:opt("GUIOnEventMode",1) GUICtrlCreateLabel("File to Run",40,61) $localfile=GUICtrlCreateInput("",110,60,100,16) GUICtrlSetState(-1,$GUI_ACCEPTFILES)
  11. That's good! I will check why I am wrong. Thanks!
  12. It still can't work well in my pc! I can't see any lines. But thanx for your reply!
  13. Look at my script , I don't know why I can't add the @CRLF. when I use it the window can't display properly. opt("GUIOnEventMode",1) #include <GUIConstants.au3> $mainwindow=GUICreate("My GUI edit") GUISetOnEvent($GUI_EVENT_CLOSE, "CLOSEClicked") $myedit=GUICtrlCreateEdit ("", 176,32,121,97,$ES_AUTOVSCROLL+$WS_VSCROLL) GUISetState () $file = FileOpen("c:\test.txt", 0) If $file = -1 Then GUICtrlSetData ($myedit,"NO Log",1) EndIf While 1 $line = FileReadLine($file) GUICtrlSetData ($myedit,$line & @CRLF,1) If @error = -1 Then ExitLoop Wend FileClose($file) Func CLOSEClicked() If @GUI_WINHANDLE = $mainwindow Then Exit EndIf EndFunc
×
×
  • Create New...