Ole
Offline
Last seen: 8 years 7 months ago
Joined: 01/28/2014 - 07:49
Hi brian, is there a simple way to run macros/scripts with a master script, without all the buttons etc?
ie within the Macros.ILB folder, i have macro1.iss, macro2.iss ... up to say, macro20.iss
My aim is to run mastermacro.iss, which just calls macros 1-20 and runs them consecutively. I don't need any user involvement as the process is fixed and any changes would require a rewrite of the sub-macros.
Thanks for all your help. Great resource, but some of the scripts are a big jump from tweaking/altering a recorded macro, to the above. Any suggested reading/resources as a beginners guide to scripting/visualbasic?
Hi JHDCC, here are two examples for you. The first doesn't send any parameters while the second sends parameters to the scripts. You can mix the two so you can have the first with no parameters and the second with paramers and so on.
That's great Brian. Thanks for all your help.
Hi, there. I'm trying to execute the example you post, Brian. I pasted all files in Macros.ILB folder, when I run the Main and click button 1 and 2, the message: "invalid macro file name" shows. I reviewed the Idea language reference and syntaxis is correct (compared to the examples it has). Please help.
Hi,
I had this error too, but found the solution in the link below. The macros need to be in the project folder, not the macros folder.
http://ideascripting.com/comment/966#comment-966
Si desean ejecutar otro Scrip llamandolo desde otro se debe colocar el Scrip que se desea llamar en la carpeta del proyecto y este codigo de llamado ***Client.RunIDEAScript "AutoNumber.iss"**al final del scrip que se esta ejecutando primero
Pages