Search found 6467 matches

by BoBo
18 Sep 2022, 03:21
Forum: Ask for Help (v1)
Topic: Is it possible to automate in software with sliders?
Replies: 13
Views: 1577

Re: Is it possible to automate in software with sliders?

malcev wrote:
17 Sep 2022, 09:20
Standard sliders can be automated without mouse clicks but with sending messages to them.
Like this

Code: Select all

SendMessage, TBM_SETPOS := 0x405, 1, pos := 10, msctls_trackbar321, A
Would you mind to provide a TBM_GETPOS line as well, just for the record? Thx :)
by BoBo
17 Sep 2022, 09:23
Forum: Ask for Help (v1)
Topic: Is it possible to automate in software with sliders?
Replies: 13
Views: 1577

Re: Is it possible to automate in software with sliders?

@LogicMind - @malcev has recommended the professional/more reliable option:
https://learn.microsoft.com/en-us/windows/win32/controls/tbm-setpos
by BoBo
17 Sep 2022, 04:28
Forum: Ask for Help (v1)
Topic: eyeBeam 1.5 POP_UP CALL
Replies: 2
Views: 389

Re: eyeBeam 1.5 POP_UP CALL

Code: Select all

#IfWinActive ahk_class Funky Window
F3::Send,^{d}
#If
Not my cup of tea, but will this do it? :think:
by BoBo
17 Sep 2022, 04:14
Forum: Ask for Help (v1)
Topic: moving mouse with mouse_event to pixelsearch coords
Replies: 11
Views: 996

Re: moving mouse with mouse_event to pixelsearch coords

Stein wrote:
17 Sep 2022, 03:52
Yeah this was my whole script, how would i assign values to x and y? Im very new to this
https://www.autohotkey.com/docs/Variables.htm#Intro
by BoBo
16 Sep 2022, 20:44
Forum: Ask for Help (v1)
Topic: AutoHotkey for a job Topic is solved
Replies: 3
Views: 399

Re: AutoHotkey for a job Topic is solved

#SingleInstance, Force clipboard = ( TROUBLESHOOTING:`t DEPARTMENT:`t FLOOR:`t Contact Name:`t Contact Phone:`t Employee ID:`t Device model:`t Asset Tag:`t S/N:`tNot located ***Affected asset not correct*** Register number:`t ) Inc & Tab:: ;pressing inc and tab… Send ^a ;select all Sleep 100 ;wait ...
by BoBo
16 Sep 2022, 06:25
Forum: Ask for Help (v1)
Topic: Erratic behaviour of script when combo box is used
Replies: 3
Views: 351

Re: Erratic behaviour of script when combo box is used

for Encounter, advice in EncounterIndex if (%Encounter% =1) { SendInput, {Enter}- %advice% Reload } Return This will reload the script once the first checked checkbox has been processed. So there's no further processing/validation for additional checked items. But I might be wrong :| ;easier to rea...
by BoBo
15 Sep 2022, 10:25
Forum: Ask for Help (v1)
Topic: Is it possible to automate in software with sliders?
Replies: 13
Views: 1577

Re: Is it possible to automate in software with sliders?

a) what about a screenshot (you can attach it to your posting)? b) once the control that is triggered using the slider has the focus, does it... 1) react if you press the home/end-button? 2) will a press of the up/down key moving the slider in "steps" so you can reliably trigger the listed items acc...
by BoBo
14 Sep 2022, 23:43
Forum: Gaming Help (v1)
Topic: New to ahk
Replies: 5
Views: 524

Re: New to ahk

This game is plagued currently with long waiting queues to rejoin servers And that won't change if you're blocking others from entering while you are away from your box. There's a good chance that people like you will be using this to stay "on" 24/7 so no one in the queue will have a chance to ente...
by BoBo
14 Sep 2022, 14:27
Forum: Ask for Help (v1)
Topic: How to prevent firing the g-label when typing in a ComboBox
Replies: 11
Views: 922

