Search found 24 matches

by jkeks
26 Jul 2020, 01:43
Forum: Ask For Help
Topic: array MsgBox bug ? Topic is solved
Replies: 1
Views: 509

array MsgBox bug ? Topic is solved

why this code show incorrect result ?

instead Boss it show nope

Code: Select all

z := []
z[name] := "Boss"
z[nop] := "nope"
MsgBox, % z[name]
by jkeks
30 May 2020, 00:50
Forum: Статьи и руководства
Topic: ahkey.ru - AutoHotKeys FAQ на Русском
Replies: 0
Views: 630

ahkey.ru - AutoHotKeys FAQ на Русском

Тут: http://ahkey.ru собраны и постоянно обновляются мои собственные рецепты по работе с AutoHotKeys.
Я не очень крутой перец в AutoHotKeys, но по крайней мере с помощью данных рецептов написал уже не одну тулзу под себя.

Пользуйтесь

Может какие идеи будут пишиту тут.
by jkeks
27 Apr 2020, 05:04
Forum: Ask For Help
Topic: Incremental search in listbox without sort and edit box ? Topic is solved
Replies: 2
Views: 252

Incremental search in listbox without sort and edit box ? Topic is solved

I need to do incremental search in listbox without sort attribute and without edit box as filter
Original sort is required !

Is there way to do it ?
by jkeks
20 Apr 2020, 07:12
Forum: Ask For Help
Topic: ControlSend sometimes wont work Topic is solved
Replies: 1
Views: 140

ControlSend sometimes wont work Topic is solved

dont work: Gui Add, ListBox,vLBDone hwndLBDone, фывфыф|sdfasd .. reloadSite(){ .. ControlSend,,{End},ahk_id %LBDone% } work fine: Gui Add, ListBox,vLBDone hwndLBDone, фывфыф|sdfasd .. LBSites: reloadSite() ControlSend,,{End},ahk_id %LBDone% Return reloadSite(){ .. } how to embed ControlSend to funct...
by jkeks
12 Apr 2020, 09:08
Forum: Tips and Tricks
Topic: Incremental search in listbox without sort
Replies: 1
Views: 1285

Incremental search in listbox without sort

this hack use edit. Edit component let you do incremental search by any char in lines, not only first char. And thats cool ! you just need this little function: Gui Add, Edit, ge1 x1 y1 w180 h20 r1 vSearch Gui Add, ListBox, x1 y21 w180 h400 vSite hwndSite, %sites% ... ; on edit change e1: Gui,Submit...
by jkeks
08 Apr 2020, 01:31
Forum: Ask For Help
Topic: How to add my AutoHotKeys App in to Microsoft Store ?
Replies: 1
Views: 121

How to add my AutoHotKeys App in to Microsoft Store ?

Is there way to add my AutoHotKeys App in to Microsoft Store ?
by jkeks
03 Apr 2020, 01:17
Forum: Ask For Help
Topic: p2p video chat with AutoHotKeys
Replies: 1
Views: 302

p2p video chat with AutoHotKeys

Is there way to make p2p videochat ?
by jkeks
29 Mar 2020, 10:14
Forum: Wish List
Topic: CPAN/composer for AHK
Replies: 0
Views: 981

CPAN/composer for AHK

Is there something like CPAN or Composer for AutoHotKeys ?
by jkeks
23 Mar 2020, 05:16
Forum: Ask For Help
Topic: Listbox quicksearch by 2+ chars Topic is solved
Replies: 2
Views: 323

Re: Listbox quicksearch by 2+ chars Topic is solved

and if I want keep original sorting, what to do ?
by jkeks
21 Mar 2020, 02:02
Forum: Ask For Help
Topic: listbox background color Topic is solved
Replies: 1
Views: 231

listbox background color Topic is solved

is there simple way to paint listbox background with any color ?

