Login Page - Create Account

Support Board


Date/Time: Fri, 22 Nov 2024 17:21:31 +0000



Post From: Ability to change the selected Tool (Pointer to Hand) within custom ACSIL study function

[2024-10-13 16:22:41]
AlpineFutures - Posts: 1
I'm writing a custom ACSIL study, and I am trying to get the study function to change the selected tool at a certain point.

For example, I would like the study to change the Tool from Hand to Pointer, and then later, switch back to Hand.

Is this possible? I've only been able to find documentation regarding the Tools >> Tool Settings >> General >> After Single Use Tool Change To (List), however this doesn't work as I am not actually using a drawing tool. Instead, the study itself is using sc.UseTool to make some drawings. I've tried setting those drawings as UserDrawings (Tool.AddAsUserDrawnDrawing = 1). This does set them as UserDrawings (I can interact with them once drawn), but it does not return the Tool to the one selected in the (List).

Thanks for any help.