Search found 153 matches

by rc76
29 May 2024, 21:21
Forum: Ask for Help (v1)
Topic: Logout and Auto-login
Replies: 2
Views: 481

Re: Logout and Auto-login

Dear @mikeyww , will you have any advice for this potential solution? Thank you so much mikeyww! :)
by rc76
24 May 2024, 05:17
Forum: Ask for Help (v1)
Topic: How to detect if a screenshot is all black? Topic is solved
Replies: 1
Views: 347

How to detect if a screenshot is all black? Topic is solved

Hi, I uses gdip to get screenshot of my screen. I sometimes get a "whole black" screenshot from my gdip function, I am wondering is there anyway I can "detect" the returned image is all black, by: - return a value of 1 if entire screenshot picture is black - return a value of 0 if not entirely black...
by rc76
24 May 2024, 04:47
Forum: Ask for Help (v1)
Topic: Logout and Auto-login
Replies: 2
Views: 481

Logout and Auto-login

Hi, There are times my screen resolution got wierd so i need to log out and log back in again Is there anyway ahk can help me to perform log out and log back in? I found log out is: ; Logoff current user Run, rundll32.Exe user32.dll LockWorkStation ; disconnect current remote session run tsdiscon Ho...
by rc76
30 Apr 2024, 11:55
Forum: Ask for Help (v1)
Topic: Upload txt file data (in CSV form) to Google Sheet
Replies: 3
Views: 317

Re: Upload txt file data (in CSV form) to Google Sheet

Basically i wish:
(1) From every hour's txt's line items (in CVS format), to append each line item to a google sheet's particular tab.
(2) Only append onto google sheet, not replacing it.
by rc76
30 Apr 2024, 10:32
Forum: Ask for Help (v1)
Topic: Upload txt file data (in CSV form) to Google Sheet
Replies: 3
Views: 317

Re: Upload txt file data (in CSV form) to Google Sheet

Yes, because it will be on a frequent basis of importing (on an hourly basis).

So prefer to automate the process.
by rc76
30 Apr 2024, 04:21
Forum: Ask for Help (v1)
Topic: Upload txt file data (in CSV form) to Google Sheet
Replies: 3
Views: 317

Upload txt file data (in CSV form) to Google Sheet

Is there anyway we can upload a txt file's data (which already in CSV format) on your local C:\ to your google sheet on the cloud?

Any example of how I can get started will be super awesome!
by rc76
24 Apr 2024, 21:55
Forum: Ask for Help (v1)
Topic: RE: DllCall with SharedVar application
Replies: 4
Views: 382

Re: RE: DllCall with SharedVar application

Thank you so much @mikeyww, @Descolada

A quick question about defining the return type for DLLCall().

If I want to define a return type of AStr, do I code like the following?

Code: Select all

Result := DllCall("SharedVar-a64.dll\svVersion", "Cdecl AStr")
msgbox, "svVersion-64: " %Result%
by rc76
23 Apr 2024, 17:28
Forum: Ask for Help (v1)
Topic: RE: DllCall with SharedVar application
Replies: 4
Views: 382

Re: RE: DllCall with SharedVar application

Dear @mikeyww , any chance you may have some suggestions for this question?

Thank you so much @mikeyww!
by rc76
17 Apr 2024, 04:41
Forum: Ask for Help (v1)
Topic: RE: DllCall with SharedVar application
Replies: 4
Views: 382

RE: DllCall with SharedVar application

[Summary] I am trying to use DllCall() with the SharedVar application, although I did get some results back, however the results are not accurate, for example: svRealmCount Expected Result: 1 Actual Result: -1 svVersion Expected Result: 1.2.0.310 Actual Result: 491035856 Why is that? [Background] T...
by rc76
16 Feb 2024, 03:25
Forum: Ask for Help (v1)
Topic: Try to click on an outline in a Window (Use Acc ?)
Replies: 5
Views: 382

