Search found 540 matches

by omar
Today, 04:48
Forum: Ask for Help (v2)
Topic: Idea: delayed startup tool
Replies: 1
Views: 29

Idea: delayed startup tool

I had an really simple idea for some AHK code... A tool that launches apps 10 minutes after starting your machine - instead of having 20 apps clogging the system resources and all trying to launch the moment the PC starts. The AHK code could have a list of apps and choose to launch each after 5 or 1...
by omar
23 Mar 2024, 08:50
Forum: Ask for Help (v2)
Topic: Idea for using AHK on mobile (through a PC)
Replies: 4
Views: 114

Re: Idea for using AHK on mobile (through a PC)

mikeyww wrote:
23 Mar 2024, 07:38
Hello,

I believe that some of this addresses your question.

https://www.autohotkey.com/search/?q=mobile+ahk
Been there done that a long time ago. I don't think you read my proposal.
by omar
23 Mar 2024, 07:28
Forum: Ask for Help (v2)
Topic: Idea for using AHK on mobile (through a PC)
Replies: 4
Views: 114

Idea for using AHK on mobile (through a PC)

I had an idea for sometime... I want to have automation on mobile using AHK. Currently to my knowledge there's nothing that comes close to AHK on mobiles. So... I thought I could mirror my phone on my PC and then interact with it using AHK. That would include inserting text as well as clicking butto...
by omar
13 Mar 2024, 12:36
Forum: Ask for Help (v1)
Topic: Text shortcut to load file and read and then make shortcut - doesn't work
Replies: 3
Views: 70

Text shortcut to load file and read and then make shortcut - doesn't work

I want to make a text short cut to: - load a text file and read each line into an array. - Then I want to randomly pick a line and output. My code doesn't seem to work. I've tried adding sleep's to allow for the time to read the text file. ::]focus:: ; Initialize an empty array lines := [] ; Open th...
by omar
04 Dec 2023, 11:16
Forum: Ask for Help (v1)
Topic: Code doesn't run twice
Replies: 5
Views: 228

Re: Code doesn't run twice

Oooh!
That worked :bravo:
Crazy and weird
What do you think was happening?
And why did that solve the problem?

Big thanks
by omar
04 Dec 2023, 10:33
Forum: Ask for Help (v1)
Topic: Code doesn't run twice
Replies: 5
Views: 228

Re: Code doesn't run twice

Hmm, weird

I've run 3 times and this is the output I get:

Code: Select all

# @@@@@@@@@@@@@@@@@@@@



# @@@@@@@@@@@@@@@@@@@@

# ££££££££££££££££££££



# ££££££££££££££££££££

# 



# 

It failed the 3rd time. Have you tried running say 5/6 times?

Thanks
by omar
04 Dec 2023, 10:19
Forum: Ask for Help (v1)
Topic: Code doesn't run twice
Replies: 5
Views: 228

Code doesn't run twice

I have a small snippet of code that doesn't run the second time it's called: ::]test:: my_string = "*&^`%$£-+=!<>#@:" Random, char, 0, strlen(my_string) result := SubStr(my_string, char, 1) SendInput {#}{space} Loop, 20 { SendInput, % result } Sleep 100 SendInput {enter}{enter}{enter}{enter} Sleep 1...
by omar
03 Dec 2023, 16:14
Forum: Ask for Help (v1)
Topic: How do I output the # character
Replies: 3
Views: 278

Re: How do I output the # character

perfect!
That works nicely!
Thanks
by omar
03 Dec 2023, 16:05
Forum: Ask for Help (v1)
Topic: How do I output the # character
Replies: 3
Views: 278

How do I output the # character

Seems to be impossible! I've tried: ::]code:: SendInput # ; Doesn't work - prints nothing SendInput `# ; Doesn't work -prints nothing SendInput % "#" ; Doesn't work -prints nothing SendInput % "`#" ; Doesn't work -prints nothing my_output_string := chr(35) ; Doesn't work -prints nothing SendInput % ...
by omar
03 Oct 2023, 17:27
Forum: Ask for Help (v1)
Topic: Best way to output an array to inspect contents
Replies: 3
Views: 398

Best way to output an array to inspect contents

I'm writing some code to read in a CSV or copy data from the Clipboard. I'll be storing in a 2 dimensional array Is there quick way of inspecting the array? I can't just print the array? I need something quick so I can inspect the contents of arrays When I googled I found the best solution was to ma...
by omar
01 Oct 2023, 15:51
Forum: Ask for Help (v1)
Topic: Trouble reading in tab delimited data
Replies: 2
Views: 236

Re: Trouble reading in tab delimited data

@andymbody Amazing :)
Thanks
by omar
01 Oct 2023, 15:21
Forum: Ask for Help (v1)
Topic: Trouble reading in tab delimited data
Replies: 2
Views: 236

