Search found 394 matches

by omar
08 Oct 2019, 12:04
Forum: Ask For Help
Topic: How to have a message popup that gives web links
Replies: 3
Views: 264

Re: How to have a message popup that gives web links

Oooh looks very nice 🙂
I'll try the code now
Thanks
by omar
08 Oct 2019, 07:15
Forum: Ask For Help
Topic: How to have a message popup that gives web links
Replies: 3
Views: 264

How to have a message popup that gives web links

I want to have a popup that gives web links.
Not sure how this is done.

After clicking I would want the message box to close.

How can I do?

ALSO: How can I have a msgbox with selectable text?

Thanks.
by omar
04 Oct 2019, 10:23
Forum: Ask For Help
Topic: Textshort cuts don't need text input!!
Replies: 0
Views: 91

Textshort cuts don't need text input!!

I discovered something awesome I thought I would share (I'm sure most people here new already!) If I have a textshortcut, something like: myprogram Before... I would open a text editor or something and type my textshort cut. Most times it was for text input, but recently I am using to open programs....
by omar
18 Sep 2019, 10:01
Forum: Ask For Help
Topic: Can AHK detect sound?
Replies: 8
Views: 626

Re: Can AHK detect sound?

Thanks for the reply. I am confused how to use VA_GetAudioMeter. Can you give some guidance? I have tried: audioMeter := VA_GetAudioMeter() MsgBox % audioMeter I have a video playing. I run the code and I get a value of something like 11000389. I reduce sound, I get something like 9990002. I mute an...
by omar
16 Sep 2019, 14:28
Forum: Ask For Help
Topic: Can AHK detect sound?
Replies: 8
Views: 626

Re: Can AHK detect sound?

The sound is not on music player. It's a video. I need to automate the playing of the next video. The next video button is always fixed. But some sort of graphic bar sound detection could be helpful. Can you explain more how you use? EDIT : does anyone know if there's python code that detects sound?...
by omar
15 Sep 2019, 18:00
Forum: Ask For Help
Topic: How to print a Word document x times?
Replies: 3
Views: 280

Re: How to print a Word document x times?

I looked at that link. Seems like that is super long and complicated. :) I found this: WINWORD.EXE your_document.docx /mFilePrintDefault /mFileExit /q /n From here: https://stackoverflow.com/questions/2749144/how-can-i-print-a-file-from-the-command-line I can't find any documentation on the flags us...
by omar
15 Sep 2019, 16:56
Forum: Ask For Help
Topic: Can AHK detect sound?
Replies: 8
Views: 626

Can AHK detect sound?

I need a script to take an action if the sound has stopped for 30 seconds say.

Is this possible?

Thanks.
by omar
13 Sep 2019, 11:03
Forum: Ask For Help
Topic: How to print a Word document x times?
Replies: 3
Views: 280

How to print a Word document x times?

I have a Word document.
I have to print x times.

How can I write code that print the document x times?
x will be different on different days.

Any ideas?

Thanks.
by omar
11 Sep 2019, 04:29
Forum: Ask For Help
Topic: Can I multi task on 2 screens?
Replies: 1
Views: 108

Can I multi task on 2 screens?

This is going to sound crazy... Imagine I have 2 monitors. I want to do automated AHK controlled things on the left monitor. On the right monitor, I want to just use to do something else like browse the web or something. Is that possible? Switch control every 0.5 seconds? That sounds crazy - maybe n...
by omar
11 Sep 2019, 04:24
Forum: Ask For Help
Topic: Can I detect what Chrome login profile I am logged in as?
Replies: 0
Views: 77

Can I detect what Chrome login profile I am logged in as?

With Chrome, I can have many profiles.
Can I use AHK to read what profile is currently logged in as?
There must be some environment variable somewhere within Chrome?

Thanks.
by omar
25 Aug 2019, 17:52
Forum: Ask For Help
Topic: Code to save tabs
Replies: 1
Views: 171

Code to save tabs

