|
Post by zeak on Dec 18, 2018 3:49:01 GMT
On a few occasions I have found it necessary to show a screen prompt for a selected location, unfortunately showing a message prompt isn't enough as it is just text and doesn't point to the actual location.
My idea is to be able to draw a rectangle, line or dot on the screen at [X: Y: ] and for rectangle/line ::Size [W: H: ]. would also be nice to choose colour, line thickness, solid or not and timeout value.
1 | RUN ACTION | DRAW | Colour [R=255, G=255, B=255]::At Location [X:800 Y:140]::Size [W:100 H:25]::Line 2::Time 5
Line would be line thickness 1 being 1 pixel thick and 0 being solid.
Edit: could probably do without the line thickness if it would make it easier to code.
|
|
|
Post by Steve on Dec 18, 2018 22:15:27 GMT
Nice one. I will look into it.
|
|
|
Post by Steve on Jan 7, 2019 1:06:08 GMT
I've been working on this, almost ready... It's going to look something like this: 1 | RUN ACTION | DRAW | TEXT::AT LOCATION [25 204]::COLOR [Red 5]::STRING [%time%] ::FONT [Arial 50 Italic]::TIME [2 100]::WAIT NO 2 | RUN ACTION | DRAW | LINE::AT LOCATION [210 210 1000 210]::COLOR [blue 5]::TEXT [%time%] ::FONT [Arial 50 Italic]::TIME [6 50]::WAIT NO 3 | RUN ACTION | DRAW | RECTANGLE::AT LOCATION [821 192 100 50]::COLOR [black 10]::FILL [NO]::TIME [3 100]::WAIT NO 4 | RUN ACTION | DRAW | CIRCLE::AT LOCATION [476 271 50 50]::COLOR [GREEN 8]::FILL [YES]::TIME [2 10]::WAIT NO 5 | RUN ACTION | DRAW | PICTURE::AT LOCATION [900 %RANDOM_20-200%]::FILE [D:\Macro\Output\Turnssoft Logo.jpg]::TIME [5 10]::WAIT YES
|
|
|
Post by Johnc on Jan 9, 2019 1:11:54 GMT
Hi Steve,
I am running .Net framework 4.7.2 already and I did "repair it" again and rebooted my windows 7x64 Home Premium desktop. Looks like the DRAW function would work on windows 10 but not on windows 7. Cheers.
|
|
|
Post by Steve on Jan 9, 2019 2:46:14 GMT
Thanks John I'll fire up a VM and look into it
|
|
|
Post by zeak on Feb 7, 2019 22:48:56 GMT
Looks great Steve, can't wait to use it.
|
|