Search found 188 matches

by ananthuthilakan
21 Oct 2023, 05:12
Forum: Scripts and Functions (v1)
Topic: [Lib] ObjDump / ObjLoad - Object Backup
Replies: 71
Views: 33850

Re: [Lib] ObjDump / ObjLoad - Object Backup

a noob question : why use this method when we can convert objects into json and then file append ? can any body point out the pros and cons
by ananthuthilakan
20 Oct 2023, 19:16
Forum: Scripts and Functions (v1)
Topic: [Library] cJson.ahk (version 0.4.1 pre-release)
Replies: 66
Views: 20308

Re: [Library] cJson.ahk (version 0.4.1 pre-release)

this is conflicting with google translate library
by ananthuthilakan
18 Oct 2023, 02:30
Forum: Scripts and Functions (v1)
Topic: [Script] KeypressOSD - Display key press on screen
Replies: 629
Views: 201728

Re: [Script] KeypressOSD - Display key press on screen

a possible improvement for keypress OSD to use Rivatuner statistics server OSD to able show keypresses on top of Fullscreen application https://github.com/Jagailo/YetAnotherKeyDisplayer/tree/master/RTSSCustomOSD
by ananthuthilakan
08 Oct 2023, 15:19
Forum: Ask for Help (v1)
Topic: Any clue ( not particularly ahk )
Replies: 1
Views: 419

Re: Any clue ( not particularly ahk )

Or by installing MSi afterburner + rivatuner RTSS allows third party applications to display own text in the OSD. There is .\SDK subfolder in RTSS installation forlder, .\SDK\Samples\SharedMemory\RTSSSharedMemorySample Does any body know how to diplay a text message from ahk in Rivatuner osd Here is...
by ananthuthilakan
08 Oct 2023, 10:22
Forum: Ask for Help (v1)
Topic: Any clue ( not particularly ahk )
Replies: 1
Views: 419

Any clue ( not particularly ahk )

Does any body has any clue in creating a windows game bar widget to which ahk can communicate to ? let me give a little context windows button + G can pull up game bar clicking on widget menu will show some already available widgets. But there is also a widget store from which we can install random ...
by ananthuthilakan
05 Jun 2023, 11:57
Forum: Ask for Help (v1)
Topic: Script/Macro help, almost complete.
Replies: 1
Views: 319

Re: Script/Macro help, almost complete.

:) welcome to the forum

Code: Select all

toggle = 0
#MaxThreadsPerHotkey 2

F2::
Toggle := !Toggle
While Toggle{
Click
Send q
Send w
Send e
Send r
sleep 1000
}
return

~Enter::
~Esc::
~T::
Toggle :=0
return

by ananthuthilakan
31 May 2023, 13:21
Forum: Ask for Help (v1)
Topic: Can anyone implement a simple tesseract dllcall example? Topic is solved
Replies: 16
Views: 4192

Re: Can anyone implement a simple tesseract dllcall example? Topic is solved

Code: Select all

~ObjectCache(): WARNING! LEAK! object 00000000009AE440 still has count 1
can be fixed by

Code: Select all

DllCall("libtesseract531\TessBaseAPIDelete","Ptr", hAPI)
by ananthuthilakan
21 May 2023, 13:29
Forum: Ask for Help (v1)
Topic: algorithm challenge , optimize outlier values in an array, sum of total should not change
Replies: 1
Views: 385

algorithm challenge , optimize outlier values in an array, sum of total should not change

arr:=[2,3,4,3,4,5,8,6,6,2,7,7,14,8,9,10,12,14,19,13,14,14,21,15,3,4,14,15,16,16,17] here in this array arr[7] , arr[10] ,arr[13] , arr[19], arr[23], arr[25] , arr[26] are outliers as there is abrupt change in value comparing nearby values. how can these outlier which are lesser than near by values ...
by ananthuthilakan
14 May 2023, 21:19
Forum: Ask for Help (v1)
Topic: Double click if / else
Replies: 14
Views: 883

Re: Double click if / else