Has anyone written code to save browser tabs? I know you can get browser extensions... But these don't work on incognito mode. + After you slowly add extensions one after another, once day you realise your browser is running at snails pace. I thought it would be easy... Grab the window title. Grab U...
by omar
25 Aug 2019, 17:50
Forum: Ask For Help
Topic: How to have many windows of browsers Topic is solved
Replies: 5
Views: 417

Re: How to have many windows of browsers Topic is solved

Actually... one thing...
Is there a way to uniquely identifying tabs?
I'm guessing 2 tabs could have the same Title.
Which then would cause a problem?
by omar
22 Aug 2019, 10:36
Forum: Ask For Help
Topic: 5000 lines in my hotkey file!
Replies: 1
Views: 152

5000 lines in my hotkey file!

I have zillions of textshortcuts I use. I have 5000 lines - that makes up maybe 1000 textshortcuts. I wanted to know is there a limit? Am I bogging down my computer resources loading the file? Sometimes it loads - but text shortcuts don't work - I simply reload - and it works. 1000 textshortcuts - I...
by omar
20 Aug 2019, 12:03
Forum: Ask For Help
Topic: How to get time and date as a string of numbers
Replies: 2
Views: 109

Re: How to get time and date as a string of numbers

Oooh, very nice 🙂

I tried:

Code: Select all

MsgBox % A_Now
FormatTime, TimeString, %A_Now%, dddd MMMM d, yyyy hh:mm:ss tt
MsgBox The specified date and time, when formatted, is %TimeString%.
Works a treat.
Thanks
by omar
20 Aug 2019, 11:59
Forum: Ask For Help
Topic: How to launch a program AND delete the autokey text
Replies: 5
Views: 181

Re: How to launch a program AND delete the autokey text

@Rohwedder you're a star 🙂
That's awesome.
I did read that page mentioned.
It just wasn't making sense to me.
Thanks.
by omar
20 Aug 2019, 11:55
Forum: Ask For Help
Topic: Shortcuts for launching programs
Replies: 6
Views: 283

Re: Shortcuts for launching programs

Thanks for the replies guys. The thing is, I actually want to open a specific file - not just the program. I thought I would keep my question simple when asking. 🙂 So... I want something like this: c:\program files\microsoft\word\word.exe d:\other path\another path\my file.docx. That's what I want t...
by omar
20 Aug 2019, 10:40
Forum: Ask For Help
Topic: Shortcuts for launching programs
Replies: 6
Views: 283

Shortcuts for launching programs

Say I want to launch Powerpoint or Word or Excel or something else.

How do I specify the path of the program?
I would like universal so I can take it to another computer and use the code there.

Thanks.
by omar
20 Aug 2019, 10:39
Forum: Ask For Help
Topic: How to launch a program AND delete the autokey text
Replies: 5
Views: 181

Re: How to launch a program AND delete the autokey text

@Rohwedder That's awesome.
What does the *X do?
I've never come across that before.

Just one problem...
The code runs as soon as I hit the last character.
I don't want this.
I want it to execute when the space bar is pressed at the end or the return key is pressed.

How can I get this?

Thanks.
by omar
20 Aug 2019, 10:35
Forum: Ask For Help
Topic: How to submit data to a website form?
Replies: 0
Views: 112

How to submit data to a website form?

I'm writing some code to call a URL and pass in some value on the URL. Something like: www.mydomain.com/?ID=abc&dateandtime=123434545. But then I thought... this is open and someone can read and intercept? The domain will be https - does that change anything? In anycase, I think it will be better if...
by omar
20 Aug 2019, 10:32
Forum: Ask For Help
Topic: How to get time and date as a string of numbers
Replies: 2
Views: 109

How to get time and date as a string of numbers

I need to store time in a table in a database.
Ideally, I would like to just have a string of numbers: 485432958743095.
How do I get in this format?
And what is the formula for decoding the time and date to readable format?

Thanks.

Go to advanced search