nkormanik Posted December 30, 2023 Report Share Posted December 30, 2023 Please see attached image. I'm using Variable Set Integer via prompt. When the little box pops onto the screen asking what value to put in, there is a "0" shown, which can be changed as user types another number. Is it possible to show a 'default' value of, say, 5, in the little box, and if user presses Enter, the 5 is then used. No need to type 5. It's set up beforehand as the default value? Quote Link to comment Share on other sites More sharing options...
acantor Posted December 30, 2023 Report Share Posted December 30, 2023 Variable Set Integer %x% to 5 Variable Set Integer %x%: Prompt It's also possible to set the default value to whatever it was the last time the macro ran. If you do this, I don't think it's possible (or perhaps would be easy) to specify the default value the first time you run the macro. Variable Restore: Restore All Variables Variable Set Integer %x%: Prompt Variable Save: Save All Variables 1 Quote Link to comment Share on other sites More sharing options...
acantor Posted December 30, 2023 Report Share Posted December 30, 2023 PS: You've included a space in the variable name: %Subwindow 08% I thought a space wasn't a legal character in a variable name, but apparently it is. However, I can imagine doing so might lead to problems. So consider either deleting the space, or replacing it with a hyphen or underscore: %Subwindow08% %Subwindow-08% %Subwindow_08% Quote Link to comment Share on other sites More sharing options...
Cory Posted December 30, 2023 Report Share Posted December 30, 2023 Radio buttons can be set before hand this way also. Quote Link to comment Share on other sites More sharing options...
nkormanik Posted December 30, 2023 Author Report Share Posted December 30, 2023 Thanks much folks! Quote Link to comment Share on other sites More sharing options...
Cory Posted December 30, 2023 Report Share Posted December 30, 2023 You're welcome. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.