Jump to content

djek

Active Members
  • Posts

    34
  • Joined

  • Last visited

djek's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. The word you are looking for is 'please' an example #include <GUIConstants.au3> #include <GuiListView.au3> ;create form ;whlt $Form1 = GUICreate("AForm1", 370, 270, 193, 115) ;create listview ;ltwh $ListView1 = GUICtrlCreateListView("000000|111111|222222222222222", 10, 10, 350, 250) ;set to alternate the colors GUICtrlSetBkColor($ListView1, $GUI_BKCOLOR_LV_ALTERNATE) ;insert item $ListView1_0 = GUICtrlCreateListViewItem("aaa|111|nononono", $ListView1) ;set alternate color GUICtrlSetBkColor(-1, 0xffff00) $ListView1_1 = GUICtrlCreateListViewItem("bbb|222|yes", $ListView1) ;set alternate color GUICtrlSetBkColor(-1, 0xffff00) $ListView1_2 = GUICtrlCreateListViewItem("ccc|333|nononono", $ListView1) ;set alternate color GUICtrlSetBkColor(-1, 0xffff00) ;resize the columns to header _GUICtrlListViewSetColumnWidth ($listview1, 0, $LVSCW_AUTOSIZE_USEHEADER) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd It took me a while to figure it out too.
  2. I just close the IE proces and start it again. It will read the new settings after that.
  3. http://www.uwe-sieber.de/usbstick_e.html has RemoveDrive or Ejectmedia maybe you can script around it.
  4. The lines as they show up in my post, in your script but only if you use the autoit3wrapper. Ah, well I use scite4autoit and hotkeys to compile a script. I don't (ever) use the explorer. You can use 'compiler options' for with the autoit3wrapper and embed them in your script. Sorry, but I don't think my solution is related to your problem.
  5. Have had that problem too. Try commenting out these options: ;~ #Compiler_OutFile_Type= ;~ #Compiler_OutFile=
  6. Would you mind posting that?
  7. no result: >Running:(3.1.1.0):E:\Program Files\AutoIt3\autoit3.exe "D:\data\scripts\autoit\test.au3" +>AutoIT3.exe ended.rc:0 >Exit code: 0 Time: 0.833 When I run that on a cmdline as "E:\Program Files\AutoIt3\autoit3.exe" "D:\data\scripts\autoit\test.au3" it runs like it should. It seems to me that the AutoIt3Wrapper doesn't wait for the script to finish. I tried it on a other machine with the same results.
  8. Running a script with F5 or Alt-F5 doesn't seem work anymore. It runs the script, but closes it directy. msgbox(0,"",@ScriptName) output: >"E:\Program Files\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /prod /ErrorStdOut /in "D:\data\scripts\autoit\test.au3" /autoit3dir "E:\Program Files\AutoIt3" /UserParams >Running AU3Check params: from:E:\Program Files\AutoIt3\SciTE\au3check\ +>AU3Check ended.rc:0 >Running:(3.1.1.0):E:\Program Files\AutoIt3\autoit3.exe "D:\data\scripts\autoit\test.au3" +>AutoIT3.exe ended.rc:0 >Exit code: 0 Time: 0.828 Using all the latests and greatests. Reinstalled the whole lot, but that didn't help. does anyone else has this too, or is it just me?
  9. You can use tortoisecvs local on windows. You don't need a cvs server. It integrates in the explorer read the help file for more information.
  10. It is indeed one of the best free programs. But there is only 1 snag. From the faq: Therefore for portable us I recommend Dekart Private Disk Light It's not open source, but you don't need administrator privileges to mount. It has command line options, so it is scriptable.
  11. update to the latest SciTE4AutoIt3 http://www.autoitscript.com/autoit3/scite/ open your script with SciTE type 'compiler' (sans quotes) press space voila, all the options you need, including #compiler_prompt = y
  12. use wmi _fullname() Func _fullname() $objInfo = ObjCreate("ADSystemInfo") $objUser = ObjGet("LDAP://" & $objInfo.Username & "") if @error then return @UserName endif Return $objUser.fullname EndFunc Yes I stole it, so what
  13. from: Google Groups It only works for NT and newer. I didn't test this, but sounds easy enough to distinguish a server from a workstation see also Where Am I Running? Something like this: msgbox(0,"type",_producttype()) Func _producttype() $val=RegRead("HKLM\System\CurrentControlSet\Control\ProductOptions","ProductType") Select Case $val="WINNT" return "Workstation" Case $val="SERVERNT" return "Server" Case $val="LANMAN" return "AdvansedServer" Case $val="" return "prewinnt" Case Else return "unknown" EndSelect EndFunc (sorry, the does not indent)
  14. be prepared :http://www.tramontana.co.hu/wix/
  15. how about the md5.dll?http://www.autoitscript.com/forum/index.ph...791entry39791
×
×
  • Create New...