Search found 17 matches

by europa
21 Feb 2020, 14:59
Forum: Ask For Help
Topic: Copy text to clipboard, and check if text containst "Completed"
Replies: 2
Views: 132

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
Topic: Copy text to clipboard, and check if text containst "Completed"
Replies: 2
Views: 132

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
Topic: If modified time is over 10 minutes, then close window
Replies: 1
Views: 182

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
Topic: Starting a program lunches the User Account Control (in Windows 10)
Replies: 5
Views: 575

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
Topic: Starting a program lunches the User Account Control (in Windows 10)
Replies: 5
Views: 575

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
Topic: Starting a program lunches the User Account Control (in Windows 10)
Replies: 5
Views: 575

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
Topic: Windows 10 username and password Topic is solved
Replies: 3
Views: 239

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
Topic: Windows 10 username and password Topic is solved
Replies: 3
Views: 239

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
Topic: If Window Title == "X-Ways Forensic" then.. Topic is solved
Replies: 2
Views: 237

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
Topic: FileExists("%variable%") Topic is solved
Replies: 2
Views: 291

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

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

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
Topic: How to check if a program has a sub window open
Replies: 6
Views: 666

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

Ok thanks for the help!
by europa
16 Aug 2019, 05:07
Forum: Ask For Help
Topic: How to check if a program has a sub window open
Replies: 6
Views: 666

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?
by europa
16 Aug 2019, 01:07
Forum: Ask For Help
Topic: How to check if a program has a sub window open
Replies: 6
Views: 666

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%...
by europa
14 Aug 2019, 04:48
Forum: Ask For Help
Topic: How to check if a program has a sub window open
Replies: 6
Views: 666

How to check if a program has a sub window open

I am making a script that 1) Opens X-Ways Forensics 2) Creates a new case 3) Adds a forensic image to the case 4) Runs the task "Refine Volume Snapshot" The task Refine Volume Snapshot takes random amount of time, depending of the size and complexity of the forensic image. How can I check if this ta...

Go to advanced search