Search found 55 matches

by DevWithCoffee
02 Nov 2022, 08:36
Forum: Ask for Help (v1)
Topic: Check if a specific process has read a file Topic is solved
Replies: 8
Views: 587

Re: Check if a specific process has read a file Topic is solved

Thanks, it would be similar to this method, but it only loads imported libraries at executable startup:
test01.png
test01.png (28.12 KiB) Viewed 411 times
I need to check the files loaded while in use, if any graphics or sound resources are loaded.

Sorry about my English...
by DevWithCoffee
31 Oct 2022, 23:13
Forum: Ask for Help (v1)
Topic: Check if a specific process has read a file Topic is solved
Replies: 8
Views: 587

Re: Check if a specific process has read a file Topic is solved

The code is just a test: #SingleInstance force #NoTrayIcon _PATH := A_ScriptDir "\GameRPG.exe" Run, %_PATH%,,, pid for process in ComObjGet("winmgmts:").ExecQuery("Select * from Win32_Process where ProcessId=" pid) { msgbox % process["CommandLine"] } But as far as I've checked I'll need to study mor...
by DevWithCoffee
29 Oct 2022, 12:15
Forum: Ask for Help (v1)
Topic: Check if a specific process has read a file Topic is solved
Replies: 8
Views: 587

Check if a specific process has read a file Topic is solved

Would this be possible in an environment without administrative privileges? As in this software, I need to check when a file is opened or read, even if I repeat it in sequence. https://www.nirsoft.net/utils/processactivityview.gif ( https://www.nirsoft.net/utils/processactivityview.gif ) I tried doi...
by DevWithCoffee
29 Oct 2022, 11:22
Forum: Ajuda e Suporte Geral
Topic: Script Segurando tecla Topic is solved
Replies: 1
Views: 892

Re: Script Segurando tecla Topic is solved

Poderia reformular a sua dúvida, eu não entendi bem o que você escreveu.
by DevWithCoffee
23 Jul 2021, 07:46
Forum: Ajuda e Suporte Geral
Topic: Solicitação de senha para de funcionar após um número de vezes Topic is solved
Replies: 4
Views: 1334

Re: Solicitação de senha para de funcionar após um número de vezes Topic is solved

Parece que é isso mesmo garry.
Se na documentação mostra o return no exemplo do GUI, provavelmente é por que deve ser usado.
Fiz a repetição mais de 20 vezes e continua normal.

Muito obrigado pelo tempo que fosse se dispôs à me ajudar
by DevWithCoffee
23 Jul 2021, 07:38
Forum: Ask for Help (v1)
Topic: "Gui" stops working after 10 times
Replies: 6
Views: 428

Re: "Gui" stops working after 10 times

Thank you very much, I think I managed to solve it. A member on a "Board" that speaks another language showed the solution with settimer, so I don't need to remove the "return" and the problem doesn't happen. As I assumed the "return" is there for some important reason. Gui, Show, w400 h100 Center,C...
by DevWithCoffee
22 Jul 2021, 18:28
Forum: Ask for Help (v1)
Topic: "Gui" stops working after 10 times
Replies: 6
Views: 428

Re: "Gui" stops working after 10 times

There are no such limits. I tried to simplify the problem as much as possible: #SingleInstance force UsageTime = 0 ChkTry = 0 startGui: Gui, New, -MinimizeBox +LastFound +Owner, Confirm: Gui, Add, Text, x6 y8, Usage time: %UsageTime% seconds Gui, Add, Button, w32 h22 x132 y8 +Default gChkPW, OK Gui...
by DevWithCoffee
22 Jul 2021, 16:20
Forum: Ask for Help (v1)
Topic: "Gui" stops working after 10 times
Replies: 6
Views: 428

Re: "Gui" stops working after 10 times

Thanks for replying, I didn't understand your example well, I edited my code because there were some errors. I also noticed that the same problem happens if I hit the close button or hit the escape button 10 times in a row. I removed the "return" just so that the "GUI" was destroyed after a few seco...
by DevWithCoffee
22 Jul 2021, 13:44
Forum: Ajuda e Suporte Geral
Topic: Solicitação de senha para de funcionar após um número de vezes Topic is solved
Replies: 4
Views: 1334

Re: Solicitação de senha para de funcionar após um número de vezes Topic is solved

Obrigado por responder. Eu testei, mas parece não funcionar, as repetições não são contadas. Eu editei o código por que escrevi as pressas ontem e nem testei, veja mais ou menos o que preciso é que a janela de solicitação de senha fecha após um tempo. O problema é que quando não uso RETURN eu só con...
by DevWithCoffee
21 Jul 2021, 23:10
Forum: Ask for Help (v1)
Topic: "Gui" stops working after 10 times
Replies: 6
Views: 428

"Gui" stops working after 10 times

Hi, thanks for the open space to ask questions. I don't have much experience in creating an interface (Gui), I tried to create a password blocker to avoid using another existing program, but I removed the return to automatically close after 15 seconds (or almost). It works 9 or 10 times, so the "Clo...
by DevWithCoffee
21 Jul 2021, 19:23
Forum: Ajuda e Suporte Geral
Topic: Solicitação de senha para de funcionar após um número de vezes Topic is solved
Replies: 4
Views: 1334

Solicitação de senha para de funcionar após um número de vezes Topic is solved

Olá, muito obrigado pelo espaço aberto em português. Eu não sou scripts de nenhum tipo de linguagem de programação, não sei se é esse o termo correto, eu entendo um pouco de alguns tipos, como VBScript , Javascript e PHP . Comecei à usar o AHK por ser muito mais intuitivo que o VBScript , pelo menos...
by DevWithCoffee
19 Oct 2020, 20:27
Forum: Ajuda e Suporte Geral
Topic: Problema com Run/RunWait em certas situações
Replies: 4
Views: 1028

Re: Problema com Run/RunWait em certas situações

Desculpe, não tive tempo de analisar, também peço desculpa, fazendo um teste simulado notei que a Option HIDE está trabalhando corretamente, somente a MIN que não. Eu acabei criando uma simulação do que acontece, se houver interesse: #SingleInstance, ignore #NoEnv SendMode Input thefirst: Sleep 500 ...
by DevWithCoffee
14 Oct 2020, 22:38
Forum: Ajuda e Suporte Geral
Topic: Problema com Run/RunWait em certas situações
Replies: 4
Views: 1028

Re: Problema com Run/RunWait em certas situações

Seja bem-vindo ao fórum da comunidade do AutoHotkey. Obrigado. Alguma razão para não executar o prompt com o parâmetro Hide no lugar do minimizar? Você pode fazer isso se não precisar que o prompt do batch esteja visível na barra de tarefas durante o processo. Eu usava, acontecia o mesmo problema q...
by DevWithCoffee
13 Oct 2020, 12:44
Forum: Ajuda e Suporte Geral
Topic: Problema com Run/RunWait em certas situações
Replies: 4
Views: 1028

Problema com Run/RunWait em certas situações

Eu quero iniciar um BatchScript ou comando no prompt minimizado, porém não funciona de nenhuma maneira. As maneiras que eu tentei. RunWait, , MyScript.bat, , Min RunWait, , %ComSpec% /c start /min MyScript.bat, , Min Isso não acontece clicando diretamente no arquivo AHK, mas se eu tiver com algum pr...

Go to advanced search