Re: Try to click on an outline in a Window (Use Acc ?)

Awesome, thank you very much @boiler
by rc76
14 Feb 2024, 06:37
Forum: Ask for Help (v1)
Topic: Try to click on an outline in a Window (Use Acc ?)
Replies: 5
Views: 382

Re: Try to click on an outline in a Window (Use Acc ?)

Thank you so much @boiler .

The target text may not always be at the first line ....

Will you have any other recommended approach?

Is there anything from Acc I can try or apply?
by rc76
04 Feb 2024, 23:13
Forum: Ask for Help (v1)
Topic: How to calculate Time Remaining
Replies: 5
Views: 423

Re: How to calculate Time Remaining

It works great! Thank you so much @Rohwedder, @mikeyww ! :D
by rc76
03 Feb 2024, 09:11
Forum: Ask for Help (v1)
Topic: Try to click on an outline in a Window (Use Acc ?)
Replies: 5
Views: 382

Re: Try to click on an outline in a Window (Use Acc ?)

So in a nutshell, how can I click this:
04.png
04.png (422.98 KiB) Viewed 354 times
by rc76
03 Feb 2024, 08:33
Forum: Ask for Help (v1)
Topic: Retrieve hwnd + WinTitle under current mouse position
Replies: 6
Views: 559

Re: Retrieve hwnd + WinTitle under current mouse position

Awesome! Thank you so much @andymbody !
by rc76
03 Feb 2024, 07:28
Forum: Ask for Help (v1)
Topic: How to calculate Time Remaining
Replies: 5
Views: 423

Re: How to calculate Time Remaining

Great! Thank you so much @mikeyww ! I am bit lost in your amazing code. To simply it a bit, if we to construct a function to compute the current time to target time difference, how may we do that? Thank you once again! For example: EndTime := "Sat 1600" ComputeTimeDiff_Second(EndTime){ StartTime = A...
by rc76
03 Feb 2024, 06:17
Forum: Ask for Help (v1)
Topic: How to calculate Time Remaining
Replies: 5
Views: 423

How to calculate Time Remaining

I wish to display a GUI for Information during a specific time period, for example: From Friday 22:00 to Saturday 1600. I may start the GUI.ahk during any moment of the display period (i.e. From Friday 22:00 to Saturday 1600.) So how can I calculate the amount of time in seconds, from the current mo...
by rc76
03 Feb 2024, 05:26
Forum: Ask for Help (v1)
Topic: Try to click on an outline in a Window (Use Acc ?)
Replies: 5
Views: 382

Try to click on an outline in a Window (Use Acc ?)

I would like to seek help on how to click "an outline text" on an window. Below is an window, with left side tab shown a list of items that is clickable by mouse. 01.png 02.png I wish to click on the item "Strategy Performance Summary". This particular window is not friendly using "tabs" or "arrow k...
by rc76
03 Feb 2024, 01:08
Forum: Ask for Help (v1)
Topic: Create PDF from multiple graphs
Replies: 10
Views: 953

Re: Create PDF from multiple graphs

This is super awesome! Let me give a good try!

Thank you so much @flyingDman
by rc76
31 Jan 2024, 04:47
Forum: Ask for Help (v1)
Topic: Retrieve hwnd + WinTitle under current mouse position
Replies: 6
Views: 559

Re: Retrieve hwnd + WinTitle under current mouse position

Thank you @andymbody !

I can just MouseClick or Just Click directly after I reposition the mouse to the x,y position!
by rc76
30 Jan 2024, 04:27
Forum: Ask for Help (v1)
Topic: Create PDF from multiple graphs
Replies: 10
Views: 953

Create PDF from multiple graphs

Hi, I am wondering whether it is possible to create a PDF file that displays/aggregate multiple images collected by AHK. For example, I use AHK to frequently collect computed images on the output of my applications. However I would like to create an overview PDF doc that I can just view as a summary...

Go to advanced search