PotterHarry Posted March 16, 2006 Report Share Posted March 16, 2006 Hi. I'm new to macro express. Does anyone have any advice to offer, especially how to efficiently edit scripts. How do you make your life easier, can you colour certain lines, can you make gaps, can you tag parts of the script, how do you debug. I'm looking for those little ideas that when they occur to you you realise you have wasted hours! Thanx Quote Link to comment Share on other sites More sharing options...
jason Posted March 16, 2006 Report Share Posted March 16, 2006 Right now, the only way to break portions of code up, is to use the Remark command. You can enter a blank remark to add a line, or you can enter comments in these remarks. The font color in the remarks is blue, so it will stand out in your script. There are plans for a future release that will give the ability to change the font colors in the Scripting Editor. Quote Link to comment Share on other sites More sharing options...
joe Posted March 17, 2006 Report Share Posted March 17, 2006 The script editor is menu driven, so it inherently takes more time to create a script than, say, VBScript, or batch files, or other languages. On the other hand, you don't have to worry about syntax errors. One feature in the editor that I've found to be invaluable is <Alt><Down Arrow>. It places the cursor in the Search for Command field where I can simply type the command that I need and then hit <Enter>, which places it in the script. Quote Link to comment Share on other sites More sharing options...
PotterHarry Posted March 18, 2006 Author Report Share Posted March 18, 2006 Thanks joe and jason, I was unaware of either of those options. I dont know if it is possible, but the option to search in the script would be handy too... Quote Link to comment Share on other sites More sharing options...
joe Posted March 18, 2006 Report Share Posted March 18, 2006 In the Scripting Editor there is a Find feature: Edit->Find or simply Ctrl+F. In the Direct Editor there is a Search and Replace feature: Edit->Search or simply Ctrl+R. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.