play with the time 400, reduce it to find a middle ground. when you double click faster it will bring the program , when you click 2 times slower it wont bring up the program another way is to add something that will check for notepad or you are typing. or create a toggle to enable and disable all o...
by ananthuthilakan
14 May 2023, 08:24
Forum: Ask for Help (v1)
Topic: Double click if / else
Replies: 14
Views: 883

Re: Double click if / else

Code: Select all

~a::
if (A_PriorHotkey <> A_ThisHotkey Or A_TimeSincePriorHotkey > 400)
		Return
Run, "E:\PortableApps\PortableApps\AutoHotkeyPortable\AHK Scripts\Browsers\Brave Portable.ahk"
Return
by ananthuthilakan
05 May 2023, 09:19
Forum: Scripts and Functions (v1)
Topic: singleinstance off and keep only 1st instance of gui/script
Replies: 2
Views: 460

Re: singleinstance off and keep only 1st instance of gui

updated
removed the need for writing ahk_id to ini
by ananthuthilakan
04 May 2023, 16:22
Forum: Ask for Help (v1)
Topic: GUI Application: Single instance to capture parameters on repeated launch
Replies: 8
Views: 715

Re: GUI Application: Single instance to capture parameters on repeated launch

i have made this into a reusable function which can be included into any script
can be found here viewtopic.php?f=6&t=116730
by ananthuthilakan
04 May 2023, 16:20
Forum: Scripts and Functions (v1)
Topic: singleinstance off and keep only 1st instance of gui/script
Replies: 2
Views: 460

singleinstance off and keep only 1st instance of gui/script

keep1stinstance.ahk ;{========[do not relaunch the script as another instance if its already running instead show existing gui]========================================= ;~ author: ananthuthilakan ;~ website: ananthuthilakan.com ;~ github: https://github.com/ananthuthilakan/singleInstanceKeep ;~ do n...
by ananthuthilakan
04 May 2023, 12:46
Forum: Ask for Help (v1)
Topic: GUI Application: Single instance to capture parameters on repeated launch
Replies: 8
Views: 715

Re: GUI Application: Single instance to capture parameters on repeated launch

the most simplest approach #SingleInstance Off #NoEnv #NoTrayIcon #MaxMem 128 SetWorkingDir, %A_ScriptDir% AutoTrim,Off SetBatchLines,-1 SetControlDelay,-1 SetWinDelay,-1 ListLines, Off DetectHiddenWindows, On SetTitleMatchMode,2 SendMode, Input Process,Priority,,A CoordMode, Mouse, Relative iniRead...
by ananthuthilakan
22 Apr 2023, 23:33
Forum: Ask for Help (v1)
Topic: How to stop this script working when a key has been clicked and activate again when clicked again
Replies: 2
Views: 295

Re: How to stop this script working when a key has been clicked and activate again when clicked again

this will also do the trick gosub generateNewRandom ;Generate initial random number t:: ; ---> the hotkey you want toggle:=!toggle return #if (toggle=1) *~$LButton:: numClicks-- if(numClicks==0){ Click gosub generateNewRandom ;Generate subsequent random numbers } return #if generateNewRandom: Random...
by ananthuthilakan
22 Apr 2023, 23:19
Forum: Ask for Help (v1)
Topic: How to stop this script working when a key has been clicked and activate again when clicked again
Replies: 2
Views: 295

Re: How to stop this script working when a key has been clicked and activate again when clicked again

this will do the trick gosub generateNewRandom ;Generate initial random number t:: ; ---> the hotkey you want toggle:=!toggle return *~$LButton:: if (toggle) return numClicks-- if(numClicks==0){ Click gosub generateNewRandom ;Generate subsequent random numbers } return generateNewRandom: Random, num...
by ananthuthilakan
17 Apr 2023, 09:22
Forum: Ask for Help (v1)
Topic: WMP playback speed
Replies: 5
Views: 374

Re: WMP playback speed

as mikeyww has already given a way to do that
i will share an alternate application, that will do it and many more created in ahk ( Vlc )
viewtopic.php?f=6&t=115860
hotkeys.png
hotkeys.png (120.66 KiB) Viewed 336 times

Go to advanced search