Jump to content

Script to activate dropdown list


Asu

This topic is 420 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hello, I am wondering if there is a script step or or other mechanism which would cause the automatic activation of a drop-down list, or a pop-up menu,  as if I had clicked on it.

Link to comment
Share on other sites

4 hours ago, Asu said:

Hello, I am wondering if there is a script step or or other mechanism which would cause the automatic activation of a drop-down list, or a pop-up menu,  as if I had clicked on it.

The Go to Field{} script step is equivalent to user tabbing into the field. In fact, any navigation step that causes a field to become active - Go to Field[], Go to Next Field[], Go to Previous Field []and Go to Object[] - will do the same thing.

Note however that while tabbing into the field causes a drop-down menu to drop down, it does not cause a pop-up menu to pop up (though there may be differences between versions and/or platforms in this aspect).

Link to comment
Share on other sites

17 hours ago, comment said:

The Go to Field{} script step is equivalent to user tabbing into the field. In fact, any navigation step that causes a field to become active - Go to Field[], Go to Next Field[], Go to Previous Field []and Go to Object[] - will do the same thing.

Note however that while tabbing into the field causes a drop-down menu to drop down, it does not cause a pop-up menu to pop up (though there may be differences between versions and/or platforms in this aspect).

Great, thanks. I was using a popup menu and indeed the "go to field" step was not working with that. I did not know there was a difference.

Link to comment
Share on other sites

  • 3 years later...

 

On 2/11/2020 at 2:01 PM, comment said:

Why do you find it odd? Does tabbing into a field that has the "Include arrow…" option turned on cause the list to drop? 

 

From my experimentation I found that when the arrow is present tabbing in to the field just puts the cursor in the field as if you are going to type instead of producing the drop down. I took the arrow off then it worked just fine. 

Edited by Willm5455
Link to comment
Share on other sites

1 hour ago, Willm5455 said:

when the arrow is present tabbing in to the field just puts the cursor in the field

Well, then there you have it:

On 11/19/2016 at 1:00 PM, comment said:

The Go to Field{} script step is equivalent to user tabbing into the field.

 

Link to comment
Share on other sites

  • 3 years later...
3 minutes ago, comment said:

That's not what I see.

You're right. I forgot I had turned the arrow off before testing Go To Object. My bad.

3 minutes ago, Jeffrey Bloch said:

That's not what I see.

Couldn't we just stack 2 fields atop one (one with arrow and one without) another and control via script which it goes to?

Edited by Jeffrey Bloch
Link to comment
Share on other sites

This topic is 420 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.