Automatically select user entry parameter in object settings
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2016-03-04 03:02 AM
2016-03-04
03:02 AM
I have two parameters in the object that need to work together.
The first is a boolean and the second is a user input.
What I'd like to happen is...in the object settings, the script should activate the input field of the second parameter if the user puts a check mark in the first parameter.
Scriptwise (making up words here), about the best way I can think to describe it is...
IF PARAMETER_1 THEN ACTIVATE PARAMETER_2
Anyone know if this is possible?
Thanks. Doug
4 REPLIES 4

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2016-03-04 03:14 AM
2016-03-04
03:14 AM
There would be a few ways to script this.
But basically you could use (in the parameter script) ...
Barry.
But basically you could use (in the parameter script) ...
if PARAMETER_1 then !!!do nothing else LOCK "PARAMETER_2" HIDEPARAMETER "PARAMETER_2" endifSo if your Boolean parameter is ON the other parameter will be available but if it is OFF the other parameter will be locked and/or hidden.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2016-03-04 03:36 AM
2016-03-04
03:36 AM
Thanks for the reply Barry. I think understand your reply but I may not have explained my need quite right.
If I click the first parameter then I would like it to activate the input field of the second so that all I have to do is start typing in it's input field. Also, these are not the only parameters in this object so when the first is check marked it would have to tell the script which parameter to activate.
Clear as MUD??
Doug
Edit. Another way to put it. If I put a check in the first parameter the the cursor automatically jumps to the input field of the second parameter.
If I click the first parameter then I would like it to activate the input field of the second so that all I have to do is start typing in it's input field. Also, these are not the only parameters in this object so when the first is check marked it would have to tell the script which parameter to activate.
Clear as MUD??
Doug
Edit. Another way to put it. If I put a check in the first parameter the the cursor automatically jumps to the input field of the second parameter.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2016-03-04 06:08 AM
2016-03-04
06:08 AM
4thorns wrote:No you can't make the cursor jump to any particular field.
Edit. Another way to put it. If I put a check in the first parameter the the cursor automatically jumps to the input field of the second parameter.
All you can do is hide or show the parameter in the parameter list as I showed or use IF/THEN statements in the interface script to show/hide the fields there.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2016-03-09 01:21 AM
2016-03-09
01:21 AM
Thanks Barry. Not a necessity obviously. Just thought it would be a handy little feature.
Doug
Doug