ALT CLICK: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
CatoH (talk | contribs)
No edit summary
CatoH (talk | contribs)
No edit summary
Line 8: Line 8:
|param2=<control num>|param2_desc=The number of <control type>
|param2=<control num>|param2_desc=The number of <control type>
|param3=<value>|param3_desc=What value to interrogate when ALT+Click, example HPOS
|param3=<value>|param3_desc=What value to interrogate when ALT+Click, example HPOS
You can use : HPOS VPOS DPOS TOPH TOPV TOPD RAD ANGLE DIAV OPCSH OPCSV OPCSD OPCSTOPD
}}
}}


===Example===
===Example===
:INPUT 65, 10, 70, 24, x1, 0
:INPUT 65, 20, 70, 24, y1, 0
:INPUT 65, 30, 70, 24, z1, 0
<br>
:ALT_CLICK INPUT, 1,HPOS
:ALT_CLICK INPUT, 1,HPOS
:ALT_CLICK INPUT, 2,VPOS
:ALT_CLICK INPUT, 2,VPOS
:ALT_CLICK INPUT, 3,DPOS
:ALT_CLICK INPUT, 3,DPOS
<br>
:INPUT 65, 10, 70, 24, x1, 0
:INPUT 65, 20, 70, 24, y1, 0
:INPUT 65, 30, 70, 24, z1, 0


:will fill input1 with HPOS or X value when alt clicking a point.
:will fill input1 with HPOS or X value when alt clicking a point.

Revision as of 11:24, 21 February 2025

Up

Command

ALT_CLICK <control type> <control num> <value>


Enables the ALT+Click feature in the macro dialog.
ALT+Click feature allows you to interrogate a coordinate and place it a dialog’s input field.

Parameters

<control type>
set type, example INPUT
<control num>
The number of <control type>
<value>
What value to interrogate when ALT+Click, example HPOS

You can use : HPOS VPOS DPOS TOPH TOPV TOPD RAD ANGLE DIAV OPCSH OPCSV OPCSD OPCSTOPD

Example

INPUT 65, 10, 70, 24, x1, 0
INPUT 65, 20, 70, 24, y1, 0
INPUT 65, 30, 70, 24, z1, 0


ALT_CLICK INPUT, 1,HPOS
ALT_CLICK INPUT, 2,VPOS
ALT_CLICK INPUT, 3,DPOS
will fill input1 with HPOS or X value when alt clicking a point.
will fill input2 with VPOS or Y value when alt clicking a point.
will fill input3 with DPOS or Z value when alt clicking a point.