Search found 16 matches
- 18 Oct 2021, 19:58
- Forum: Ask for Help
- Topic: How to add a lib to script?
- Replies: 5
- Views: 2044
Re: How to add a lib to script?
Which version are you using? I just downloaded latest version and it works without problems (tested on Win32w). The lastest x64w_MT i figured something out If i put one lib script inside each thread It works normally and won't crash, but this will make the script use a lot of ram, just imagine runn...
- 18 Oct 2021, 15:39
- Forum: Ask for Help
- Topic: How to add a lib to script?
- Replies: 5
- Views: 2044
Re: How to add a lib to script?
#Persistent #SingleInstance, Force SetBatchLines, -1 test:={} test.lib_1:=Ahkthread(" ( #Persistent SetBatchLines, -1 ready:=1 class lib_test { func_test(a) { return `%a`% } } )") While !test.lib_1.ahkgetvar("ready") Sleep 100 test.thread_1:=Ahkthread(" ( #Persistent SetBatchLines, -1 exe:=AhkExpor...
- 17 Oct 2021, 20:56
- Forum: Ask for Help
- Topic: How to add a lib to script?
- Replies: 5
- Views: 2044
How to add a lib to script?
Hello, i'm trying to put a lib file inside the script, without #include, all in the main script. If I run 2 threads+ using same lib and Alias my script crash. Can someone help me, is there a way to do this? Example script: #Persistent #SingleInstance, Force SetBatchLines, -1 test:=CriticalObject() t...
- 18 Jun 2021, 16:44
- Forum: Ajuda e Suporte Geral
- Topic: ajuda com Macro
- Replies: 1
- Views: 1117
Re: ajuda com Macro
Code: Select all
#SingleInstance, Force
#NoEnv
SendMode Input
~*Insert::
Loop
Send, {F12}
Until GetKeyState("Home", "P")
Return
- 18 Jun 2021, 16:34
- Forum: Ajuda e Suporte Geral
- Topic: Ligar com um click, desligar com outro click Topic is solved
- Replies: 1
- Views: 1364
Re: Ligar com um click, desligar com outro click Topic is solved
#SingleInstance, Force #NoEnv SendMode Input F1::ExitApp ; F1 used to exit the ahk script file F2::Pause ; F2 pause #MaxThreadsPerHotkey 2 ~RButton:: Toggle := !Toggle If( Toggle ) Loop { Sleep 75 ; sleep for 75 milliseconds mouseXY(0,-15) ;Call the mouseXY() function which moves the mouse the spec...
- 18 Jun 2021, 15:59
- Forum: Ask for Help (v1)
- Topic: Tab inside a tab problem Topic is solved
- Replies: 8
- Views: 650
Re: Tab inside a tab problem Topic is solved
Thanks everyone for the answers
@teadrinker
Your code worked well, now i will adapt to my script and test it more deeply, thanks.
@teadrinker
Your code worked well, now i will adapt to my script and test it more deeply, thanks.
- 16 Jun 2021, 20:19
- Forum: Ask for Help (v1)
- Topic: Tab inside a tab problem Topic is solved
- Replies: 8
- Views: 650
Re: Tab inside a tab problem Topic is solved
I see that the Tab3 controls cannot be overlapped, but I do not understand how you would use an approach of overlapping controls anyway. Your other controls are actually on tab 1. If you move them to tab a, you still cannot use the numbered controls with this layout. This is just an example, I want...
- 16 Jun 2021, 13:56
- Forum: Ask for Help (v1)
- Topic: Tab inside a tab problem Topic is solved
- Replies: 8
- Views: 650
Tab inside a tab problem Topic is solved
Hello, I'm having a problem with a tab inside a tab When using Tab3 this bug happen: https://imgur.com/SZNnffW.gif This is a bug of tab3? i don't know a way to solve this, can someone help me? #SingleInstance, Force Gui, Add, Tab3, x5 y30 w695 h495 vSecond_Tab, a|b|c Gui, Tab Gui, Add, Tab3, x5 y1 w...
- 02 May 2021, 21:39
- Forum: Ajuda e Suporte Geral
- Topic: [SIMPLES] Quando F11 Pressionado, pressionar CTRL por 4 segundos
- Replies: 1
- Views: 608
Re: [SIMPLES] Quando F11 Pressionado, pressionar CTRL por 4 segundos
Code: Select all
F11::
Send, {Ctrl Down}
SetTimer, CtrlUp, -4000
Return
CtrlUp:
Send, {Ctrl Up}
Return
- 02 May 2021, 21:31
- Forum: Ajuda e Suporte Geral
- Topic: Variáveis Topic is solved
- Replies: 2
- Views: 784
Re: Variáveis Topic is solved
Code: Select all
Valor := 10
1::
Msgbox, % ++Valor
Return
- 04 Apr 2021, 11:00
- Forum: Scripts and Functions (v1)
- Topic: FileCryptFile() : Encrypt/Decrypt files. CNG-AES-256-CBC
- Replies: 40
- Views: 8991
Re: FileCryptFile() : Encrypt/Decrypt files. CNG AES 256 bit CBC
Nice script!! I did a gui for it. #NoEnv #Warn #SingleInstance, Force SetWorkingDir, %A_ScriptDir% SetBatchLines, -1 Gui, Add, Text, x15 yp+20, File: Gui, Add, Edit, xp+40 yp-2 w430 h20 vFile_Path_Set Gui, Add, Text, x15 yp+30, Key: Gui, Add, Edit, xp+40 yp-2 w430 h20 password vKey_ Gui, Add, Checkb...
- 15 Mar 2021, 14:13
- Forum: Ajuda e Suporte Geral
- Topic: Bloquear teclado ao clicar no mouse Topic is solved
- Replies: 6
- Views: 1163
Re: Bloquear teclado ao clicar no mouse Topic is solved
infelizmente até hoje sem sucesso .-. Bizarro o seu problema, não é algum software do mouse com macro? Fiz o script rapidinho e não testei muito, aparentemente está funcionando normalmente. #SingleInstance, Force #Persistent SetBatchLines, -1 SetKeyDelay, -1, -1 SetMouseDelay, -1 Button := "LButton...
- 15 Mar 2021, 11:34
- Forum: Ajuda e Suporte Geral
- Topic: Ajuda para Bloquear Teclado ao clicar com o LButton Topic is solved
- Replies: 1
- Views: 471
Re: Ajuda para Bloquear Teclado ao clicar com o LButton Topic is solved
#SingleInstance, Force #Persistent SetBatchLines, -1 SetKeyDelay, -1, -1 SetMouseDelay, -1 Button := "LButton" SetTimer, Button_Down, 50 Return Button_Down: If(GetKeystate(Button) = 1) { SetTimer, Button_Down, Off SetTimer, Button_Up, 50 Input, KeyboardBlock } Return Button_Up: If(GetKeystate(Butto...
- 15 Mar 2021, 09:30
- Forum: Scripts and Functions (v1)
- Topic: KMCounter v3.5 - Use heatmap to show mouse and keyboard usage
- Replies: 5
- Views: 1274
Re: KMCounter v3.1 - Use heatmap to show mouse and keyboard usage
Very nice script, thank's for sharing it.
- 15 Mar 2021, 09:21
- Forum: Scripts and Functions (v1)
- Topic: FindText - Capture screen image into text and then find it Topic is solved
- Replies: 1091
- Views: 588918
Re: FindText - Capture screen image into text and then find it Topic is solved
I'm also wanting this, i've tried to put a higher value but doesn't work
- 15 Mar 2021, 09:16
- Forum: Ajuda e Suporte Geral
- Topic: Ajuda com variável
- Replies: 2
- Views: 709
Re: Ajuda com variável
Isso são funções, você precisa do código para executá-las.
Posso ajudá-lo, como entro em contato?
Posso ajudá-lo, como entro em contato?