BrammersUK Posted May 29, 2013 Posted May 29, 2013 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
GisMo Posted May 29, 2013 Posted May 29, 2013 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.
FranciscoMtz Posted July 5, 2013 Posted July 5, 2013 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
Recommended Posts
This topic is 4543 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 accountSign in
Already have an account? Sign in here.
Sign In Now