Custom Query

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (58 - 60 of 3866)

Ticket Resolution Summary Owner Reporter
#111 Rejected Extension to StringinStr to allow search from position as well as from occurrence (100% backwards compatible ) Fox2
Description

An additional flag parameter, also optional, that if you specify "occurrence" as a parameter, you can also after it specify "search type" too. The new description would be like this. Note this is 100% compatible with existing syntax, and defaults to the current behavior:

UPDATED SYNTAX AND DESCRIPTION:

StringInStr ( "string", "substring" , casesense [, from [, search type?] )

from [optional], search type [optional]

Depending on search type, directs StringInStr to either find a given occurrance of a substring (default behavior), or search for a substring from a given position.

If search type is zero or omitted (default) then "from" represents an occurrence of the substring to find in the string. Use a negative occurrence to search from the right side. The default value is 1 (finds first occurrence).

If search type = 1 then "from" represents a position to start searching for the substring in the string (1 = first character). Use a negative occurrence to search from a number of characters from the right side. The default value is 1 (finds first occurrence from the start of the string).

#112 Wont Fix Send() does not check key release anonymous
Description

That's good. If I release the Ctrl key while send is sending a string then it always results in the Ctrl being down. I think the reason is that when Send starts it has to check if the Ctrl key is pressed, and other keys. So it can send the correct characters it has to first send CTRLUP. When it's finished it sends CTRLDOWN if it was originally down, but what it should do is check if it's still pressed. This mod to your example works everytime I've tried it wheras before the bug showed every time, but there is a delay while it waits for the Ctrl key to be released.

Demo code : #include <GUIConstants.au3> #include <misc.au3>

Const $SCREEN_WAIT = 150

Func WriteMessage($message)

While _IsPressed(11)

WEnd

Send($message)

EndFunc

Func WriteStuff()

WriteMessage("`test1 test1") Sleep(1000)

EndFunc

Func ExitTool()

Exit

EndFunc

Func ConfigureHotKeys()

HotKeySet("h", "WriteStuff") HotKeySet("{F11}", "ExitTool")

EndFunc

Func Main()

Opt("GUIOnEventMode", 1) Opt("SendKeyDelay", 100) Opt("MouseClickDelay", 0) AutoItSetOption("WinTitleMatchMode", 2) AutoItSetOption("PixelCoordMode", 2) ConfigureHotKeys() While 1

Sleep(1000)

WEnd

EndFunc

Main()

#113 No Bug _ArrayDelete(StringSplit,..) anonymous
Description

Compiler issue: StringSplit returns an array, but _ArrayDelete does not recognize it.

$aStack = _ArrayDelete(StringSplit(StringMid($sStack,2),$sDelim,1),0)

PS. Probably applies to other _Array functions also.

Note: See TracQuery for help on using queries.