Help with button scripting
Posted: 20 Feb 2023 06:50
Dear all, I want to add this script to a button.
I don't know how to script the check tab part. The best I can do is this:
Could you please give me some help regarding how it should be written? Thank you very much!
I don't know how to script the check tab part. The best I can do is this:
Code: Select all
if (Get('#800')){focus "P2";if (<curpath> == "[pathX]"){focus "P1";#800;} else {tab ("new", "[pathX]");}} else {#800;focus "P2";if (<curpath> == "[pathX]"){#1001;} else {tab ("new", "[pathX]")}};