![]() ![]() Either use the Go to Layout script step to switch to a layout that has the fields your script requires, or place the fields on the gray area to the right of the layout to make the fields available for script steps but not to users. Which fields and layouts will the script need? Some steps (such as the Go to Field script step and the Insert Text script step) require a field to be on the current layout, while others (such as the Set Field script step) don't. ![]() Note Scripts performed in Layout mode automatically switch to Browse mode before executing. For example, use the Enter Browse Mode script step to modify data in fields and records, and use the Enter Find Mode script step to set up or perform a find request. Make sure your script is in the proper mode before it acts upon something. Should the script switch among modes? A script can be run from Browse, Find, Layout, or Preview modes.When you pause a script, the associated window becomes the foreground window if it is available. If the specified window is not available, the script switches to the foreground window of the file. For example, use the Select Window script step to specify a different window. The script remains on that window until a scripted action switches to another window. Which window do you want to use? A script is initially attached to a specific window, which may be in the background.If you don't include a navigation script step to determine the current record, the loop begins with the record that's current when the script is performed.) (Use the Go to Record/Request/Page script step, Go to Related Record script step, or Go to Portal Row script step to specify a starting record. With which record should the script start? For example, when using the Loop script step, you must decide whether the loop starts at the first or last record, a specific record, or the current record in the found set.Custom apps with more than one file may need separate scripts in each file, depending on the complexity of the task you are trying to script. ![]()
0 Comments
Leave a Reply. |