Search found 462 matches

by omar
16 Dec 2019, 14:24
Forum: Ask For Help
Topic: How to save the state of text boxes
Replies: 2
Views: 289

Re: How to save the state of text boxes

@Odlanir how long did it take you to write all of that code? That is so damn awesome + clever + genius :bravo: I wanted something slightly simpler... Have variables like: myCheckBox1 = 0 thisIsmysecond_option = 1 theThirdOption = 0 thefourthOption = 1 So, I would have the above in the ini file. I wo...
by omar
16 Dec 2019, 11:09
Forum: Ask For Help
Topic: How to save the state of text boxes
Replies: 2
Views: 289

How to save the state of text boxes

I want to have 5-10 (and later more) check boxes. I will click a few of the check boxes and logout. When I log back in, I want to have the checked check boxes restored. Ho best should I save the state? Are there any examples of someone having done this? My initial thoughts were to store in plain tex...
by omar
16 Dec 2019, 07:59
Forum: Ask For Help
Topic: Windows: how to detect if other users logged in
Replies: 10
Views: 1653

Re: Windows: how to detect if other users logged in

WOW!
Is that AHK code?
by omar
16 Dec 2019, 04:55
Forum: Ask For Help
Topic: Windows: how to detect if other users logged in
Replies: 10
Views: 1653

Re: Windows: how to detect if other users logged in

Anyone? Still stuck on this one

quser.exe - is this a standard windows program?
It's not in my Windows 10.

Thanks
by omar
02 Dec 2019, 22:44
Forum: Ask For Help
Topic: Windows: how to detect if other users logged in
Replies: 10
Views: 1653

Re: Windows: how to detect if other users logged in

@Odlanir
I tried that code
The PC went mad.
Tried opening loooads of files 😕
Took me 10 minutes to get back control.

Isn't there a way to execute the DOS command: quser.exe | findstr.exe /v /i /B /C:" USERNAME" /C:">%USERNAME%" || Echo Nobody else logged on

And feed that back to AHK?

Thanks.
by omar
27 Nov 2019, 21:06
Forum: Ask For Help
Topic: Windows: how to detect if other users logged in
Replies: 10
Views: 1653

Re: Windows: how to detect if other users logged in

Aha!
I was just about to ask the same question :)
Thanks for the replies.
Can you tell me how I execute in AHK and then get the output and make a decision what to do in AHK?

Thanks.
by omar
20 Nov 2019, 19:49
Forum: Ask For Help
Topic: How to scrape a website with Javascript generated content
Replies: 3
Views: 342

How to scrape a website with Javascript generated content

I need to get images and content from a web page where I need to scroll down, before content appears. You have to go to the bottom of the page about 4 or 5 times (maybe more for some pages) before content appears. I think I'm right in saying that you have to go to the bottom of the page, wait for th...
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: 555

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: 555

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: 279

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: 3515

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: 3515

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: 577

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: 3515

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: 577

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: 296

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: 287

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: 355

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: 860

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?

Go to advanced search