Search found 60 matches

by jkeks
10 Apr 2024, 04:11
Forum: Ask for Help (v2)
Topic: Keyboard a4tech kv-300h and FN-key
Replies: 2
Views: 74

Re: Keyboard a4tech kv-300h and FN-key

i was tried it all.
AHKHID - hard for me to understand
by jkeks
10 Apr 2024, 02:41
Forum: Ask for Help (v2)
Topic: Keyboard a4tech kv-300h and FN-key
Replies: 2
Views: 74

Keyboard a4tech kv-300h and FN-key

Hello New versions of the a4tech kv-300h keyboard have the FN key instead of the right Win, there is no designation for it in AutoHotkey, and in general, as I understand it, it works somehow differently. However, I want to use this key just like the usual Alt Shift or ctrl. Otherwise, it just takes ...
by jkeks
22 Sep 2023, 04:06
Forum: Ask for Help (v2)
Topic: ComObject("HTMLfile") for extracting HTML Source from clipboard Topic is solved
Replies: 23
Views: 3363

Re: ComObject("HTMLfile") for extracting HTML Source from clipboard Topic is solved

@chatGPT Don't use chatGPT for AHK, it doesn't make sense. Perhaps you need this: F11:: { if CopySelectedText() { if html := ExtractHtmlData() url := RegExReplace(html, 's)(?<=href=")[^"]+(*SKIP)(*F)|.') MsgBox 'text: ' . A_Clipboard . '`nurl: ' . url } CopySelectedText() { ClipSaved := ClipboardAl...
by jkeks
30 Jul 2023, 02:07
Forum: Scripts and Functions (v2)
Topic: Paste random emoji
Replies: 1
Views: 449

Paste random emoji

There is Repo with AutoHotKey 2

Paste random emoji by hotkey
https://github.com/jkeks/AutoHotKey-2-random-emoji
by jkeks
11 Jun 2023, 00:35
Forum: Статьи и руководства
Topic: ahkey.ru - AutoHotKeys FAQ на Русском
Replies: 5
Views: 10702

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

MARKDOWN файл заливался на сайт таким AutoHotKey скриптом: ; get_AutoHotKeys.php - put to ahkey.ru/ and run it ! MsgBox, start POST transfer AutoHotKeys.md to ahkey.ru URL := "http://ahkey.ru/get_AutoHotKeys.php" HttpObj := ComObjCreate("WinHttp.WinHttpRequest.5.1") HttpObj.Open("POST", URL, 0) Http...
by jkeks
20 Feb 2023, 23:38
Forum: Ask for Help (v2)
Topic: echo text to console where it run
Replies: 6
Views: 867

Re: echo text to console where it run

swagfag wrote:
20 Feb 2023, 11:12
yes, the correct example is
swagfag wrote:
20 Feb 2023, 04:49
dont insert spaces before the parens
i dont understand why u took this to mean "insert an extra set of parens"......
Take example from official site
image.png
image.png (5.3 KiB) Viewed 681 times

Code: Select all

#Requires AutoHotkey v2.0
FileAppend "asdas", "*"
Result: Incorrect desciptor
image.png
image.png (22.28 KiB) Viewed 681 times
by jkeks
20 Feb 2023, 11:03
Forum: Ask for Help (v2)
Topic: ListView detect selected item ? Topic is solved
Replies: 1
Views: 267

ListView detect selected item ? Topic is solved

How to get selected item in ListView when there press Enter key ? (simple task in Delphi like, but AutoHotKey dont give me up.. ((
by jkeks
20 Feb 2023, 10:56
Forum: Ask for Help (v2)
Topic: echo text to console where it run
Replies: 6
Views: 867

Re: echo text to console where it run

swagfag wrote:
20 Feb 2023, 04:49
dont insert spaces before the parens
image.png
image.png (7.91 KiB) Viewed 741 times
can you give me correct example ?

Code: Select all

#Requires AutoHotkey v2.0
FileAppend ( "asdas" , "*" )
by jkeks
20 Feb 2023, 01:48
Forum: Ask for Help (v2)
Topic: echo text to console where it run
Replies: 6
Views: 867

echo text to console where it run

FileAppend ("asdas","*") - dont work
is there any way to print something to console where it run ?


[Mod edit: Topic moved from ''AHK v2 Development. Please use 'Ask For Help v2' for help requests like this.]
by jkeks
19 Feb 2023, 00:31
Forum: Ask for Help (v1)
Topic: How execute AHK from PHP ?
Replies: 1
Views: 426

How execute AHK from PHP ?

Is there way execute AutoHotKeys script from PHP, without save script to file ?
Maybe as command line arguments ..

AutoHotKey.exe -r 'Run, calc.exe'
by jkeks
17 Feb 2023, 03:57
Forum: Статьи и руководства
Topic: Баги и недоделки AutoHotKey 2
Replies: 0
Views: 1826

Баги и недоделки AutoHotKey 2

Писать тут полностью желания нет, есть первоисточник

Дурость AutoHotKey 2
https://teletype.in/@jkeks/Z_D5FTAIFvD

AutoHotKeys 2 тоже не торт
https://teletype.in/@jkeks/xo9BiqD8qtG
by jkeks
17 Jan 2023, 05:17
Forum: Ask for Help (v1)
Topic: today + 1 month onliner Topic is solved
Replies: 2
Views: 248

Re: today + 1 month onliner Topic is solved

Cool !, but most coolest is in AutoHotKeys 2 ))
by jkeks
17 Jan 2023, 02:42
Forum: Ask for Help (v1)
Topic: today + 1 month onliner Topic is solved
Replies: 2
Views: 248

today + 1 month onliner Topic is solved

how to get today date + 1 month..

code

Code: Select all

  todayPlusMonth = %A_Now%
  EnvAdd, todayPlusMonth, 30, Days
  FormatTime, todayPlusMonth,%todayPlusMonth%, dd.MM.yyyy
  Send, %todayPlusMonth%
is too hard and long, may it be onlines ?
by jkeks
09 Jan 2023, 23:52
Forum: Ask for Help (v1)
Topic: How to add text filter for items menu ?
Replies: 1
Views: 159

How to add text filter for items menu ?

I have popup menu, and want to add filter for items? how to do it ? image.png code is very simple: #SingleInstance, force Menu, timeMenu, Add, &1 today, today Menu, timeMenu, Add, &2 +1 Month, today1 Menu, timeMenu, Add, &3 +3 Month, today3 Menu, timeMenu, Add, &4 +6 Month, today6 Menu, timeMenu, Ad...
by jkeks
27 Aug 2022, 00:27
Forum: Скрипты и библиотеки
Topic: Переключение раскладки по новому
Replies: 0
Views: 2071

Переключение раскладки по новому

Переключение раскладки на Русский и обратно всего одной кнопкой. Точно знаешь что включаешь английский или Русский Звук при включении Русского Когда включаешь русский надо нажать клавишу Ctrl два раза, а английский один раз. Самое классное и короткое решение которое я стал использовать #SingleInstan...
by jkeks
13 Mar 2022, 23:22
Forum: Статьи и руководства
Topic: ahkey.ru - AutoHotKeys FAQ на Русском
Replies: 5
Views: 10702

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

Дак потому что надо стало платить за домен, а он как бы только в убыток гнал, короче не продлил, обидно все материалы валяются на компе
by jkeks
20 Nov 2021, 10:37
Forum: Ask for Help (v1)
Topic: Code with if dont work
Replies: 1
Views: 407

Code with if dont work

FileRead, cnt, counter.txt ... For i in url { if ( A_Index < cnt ){ msgbox % A_Index itemlist .= "Item " A_Index " is: " url[i] "`n" } } ... msgbox % itemlist msgbox dont show where is problem ? why condition if ( A_Index < cnt ) is not working ? maybe there are var type error ?
by jkeks
20 Nov 2021, 09:55
Forum: Ask for Help (v1)
Topic: Sometimes in quotes, sometime not
Replies: 1
Views: 425

Sometimes in quotes, sometime not

Code: Select all

if !FileExist("counter.txt")
 FileAppend, 0, counter.txt
Where is logic ?
Why in first case we need to use quotes
second time not
by jkeks
18 Nov 2021, 03:28
Forum: Ask for Help (v1)
Topic: WinActivate dont work
Replies: 13
Views: 1454

Re: WinActivate dont work

if

Code: Select all

titleToActivate := "BZProcessDS"
hWnd := WinExist(titleToActivate)
PostMessage, WM_SYSCOMMAND := 0x0112, SC_HOTKEY := 0xF150, hWnd,, ahk_id %hWnd%

send {down}{tab}

Code: Select all

send {down}{tab}
work first then winactivate abrakadabra

Go to advanced search