Trouble reading in tab delimited data

I need some help writing a some code to read in a tab separated data I've tried this: spreadsheetdata_row := StrSplit(%Clipboard%, %A_Tab%) MsgBox, % spreadsheetdata_row.3 And this: spreadsheetdata_row := StrSplit(%Clipboard%, A_Tab) MsgBox, % spreadsheetdata_row.3 Neither work. What am I doing wron...
by omar
26 Sep 2023, 20:15
Forum: Ask for Help (v1)
Topic: Need to make an app to send SMS on The desktop
Replies: 0
Views: 188

Need to make an app to send SMS on The desktop

I was hoping someone can point to holes in my plan and give a better solution... I'm going to write some AHK code to parse through a sales csv and send SMS to customers giving the tracking. Firstly, I'll read in a CSV file and store the data in an array and have ready for use in memory. I'll then us...
by omar
20 Jun 2023, 09:38
Forum: Ask for Help (v2)
Topic: Why still flagged up for viruses?
Replies: 9
Views: 943

Re: Why still flagged up for viruses?

Haha...
Erm, I don't have a few 1000 hours spare to rewrite. 🙃

Still not wanting to give up...
Has anyone from AHK though to reach out to these antivirus companies?
by omar
20 Jun 2023, 09:15
Forum: Ask for Help (v2)
Topic: Why still flagged up for viruses?
Replies: 9
Views: 943

Re: Why still flagged up for viruses?

gregster wrote:
19 Jun 2023, 10:55
You should ask the antivirus vendors who show false positives.
It might not be fair... but surely it's upto AHK to jump through whatever hurdles are needed to get passed by the virus tests?

@mikeyww exclusion? Never heard of that before. Can you explain or give me a link to read up.

Thanks.
by omar
19 Jun 2023, 09:22
Forum: Ask for Help (v2)
Topic: Why still flagged up for viruses?
Replies: 9
Views: 943

Why still flagged up for viruses?

I always run any program through virustotal
AHK is still flagged by 10 virus companies - most ones you've never heard of - but one or 2 definitely heard of

What is the problem with getting a clean bill?
by omar
13 Jun 2023, 12:23
Forum: Ask for Help (v1)
Topic: Macro pad - where can I get? + Can I reprogram keys for a number pad?
Replies: 4
Views: 323

Re: Macro pad - where can I get? + Can I reprogram keys for a number pad?

@gregster I've seen a video on youtube for someone who used AHK + AHI. It looks OK.

I had a search for other solutions (outside of AHK): I can't find any

Python: I thought this would be straight forward. Alas I don't think it is

So I think I might have to rely on AHI
by omar
13 Jun 2023, 09:39
Forum: Ask for Help (v1)
Topic: Macro pad - where can I get? + Can I reprogram keys for a number pad?
Replies: 4
Views: 323

Re: Macro pad - where can I get? + Can I reprogram keys for a number pad?

gregster AHI looks pretty good - definitely would like to use I'll start with a normal number pad I think though QUESTION : lets say I stick in a number pad and press the 7. I want to know when this key is pressed and envoke my AHK script. How can I isolate this key press? Or... is the ONLY answer ...
by omar
13 Jun 2023, 08:53
Forum: Ask for Help (v1)
Topic: Macro pad - where can I get? + Can I reprogram keys for a number pad?
Replies: 4
Views: 323

Macro pad - where can I get? + Can I reprogram keys for a number pad?

I want to have an external button pad. When I press a button, I want one of my AHK scripts to run. Where do I buy these number pads from ? They seem expensive. Like £20 - £30 + There are complaints on Amazon from buyers that they are forced to download software from Chinese websites - I definitely d...
by omar
18 Apr 2023, 18:15
Forum: Ask for Help (v2)
Topic: Voice activated AHK scripts
Replies: 4
Views: 546

Re: Voice activated AHK scripts

@mikeyww, yes, you are right :)
I think I was just being lazy and asking in the general forum

Go to advanced search