
strik3r0475
Members-
Posts
14 -
Joined
-
Last visited
Everything posted by strik3r0475
-
_processgetpriority Shows Negative On Some
strik3r0475 replied to strik3r0475's topic in AutoIt GUI Help and Support
Thanks for the link to msdn....... I'll dig through that and see what I can find. -
_processgetpriority Shows Negative On Some
strik3r0475 posted a topic in AutoIt GUI Help and Support
Some process priorities show correct, others show -1. See something I am doing wrong? #include <GuiConstants.au3> #include <Process.au3> $Processes = ProcessList() GUICreate('Processes', 392, 316, -1, -1, BitOR($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS)) $Processesview = GUICtrlCreateListView('Process|Process ID|Priority', 10, 20, 370, 214) $OKButton = GUICtrlCreateButton('OK', 160, 260, 70, 30) For $i = 1 To $Processes[0][0] $ListViewItem = GUICtrlCreateListViewItem($Processes[$i][0] & '|' & $Processes[$i][1] & '|' & _ProcessGetPriority($Processes[$i][1]), $Processesview) Next GUISetState() While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case $msg = $OKButton ExitLoop Case Else ;;; EndSelect WEnd Exit -
Is that different from the dllHash.dll in the 3rd post of this topic? I tried that one and everyone from the link you posted and all give me the same error....
-
ERROR: StringHash(): undefined function. What include file is StringHash in or is it in an include file?
-
It works fine with Beta v3.1.1.116 released 26 March 2006
-
I haven't used Apache in a long time, but I thought it has an option to not display the tray icon?
-
Referencing A Combobox Array
strik3r0475 replied to boogieoompa's topic in AutoIt General Help and Support
This might help: http://www.autoitscript.com/forum/index.ph...ndpost&p=158840 -
The blue color? *Edit* Now I see..... I have had questions about the blue color and didn't have a clue what they were talking about........ On my puter (XP Home SP2) GUICtrlCreateGroup the text always shows up blue to me. I changed my theme to Windows Classic and now only the "Latest Beta *New*" shows as blue. This is set on line (of my editied version above) 288: GUICtrlSetColor($gr_Mn_Beta, 0x0000ff) You could just comment all those out, but I assume you would like it to be blue if there is a new version that you don't have installed and black if you have it installed. I will look a little closer and see if I can come up with something. *Edit #2* Got it (I think....) It was comparing the new beta version with the currently installed production version, so it was always showing Latest Beta *New* (Beta verison number is always higher than production version) AutoUpdateIt.au3
-
How About To Write A "source Safe" For Autoit ?
strik3r0475 replied to Krikov's topic in AutoIt Example Scripts
In SciTE go to Tool and then SciTE Config (or press ctrl + 1) In the General settings area there is a line that reads: Keep n BAK versions of the edited file (0=None): Just enter the number of backup copies you want to keep and everytime you run or save the file in SciTE it will automatically save copy of the previous file and name it yourfilename.au3.bak -
I just edited it to show the currently installed Beta version along with the current production version.... AutoUpdateIt.au3
-
I want to be able to enter random letters into the input box and then have it search a text file for all words that contain only the letters entered into the input box. I have no clue how to search the text file in that way. If someone could point me in the right direction. #include <GUIConstants.au3> #include <File.au3> Global Const $WM_COMMAND = 0x0111 Global Const $LBN_SELCHANGE = 1 Global Const $LBN_DBLCLK = 2 $Dictionary = "dictionary.txt" GUICreate("GUI Title", 179, 402, -1, -1, BitOR($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS), $WS_EX_TOPMOST) $Group = GUICtrlCreateGroup("", 10, 10, 160, 380) $Button = GUICtrlCreateButton("GO", 20, 30, 40, 20) $Input = GUICtrlCreateInput("", 70, 30, 90, 20, $ES_LOWERCASE) $List = GUICtrlCreateList("", 30, 60, 120, 305) GUICtrlSetData(-1, "List1|List2|List3|List4|List5|List6|List7|List8|") GUICtrlSetLimit(-1, 200) GUIRegisterMsg($WM_COMMAND, "MY_WM_COMMAND") GUISetState(@SW_SHOW) $msg = 0 While $msg <> $GUI_EVENT_CLOSE $msg = GUIGetMsg() Select Case $msg = $Button $Info = GUICtrlRead($Input) MsgBox(0, "Input", GUICtrlRead($Input)) EndSelect WEnd Func MY_WM_COMMAND($hWnd, $msg, $wParam, $lParam) $nNotifyCode = BitShift($wParam, 16) $nID = BitAND($wParam, 0x0000FFFF) $hCtrl = $lParam If $nID = $List Then Switch $nNotifyCode Case $LBN_DBLCLK ;Send(GUICtrlRead($List) & "{ENTER}") MsgBox(0, "List", GUICtrlRead($List)) Return 0 EndSwitch EndIf EndFunc ;==>MY_WM_COMMANDdictionary.txt
-
Bug in _FileCountLines? reading log files
strik3r0475 replied to hacksawbob's topic in AutoIt General Help and Support
I get the same with any type of file, I've even tried text files....... It always returns a negative -
Thank you! Exactly what I was looking for! Thanks, again!
-
I want to select an item in the first combo box and then use that to determine what will be available for selection in the second combo box. For example, the first como box has a list of states. You select a state and depending what state you select, different cities or zip codes for the selected state will be available in the second box. #include <GuiConstants.au3> GUICreate("State And Zip", 300, 200, -1, -1, BitOR($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS)) $Combo_1 = GUICtrlCreateCombo("Choose Your State", 30, 30, 240, 21, BitOR($CBS_DROPDOWNLIST, $WS_VSCROLL)) GUICtrlSetData(-1, "Alabama") GUICtrlSetData(-1, "Alaska") GUICtrlSetData(-1, "Arizona") GUICtrlSetData(-1, "Arkansas") GUICtrlSetData(-1, "California") GUICtrlSetData(-1, "Colorado") GUICtrlSetData(-1, "Connecticut") GUICtrlSetData(-1, "Delaware") GUICtrlSetData(-1, "District of Columbia") GUICtrlSetData(-1, "Florida") GUICtrlSetData(-1, "Georgia") GUICtrlSetData(-1, "Hawaii") GUICtrlSetData(-1, "Idaho") GUICtrlSetData(-1, "Illinois") GUICtrlSetData(-1, "Indiana") GUICtrlSetData(-1, "Iowa") GUICtrlSetData(-1, "Kansas") GUICtrlSetData(-1, "Kentucky") GUICtrlSetData(-1, "Louisiana") GUICtrlSetData(-1, "Maine") GUICtrlSetData(-1, "Maryland") GUICtrlSetData(-1, "Massachusetts") GUICtrlSetData(-1, "Michigan") GUICtrlSetData(-1, "Minnesota") GUICtrlSetData(-1, "Mississippi") GUICtrlSetData(-1, "Missouri") GUICtrlSetData(-1, "Montana") GUICtrlSetData(-1, "Nebraska") GUICtrlSetData(-1, "Nevada") GUICtrlSetData(-1, "New Hampshire") GUICtrlSetData(-1, "New Jersey") GUICtrlSetData(-1, "New Mexico") GUICtrlSetData(-1, "New York") GUICtrlSetData(-1, "North Carolina") GUICtrlSetData(-1, "North Dakota") GUICtrlSetData(-1, "Ohio") GUICtrlSetData(-1, "Oklahoma") GUICtrlSetData(-1, "Oregon") GUICtrlSetData(-1, "Pennsylvania") GUICtrlSetData(-1, "Rhode Island") GUICtrlSetData(-1, "South Carolina") GUICtrlSetData(-1, "South Dakota") GUICtrlSetData(-1, "Tennessee") GUICtrlSetData(-1, "Texas") GUICtrlSetData(-1, "Utah") GUICtrlSetData(-1, "Vermont") GUICtrlSetData(-1, "Virginia") GUICtrlSetData(-1, "Washington") GUICtrlSetData(-1, "West Virginia") GUICtrlSetData(-1, "Wisconsin") GUICtrlSetData(-1, "Wyoming") GUICtrlRead($Combo_1) $Combo_2 = GUICtrlCreateCombo("Choose Your Zip Code", 30, 81, 240, 21, BitOR($CBS_DROPDOWNLIST, $WS_VSCROLL)) $item = $Combo_1 If $item = "Choose Your State" Then GUICtrlSetData(-1, "Choose Your Zip Code") ElseIf $item = "Alabama" Then GUICtrlSetData(-1, "11111") GUICtrlSetData(-1, "22222") Else If $item = "Alaska" Then GUICtrlSetData(-1, "33333") GUICtrlSetData(-1, "44444") EndIf EndIf $Button_3 = GUICtrlCreateButton("OK", 80, 140, 130, 40) GUISetState() While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case Else If $msg = $Button_3 Then Exit EndSelect WEnd Exit