Search found 1472 matches

by AHKStudent
21 Jan 2023, 07:50
Forum: Ask for Help (v1)
Topic: How to replace a word with another word?
Replies: 2
Views: 281

Re: How to replace a word with another word?

Code: Select all

string := "the word is apple test script"
newString := strReplace(string, "apple", "orange")
MsgBox, % newString
ExitApp
https://www.autohotkey.com/docs/v1/lib/StrReplace.htm
by AHKStudent
16 Jan 2023, 21:17
Forum: Ask for Help (v2)
Topic: Need help with WinGetTitle
Replies: 6
Views: 600

Re: Need help with WinGetTitle

some links, as boiler said, make sure you know what version you are using

https://www.autohotkey.com/docs/v1/lib/WinGetTitle.htm

https://www.autohotkey.com/docs/v2/lib/WinGetTitle.htm
by AHKStudent
15 Jan 2023, 11:04
Forum: Ask for Help (v1)
Topic: Is it ok to delete this key or to modify it - IE to Edge issue Topic is solved
Replies: 2
Views: 598

Re: Is it ok to delete this key or to modify it - IE to Edge issue Topic is solved

Why not try it? You can always restore the key. Perhaps it relates to quiet notifications. https://blogs.windows.com/msedgedev/2020/07/23/reducing-distractions-quiet-notification-requests/ Every few times my script runs it pops up Edge with a note Feel free to post a script if you want various read...
by AHKStudent
15 Jan 2023, 08:45
Forum: Ask for Help (v1)
Topic: Is it ok to delete this key or to modify it - IE to Edge issue Topic is solved
Replies: 2
Views: 598

Is it ok to delete this key or to modify it - IE to Edge issue Topic is solved

Windows 10 has become a lot more aggressive in pushing people to Edge. Now, every few times my script runs it pops up Edge with a note and sometimes it will run IE with visibility even if it is marked visibility false. These are scripts that I have been running for years without issue. In the regist...
by AHKStudent
15 Jan 2023, 08:31
Forum: Scripts and Functions (v1)
Topic: I created a subscription based app using AHK only
Replies: 10
Views: 3045

Re: I created a subscription based app using AHK only

This is already actually an obsolete code since I made a much better one that updates via a very simple database from github. you input your "customer's" license key there including their expiration date, then itll update in the app after a few minutes. Once it expires, it'll stop the subscription ...
by AHKStudent
13 Jan 2023, 11:22
Forum: Ask for Help (v1)
Topic: How to add tab in Fileappend?
Replies: 3
Views: 402

Re: How to add tab in Fileappend?

A_Tab https://www.autohotkey.com/docs/v1/Variables.htm#Tab FileAppend, %String1% %A_Tab% %String2%, File.txt Thank you @AHKStudent. In the second case, can't you...? I know it can be put at the end of the first string, or at the beginning of the second, but in case they are strings that are generat...
by AHKStudent
13 Jan 2023, 10:42
Forum: Ask for Help (v1)
Topic: How to add tab in Fileappend?
Replies: 3
Views: 402

Re: How to add tab in Fileappend?

A_Tab https://www.autohotkey.com/docs/v1/Variables.htm#Tab

Code: Select all

 FileAppend, %String1% %A_Tab% %String2%, File.txt 
by AHKStudent
11 Jan 2023, 13:17
Forum: Ask for Help (v1)
Topic: Can autohotkeys cause high disk usage
Replies: 11
Views: 779

Re: Can autohotkeys cause high disk usage

If you have loops running and you added things like setbatchlines, -1 to your script, it can cause a big cpu spike

edit after seeing @swagfag 's post I realized this is not about cpu
by AHKStudent
08 Jan 2023, 03:32
Forum: Ask for Help (v1)
Topic: password protected settings script Topic is solved
Replies: 1
Views: 250

Re: password protected settings script Topic is solved

