Custom Query

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (241 - 243 of 3870)

Ticket Resolution Summary Owner Reporter
#552 No Bug ProcessExist/ProcessList optional username parameter Developer@…
Description

ProcessExist and ProcessList could provide an optional username parameter to limit the search to processes owned by a given user. Using the PID returned by these funtions, the other process functions could be effectively limited to processes owned by a given user by specifying the PID as opposed to the process name.

$PID = ProcessExists ("notepad.exe", @UserName)

This thread:

http://www.autoitscript.com/forum/index.php?showtopic=79434

discusses highlights the need.

Athough this may be accomplished using WMI, WMI is just too slow.

#1944 No Bug AdlibUnRegister not working trusty Devol
Description

Hello,

Here an example:

#include <GUIConstantsEx.au3>

Opt("GUIOnEventMode", 1)

Global $Label, $iPos = 0 , $sleep = 10

$Form1 = GUICreate("Adlibtest - Sleep("&$sleep&")", 240, 100, 990, 30)
GUISetOnEvent(-3, "_Exit")
$Label = GUICtrlCreateLabel("Testlabel", 25, 14, 300, 16)
GUICtrlSetFont(-1, 11, 800, 0, "MS Sans Serif")
$Button1 = GUICtrlCreateButton("Start",15,50,60,40)
GUICtrlSetOnEvent(-1,"_startadlib")
$Button2 = GUICtrlCreateButton("Stop",120,50,60,40)
GUICtrlSetOnEvent(-1,"_stopadlib")
GUISetState(@SW_SHOW)

While Sleep($sleep) ; the higher the sleep , the more often the labelswitch fails
WEnd

Func _startadlib()
GUICtrlSetData($Label,"Running")
AdlibRegister("_Laufschrift")
EndFunc

Func _stopadlib()
AdlibUnRegister("_Laufschrift")
GUICtrlSetData($Label,"Stopped") ; labelswitch failing sometimes 
EndFunc

Func _Exit()
    Exit
EndFunc

Func _Laufschrift()
    GUICtrlSetData($Label, StringMid("Running", $iPos) & "           " & "Running")
    $iPos += 1.8
    If $iPos > StringLen("Running") Then $iPos = 0
EndFunc

I tested this script on several pcs but the behavoir is always the same. AdlibUnRegister

sometimes

fails and the subsequent command is not being executed.

You can try the examplescript , just click the buttons "Start" and "Stop" by turns.(wait 1-2 secs. before clicking stop) Sooner or later the label will be stopped on "Running Running Running" despite of the GuictrlsetData($Label,"Stopped").

Bug or not? :)

Greetz Devol

PS: I talked to the german forum before opening this ticket.

#3651 No Bug AutoIT3 Wrapper error after installing new version Digdeep
Description

I just went ahead and installed AutoIT latest version and no longer able to use CTRL+F5 or CTRL+F7. Getting the attached error.

I tried multiple re-installs but it's happening the same coming from the C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.au3.

Note: See TracQuery for help on using queries.