(found lib https://github.com/AHK-just-me/Class_CtlColors but maybe there are more simple way ?)
by jkeks
20 Mar 2020, 04:04
Forum: Ask For Help
Topic: Listbox quicksearch by 2+ chars Topic is solved
Replies: 2
Views: 323

Listbox quicksearch by 2+ chars Topic is solved

I have list in listbox:

Code: Select all

abc
ade
afg
flo
when I press 'a' my focus will on 'abc'
when i press 'a' and then 'f' , will 'flo', but I want 'afg'

how to change beahvior of listbox to select items by more then one char ?
by jkeks
19 Mar 2020, 04:02
Forum: Ask For Help
Topic: key press Enter on Listbox Topic is solved
Replies: 5
Views: 548

Re: key press Enter on Listbox Topic is solved

#NoEnv Gui, Add, ListBox, w180 h400 vTodo gTodo, Todo1||Todo2|Todo3 Gui, Show, w400 h420, ActionZipper OnMessage(0x0100, "CheckForEnter") ; WM_KEYDOWN Return GuiClose: ExitApp Todo: Return CheckForEnter(W, L, M, H) { ; VK_RETURN = 0x0D (13) If (W = 13) && (A_GuiControl = "Todo") MsgBox, Bingo! } th...
by jkeks
19 Mar 2020, 00:16
Forum: Ask For Help
Topic: get index of selected item in listbox
Replies: 3
Views: 585

Re: get index of selected item in listbox

its too hard way to get Index of listbox.. i dont like it

in my programm I use:
and get value
and get index

and default better use getValue..
by jkeks
18 Mar 2020, 01:14
Forum: Ask For Help
Topic: get index of selected item in listbox
Replies: 3
Views: 585

get index of selected item in listbox

I have code:

Code: Select all

	GuiControl, +AltSubmit, Site
	GuiControlGet, url, , Site
	GuiControl, -AltSubmit, Site
Code work fine.
But is it good code for my task ?
Maybe there are some more true way to get index of selected item in listbox ?

Maybe there are just:

Code: Select all

Site.items.index
?? no ?
by jkeks
17 Mar 2020, 08:25
Forum: Ask For Help
Topic: key press Enter on Listbox Topic is solved
Replies: 5
Views: 548

Re: key press Enter on Listbox Topic is solved

A hotkey basically is a key press event. What don’t you like about that approach? You’re really just asking for different syntax. code is very hard to understand I need only event handle in my own application.. what for #IfWinActive ; - twice Gui, Submit, noHide ; - what is it ? Better way like: To...
by jkeks
17 Mar 2020, 08:06
Forum: Ask For Help
Topic: key press Enter on Listbox Topic is solved
Replies: 5
Views: 548

key press Enter on Listbox Topic is solved

is there simple way to get event handle way to chaeck current window is abnormal Gui Add, ListBox, x182 y1 w180 h400 vTodo gTodo, %todo% Gui Show, w400 h420, ActionZipper ... #IfWinActive, ActionZipper Enter:: #IfWinActive Gui, Submit, noHide If Todo Msgbox % Todo return maybe there is nomal events ...
by jkeks
05 Nov 2019, 22:25
Forum: Ask For Help
Topic: How to hook press Enter on item in listView ?
Replies: 4
Views: 398

Re: How to hook press Enter on item in listView ?

example work, but there are magic ..
by jkeks
05 Nov 2019, 22:24
Forum: Ask For Help
Topic: Use "Enter" instead of double-click in Listview Topic is solved
Replies: 4
Views: 1321

Re: Use "Enter" instead of double-click in Listview Topic is solved

Gui, Add, Button, Default, OK Gui, Add, ListView, r5 w200 , time|size Loop, 4 LV_Add("", a_now " " A_Index, 200*A_Index) LV_ModifyCol() Gui, Show return ButtonOK: ControlGet, number, List, Count Focused, SysListView321, A LV_GetText(var, Number,1) msgbox % var return this is magic (( how AUTOHOTKEY...
by jkeks
05 Nov 2019, 11:36
Forum: Ask For Help
Topic: How to hook press Enter on item in listView ?
Replies: 4
Views: 398

How to hook press Enter on item in listView ?

How to hook press Enter on item in listView ?

is there working example ?
by jkeks
05 Nov 2019, 05:43
Forum: Ask For Help
Topic: onClick does not work ((
Replies: 1
Views: 283

onClick does not work ((

why this code dont show msgbox when I click on listview ? #SingleInstance Force #installKeybdHook #Persistent Gui, Add, Listview,x72 y100 r5 vLV gLV +altsubmit -multi, Accounts|YOUR SECOND COLUMN IS HERE Loop, read, 1.txt LV_Add("", StrSplit(A_LoopReadLine, " - ")*) ; split the line into cells by pi...

Go to advanced search