This is the password part p:: ; trigger with a hotkey of p pass := "apassword" ; set the password maxTries := 3 ; how many tried will you let the user make before you take some special action tried := 0 ; keep track of how many tries they make while(thePass != pass && tried < maxTries){ ; use a whil...
by AHKStudent
24 Dec 2022, 00:50
Forum: Ask for Help (v1)
Topic: Play video inside AHK GUI
Replies: 10
Views: 1310

Re: Play video inside AHK GUI

I've asked something similar before,but is there a way to play an mp4 video inside a gui without using an external player - ie. just using what comes with a regular windows installation? I thought I had a solution with the following code from garry : ;- not work = webm extensions :="mp4,flv,vob,mpg...
by AHKStudent
22 Dec 2022, 03:35
Forum: Ask for Help (v1)
Topic: how to remove elements from an array that are stored in another array
Replies: 5
Views: 486

Re: how to remove elements from an array that are stored in another array

Here is a way to do it using the hasVal function by jNizM Obviously if you are trying to do this with a lot of data, this might not be the best way to do. Array_1 := ["Juan", "Leo", "Maria", "Jose", "Luis", "Pedro"] Array_2 := ["Juan", "Maria", "Luis"] for k, v in Array_2 { if x := HasVal(Array_1, v...
by AHKStudent
13 Dec 2022, 00:34
Forum: Ask for Help (v1)
Topic: Windows 11 - Internet Explorer Topic is solved
Replies: 10
Views: 1054

Re: Windows 11 - Internet Explorer Topic is solved

Besides that IE's COM features (AFAIK) are still working within Win11* ... * https://www.autohotkey.com/boards/viewtopic.php?f=17&t=80060 iexplore.exe opens edge on win 11 ComObjCreate("InternetExplorer.Application") is still working on my Windows 11 system. Just tested several of my scripts, they ...
by AHKStudent
01 Nov 2022, 09:40
Forum: Ask for Help (v1)
Topic: Bruteforce Password
Replies: 21
Views: 2203

Re: Bruteforce Password

What would happen if 2 billion people united to help and each used their computer. Every second 20 billion tries? It depends on the target system's ability to respond. If it were an online system, imagine 20 billion server hits per second. Web servers have crashed with far fewer DDOS hits than that...
by AHKStudent
01 Nov 2022, 08:46
Forum: Ask for Help (v1)
Topic: Bruteforce Password
Replies: 21
Views: 2203

Re: Bruteforce Password

You'd better hope that the password is 4 characters or less. :crazy: Assuming 10 tries per second (generous): PW Len Possible Combinations Max Time to solve 1 72 7 Seconds 2 5,184 9 Minutes 3 373,248 10 Hours 4 26,873,856 31 Days 5 1,934,917,632 6 Years 6 139,314,069,504 442 Years 7 10,030,613,004,...
by AHKStudent
30 Oct 2022, 17:17
Forum: Ask for Help (v1)
Topic: Encode ahk script
Replies: 2
Views: 308

Re: Encode ahk script

everything can be decoded

read the options that could make it difficult but not impossible viewtopic.php?t=53049
by AHKStudent
27 Oct 2022, 03:29
Forum: Ask for Help (v1)
Topic: Best way to check if a script is ran today? Topic is solved
Replies: 3
Views: 350

Re: Best way to check if a script is ran today? Topic is solved

boiler wrote:
27 Oct 2022, 02:50
Use FileSetTime and FileGetTime.
was looking for this too, thank you
by AHKStudent
22 Oct 2022, 05:35
Forum: Ask for Help (v1)
Topic: Simple GUI memo using ListView - write directly the items of the list
Replies: 9
Views: 733

Re: Simple GUI memo using ListView - write directly the items of the list

it has to be written to a file or db or when you close the program the data will go away
by AHKStudent
21 Oct 2022, 10:34
Forum: Ask for Help (v1)
Topic: Bruteforce Password
Replies: 21
Views: 2203

Re: Bruteforce Password

It's a bit worse than that actually. I have no idea if the password is 1 character or 10. I am only guessing that it's 6. In reality, I don't care or need that password, this is for 2 things: 1; I am curious to see what could possibly be hiding in the settings. 2; more importantly, I attempted to m...

Go to advanced search