Search found 21 matches
- 04 Aug 2020, 07:48
- Forum: Ask For Help
- Topic: Look for changes in a directory, if there are no changes for 30 minutes then continue
- Replies: 2
- Views: 1203
- 04 Aug 2020, 03:17
- Forum: Ask For Help
- Topic: Look for changes in a directory, if there are no changes for 30 minutes then continue
- Replies: 2
- Views: 1203
Look for changes in a directory, if there are no changes for 30 minutes then continue
Hi, I created some code that looks for changes on a single file, however it is not sufficient. I need to check the entire directory for changes and only continue if there are no files or folders that have been created, modified, deleted in the last 30 minutes. This is my code to check a single file ...
- 04 Aug 2020, 02:44
- Forum: Ask For Help
- Topic: Maximize window - Substring window name Topic is solved
- Replies: 2
- Views: 1126
Re: Maximize window - Substring window name Topic is solved
Thank you! It worked!
- 08 Jul 2020, 06:35
- Forum: Ask For Help
- Topic: Maximize window - Substring window name Topic is solved
- Replies: 2
- Views: 1126
Maximize window - Substring window name Topic is solved
Hello, I have a code that maximizes a window. However, when a new version of the program is released I have to change the version number. Can i somehow do a substring of the window title, so that I dont have to update the code every time a new version of SEH UTN Manager is released? WinWait, Adminis...
- 21 Feb 2020, 14:59
- Forum: Ask For Help
- Topic: Copy text to clipboard, and check if text containst "Completed"
- Replies: 2
- Views: 186
Re: Copy text to clipboard, and check if text containst "Completed"
Thank you very much for your reply. It worked! Auto Hot Key got a really good community!
- 20 Feb 2020, 08:58
- Forum: Ask For Help
- Topic: Copy text to clipboard, and check if text containst "Completed"
- Replies: 2
- Views: 186
Copy text to clipboard, and check if text containst "Completed"
Hello, I want to copy text to the clipboard. If the text I've copied to clipboard containst the word "Completed", then I want to continue my program. My problem is that the clipboard information is "Send ^c". How can I get the clipboard to be whatever is in the clipboard after sending Ctrl+C ? Loop ...
- 05 Nov 2019, 08:18
- Forum: Ask For Help
- Topic: If modified time is over 10 minutes, then close window
- Replies: 1
- Views: 237
If modified time is over 10 minutes, then close window
Hi, I have a code that gets the modified time of a file. What I want is to check in a loop that goes forever: If the modified time is over 10 minutes, then close the program. My question is: - How to make a if statement that runs forever? - How to get current datetime to check against. My code: File...
- 18 Sep 2019, 12:24
- Forum: Ask For Help
- Topic: Starting a program lunches the User Account Control (in Windows 10)
- Replies: 5
- Views: 921
Re: Starting a program lunches the User Account Control (in Windows 10)
Ok, thanks. I will try the trick at https://www.autohotkey.com/boards/viewtopic.php?t=4334 or contact the creator of the IEF-program that Im struggeling with.
Not sure why they want to be administrator in the first place.
Not sure why they want to be administrator in the first place.

- 17 Sep 2019, 06:15
- Forum: Ask For Help
- Topic: Starting a program lunches the User Account Control (in Windows 10)
- Replies: 5
- Views: 921
Re: Starting a program lunches the User Account Control (in Windows 10)
Hi, When I test with the code Run *RunAs "C:\Program Files (x86)\Internet Evidence Finder\IEF.exe" Then the User Account Control appears. I have to click Yes on this screen manually. If I click no then I get this error: Error: Failed to attempt to launch program or document: Action: <C:\Program File...
- 17 Sep 2019, 05:34
- Forum: Ask For Help
- Topic: Starting a program lunches the User Account Control (in Windows 10)
- Replies: 5
- Views: 921
Re: Starting a program lunches the User Account Control (in Windows 10)
Thanks, that worked!
- 13 Sep 2019, 08:17
- Forum: Ask For Help
- Topic: Starting a program lunches the User Account Control (in Windows 10)
- Replies: 5
- Views: 921
Starting a program lunches the User Account Control (in Windows 10)
Im trying to lunch a program named Manget IEF. When I start it the UAC for Windows apprear. How can i accept it to run as administrator? My code: ; 3) Start IEF ------------------------------------------------------------------------------------------------------------------- Run "C:\Program Files (...
- 13 Sep 2019, 08:09
- Forum: Ask For Help
- Topic: Windows 10 username and password Topic is solved
- Replies: 3
- Views: 283
Re: Windows 10 username and password Topic is solved
Is is possible to somehow read the username then?
I need to read a text file stored in the users folder
I need to read a text file stored in the users folder
Code: Select all
FileRead, caseNumber, C:\Users\USERNAME\EDBClient\case_number.txt
- 13 Sep 2019, 07:29
- Forum: Ask For Help
- Topic: Windows 10 username and password Topic is solved
- Replies: 3
- Views: 283
Windows 10 username and password Topic is solved
Is it possible to somehow read the current username and password for Windows 10?
- 03 Sep 2019, 04:05
- Forum: Ask For Help
- Topic: If Window Title == "X-Ways Forensic" then.. Topic is solved
- Replies: 2
- Views: 304
Re: If Window Title == "X-Ways Forensic" then.. Topic is solved
Thanks that worked like a charm! 

- 03 Sep 2019, 03:41
- Forum: Ask For Help
- Topic: If Window Title == "X-Ways Forensic" then.. Topic is solved
- Replies: 2
- Views: 304
If Window Title == "X-Ways Forensic" then.. Topic is solved
Hi, I want to check if the current window title is "X-Ways Forensic". If the title is X-Ways Forensic then I want to send Alt+y 2 times. However I get an error message: if_windows_error.png My code: WinGet, active_id, ID, A WinActivate, ahk_id %active_id% ; WinMaximize, ahk_id %active_id% WinGetClas...
- 29 Aug 2019, 06:18
- Forum: Ask For Help
- Topic: FileExists("%variable%") Topic is solved
- Replies: 2
- Views: 344
Re: FileExists("%variable%") Topic is solved
Thanks swagfag! That worked!
- 29 Aug 2019, 05:38
- Forum: Ask For Help
- Topic: FileExists("%variable%") Topic is solved
- Replies: 2
- Views: 344
FileExists("%variable%") Topic is solved
Hello, I am trying to use the comand FileExists to check if a file that comes from a varaible exists. However I am getting false on the expression. Is Auto Hot Key is checking if the variable exists, and not the file? When I hardcode the file name (not using variables) then i get "file exists". if F...
- 16 Aug 2019, 05:54
- Forum: Ask For Help
- Topic: How to check if a program has a sub window open
- Replies: 6
- Views: 867
Re: How to check if a program has a sub window open
Ok thanks for the help!
- 16 Aug 2019, 05:07
- Forum: Ask For Help
- Topic: How to check if a program has a sub window open
- Replies: 6
- Views: 867
Re: How to check if a program has a sub window open
Rohwedder : That worked.
But the ahk_class changes every time i run the program.
Can it be dynamic?
But the ahk_class changes every time i run the program.
Can it be dynamic?
- 16 Aug 2019, 01:07
- Forum: Ask For Help
- Topic: How to check if a program has a sub window open
- Replies: 6
- Views: 867
Re: How to check if a program has a sub window open
That didnt work. I tried to get more information from the Window. It seems to be named "X-Ways_Operation_Complete2.exe". Can that help? debug info.png My debug script: ; Open X-Way WinWait, X-Ways Forensics WinMaximize ; use the window found above ; Look WinGet, this_id WinActivate, ahk_id %this_id%...