Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Condensing Lines in Edit Script Window

Featured Replies

Just a quick idea for the Wish List...

 

I know that most of the time I try to break my scripts up into smaller sub-scripts to aid efficiency, and to promote 'best practice' etc, but occasionally (mainly during complex script development) I find it easier to write everything in one big script, if nothing else, it's much easier to debug when it isn't calling sub-scripts with x number of ScriptResults and ScriptParameters etc etc... Once it all works, then I break it down...

 

With this in mind, is it possible to be able to 'condense' lines of the script, similar to the code window in something like DreamWeaver?

 

It'd be very helpful when writing and fixing problems to be able to select a whole If / Else If / End If part of the script, and condense it, so it makes everything else easier to read / track etc...

 

So instead of -

 

1

2

3

4

5

6

7

8 etc

 

you could have

 

1

2

3-7 (condensed / hidden)

8 etc

This would be a great feature. Condensing if/then blocks and loops would be great. I haven't found a way to do it either.

  • 1 month later...

For this, you need to make separated scripts:

 

A new script that encompasses the script-steps from 3 to 7 like this:

 

"My new condensed script":

line 3

line 4

line 5

line 6

line 7

 

The original script reduced, you need add the script-step "perform script":

line 1

line 2

perform script "My new condensed script"

line 8

 

 

 

 

 

 

 

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.