Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This is may be really easy, but I do not know how to do it?


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

Recommended Posts

Posted

I have a basic field layout that I want to put a drop down box that shows certain scripts in it.

I have say 30 scripts in the scriptmaker but only 5 that i use alot. So I would like these 5 scripts in this drop down box.

So when I want to perform script 1 on record 99 I can pull down script 1 from the list of 5 scripts. I do not know how to set up a button/edit box to do this. Any help would be great/ Thanks

Posted (edited)

Why not just edit the scripts menu choices to show only those 5 scripts you want to use in your solution and hide all others?

I attached pics of what i mean

Doc1.zip

Edited by Guest
Posted

Kris,

What is your attachment's application. I opened it in a text editor and it is one line of text, that appears to be part of a screen shot. But the screen shot of (probably ScriptMaker) isn't there.

Lee

Posted (edited)

Try this. Create a field called Scripts, and add it to your layout. Then double-click it and choose to have it display as a drop-down list instead of an edit box. For the "Display Values from:", choose Manage Value lists and create a new list. Put in some simple names for the scripts you will be using.

Now make a new script. It should essentiall be:


If[scripts = "Script 1 name from value list"]

   Perform Script["Script 1"]

else If[scripts = "Script 2 name from value list"]

   Perform Script["Script 2"]

else

.

.

.

end If

Then make a button that performs this script, and put it next to your Scripts drop-down menu. Now, you should be able to choose any of the menu options, and click the button, and it will perform the script.

Edited by Guest
Posted (edited)

I upgraded my Mac to Leopard last week, and haven't brought all of my applications in to it yet.

Take a look at this Link, and the applications I posted to it

Link

It will save you some work in the future, and you don't have to zip the files so post it to your posts. Also, it eliminates the need for others from having to download your file in order to see your point.

Lee

Edited by Guest
  • 2 weeks later...
  • Newbies
Posted

Could you not just use the Custom menus function to have those 5 scripts display in the scriptmaker menu for easy access regardless of the layout you are on? I am new at all this but that seems a logical solution.

This topic is 5988 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.