Re: How to prevent firing the g-label when typing in a ComboBox

You could use its AltSubmit parameter and validate it against "if var is not number", as long as you won’t enter any numbers in its edit field.
by BoBo
14 Sep 2022, 13:28
Forum: Ask for Help (v1)
Topic: Help - CSV, back and forth
Replies: 12
Views: 808

Re: Help - CSV, back and forth

As a webpage template can autoupdate/reload itself it should be OK to update it with a label "work in progress"/"currently updated by xy" until all data has been finally submitted (identical to Excel's indicator). Im-/exporting a central/shared CSV into an array for reliable item editing using an AH...
by BoBo
14 Sep 2022, 00:51
Forum: Ask for Help (v1)
Topic: Extracting Page number of a pdf
Replies: 6
Views: 747

Re: Extracting Page number of a pdf

Code: Select all

Run, % comspec  " /c pdftk.exe C:\Users\User\Desktop\MONTPHIL.pdf dump_data | findstr NumberOfPages >  nop.txt"
FileRead, response, nop.txt
MsgBox % response
:?:
by BoBo
14 Sep 2022, 00:03
Forum: Ask for Help (v1)
Topic: Extracting Page number of a pdf
Replies: 6
Views: 747

Re: Extracting Page number of a pdf

ClipWait :?:

Code: Select all


clipboard:=""
Run, % comspec  " pdftk.exe C:\Users\User\Desktop\MONTPHIL.pdf dump_data | findstr NumberOfPages | clip"
ClipWait
var:= clipboard
MsgBox % var

:?:
by BoBo
13 Sep 2022, 16:22
Forum: Ask for Help (v1)
Topic: How detect opened menu on a window
Replies: 10
Views: 993

Re: How detect opened menu on a window

Archimede wrote:
13 Sep 2022, 16:11
What is UIA?
viewtopic.php?f=6&t=104999 (UIA 4 AHK1.x)

viewtopic.php?f=83&t=107857 (Acc 4 AHK2.x)
by BoBo
13 Sep 2022, 13:32
Forum: Ask for Help (v1)
Topic: Trying to paste text with Hyperlink.
Replies: 14
Views: 1894

Re: Trying to paste text with Hyperlink.

Barnaby Ray wrote:
13 Sep 2022, 12:07
Thanks, but unfortunately that still pastes it as plain text.
Saved in a file with the file extension ".html" and opening in a browser it's still showing as text? :wtf: :eh: :think:
by BoBo
13 Sep 2022, 11:14
Forum: Ask for Help (v1)
Topic: Trying to paste text with Hyperlink.
Replies: 14
Views: 1894

Re: Trying to paste text with Hyperlink.

I've tried wrapping the URL in the .txt file like this without success;

<a href="https://www.youtube.com/">Text</a> - This still just gets pasted as plain text.
Saved as a text file?

my.html

Code: Select all

<html><body><a href="https://www.youtube.com/">YouTube</a></body></html>
by BoBo
13 Sep 2022, 11:03
Forum: Ask for Help (v1)
Topic: Send text to an unknown control !
Replies: 7
Views: 733

Re: Send text to an unknown control !

Descolada - so the '1' answer to this request: https://stackoverflow.com/questions/61311232/qt-automation-with-pywinauto isn't giving a hint on how to deal with it? :shifty: This one is dealing with QT controls as well: https://www.autohotkey.com/boards/viewtopic.php?t=63269 (with a 'little help' f...
by BoBo
13 Sep 2022, 10:53
Forum: Ask for Help (v1)
Topic: v Variable of a Gui after Destroy
Replies: 6
Views: 531

Re: v Variable of a Gui after Destroy

JnLlnd wrote:
13 Sep 2022, 07:36
:-) I know it works in my example.

I was just unsure after reading the Gui, Destroy doc saying that it is freeing the corresponding memory and system resources.
Once a vVariable has been "transformed" using Gui, Submit/GuiControlGet it's not related to the Gui anymore.

Go to advanced search