Search found 23 matches

by europa
10 May 2023, 00:48
Forum: Ask for Help (v2)
Topic: function calls require a space or ( . use comma only between parameters
Replies: 2
Views: 2090

function calls require a space or ( . use comma only between parameters

I have three Chrome Windows that I want to ALT+Tab to and click on the center of. I want this script to start when I start Windows, however when I try to create the script I get this error: function calls require a space or ( . use comma only between parameters My script: Loop { Click, 100 200 Sleep...
by europa
04 Aug 2020, 03:17
Forum: Ask for Help (v1)
Topic: Look for changes in a directory, if there are no changes for 30 minutes then continue
Replies: 2
Views: 1270

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 ...
by europa
08 Jul 2020, 06:35
Forum: Ask for Help (v1)
Topic: Maximize window - Substring window name Topic is solved
Replies: 2
Views: 1269

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...
by europa
21 Feb 2020, 14:59
Forum: Ask for Help (v1)
Topic: Copy text to clipboard, and check if text containst "Completed"
Replies: 2
Views: 516

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!
by europa
20 Feb 2020, 08:58
Forum: Ask for Help (v1)
Topic: Copy text to clipboard, and check if text containst "Completed"
Replies: 2
Views: 516

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 ...
by europa
05 Nov 2019, 08:18
Forum: Ask for Help (v1)
Topic: If modified time is over 10 minutes, then close window
Replies: 1
Views: 326

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...
by europa
18 Sep 2019, 12:24
Forum: Ask for Help (v1)
Topic: Starting a program lunches the User Account Control (in Windows 10)
Replies: 5
Views: 2085

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. :roll:
by europa
17 Sep 2019, 06:15
Forum: Ask for Help (v1)
Topic: Starting a program lunches the User Account Control (in Windows 10)
Replies: 5
Views: 2085

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...
by europa
13 Sep 2019, 08:17
Forum: Ask for Help (v1)
Topic: Starting a program lunches the User Account Control (in Windows 10)
Replies: 5
Views: 2085

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 (...
by europa
13 Sep 2019, 08:09
Forum: Ask for Help (v1)
Topic: Windows 10 username and password Topic is solved
Replies: 3
Views: 407

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

Code: Select all

FileRead, caseNumber, C:\Users\USERNAME\EDBClient\case_number.txt
by europa
13 Sep 2019, 07:29
Forum: Ask for Help (v1)
Topic: Windows 10 username and password Topic is solved
Replies: 3
Views: 407

Windows 10 username and password Topic is solved

Is it possible to somehow read the current username and password for Windows 10?
by europa
03 Sep 2019, 03:41
Forum: Ask for Help (v1)
Topic: If Window Title == "X-Ways Forensic" then.. Topic is solved
Replies: 2
Views: 404

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...
by europa
29 Aug 2019, 06:18
Forum: Ask for Help (v1)
Topic: FileExists("%variable%") Topic is solved
Replies: 2
Views: 453

Re: FileExists("%variable%") Topic is solved

Thanks swagfag! That worked!
by europa
29 Aug 2019, 05:38
Forum: Ask for Help (v1)
Topic: FileExists("%variable%") Topic is solved
Replies: 2
Views: 453

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...
by europa
16 Aug 2019, 05:54
Forum: Ask for Help (v1)
Topic: How to check if a program has a sub window open
Replies: 6
Views: 1221

Re: How to check if a program has a sub window open

Ok thanks for the help!

Go to advanced search