How to exit param single Topic is solved

A forum dedicated to George scripting questions
Post Reply
User avatar
TheInsaneum
Posts: 11
Joined: 13 Sep 2018, 17:21
Contact:

How to exit param single

Post by TheInsaneum »

Hi, I just wrote a tiny script to offset the paper in TVP since there dosent seem to be a standard way to do it. (let me know if I just missed it)
But I dont fully understand how to propperly exit the george program from using "PARAM Single".
This is the code Im running:

Code: Select all

PARAM Single
parse result s x y m
tv_paper OffsetX x OffsetY y
EXIT
Everything is working as I wanted but the cross curser that is used to initiate the program stays and runns the program again every time I click on screen. The only way I found to stop the script from executing is by hitting ESC. I thaught using "EXIT" in the script would exit the script and the curser would return to whatever tool I was using before but it dosent. Is there a way to exit the script or do I need to hit ESC every time I use it?

Btw. Im using TVP11.5.3 on Win10 on a mobilestudio if that changes anything.
Svengali
Posts: 1571
Joined: 28 Dec 2006, 10:08

Re: How to exit param single

Post by Svengali »

Add this line in place of the EXIT:

tv_SetActiveShape FreeHandLine

sven
TVP Pro 11.0.10-64bit Win10 - 64GB ram -2TB HHD - 256GB SSD - Wacom Cintiq 16, driver 6.3.41-1
Android Tablet: rel. 11, Samsung Galaxy Note10.1 - 32GB with microSD 32GB
Android Tablet: rel. 11.5, Samsung Galaxy Tab S7plus - 128GB with microSD 64GB
Post Reply