User Defined Functions

Ideas for new features & functions

Moderators: Dorian (MJT support), JRL

Post Reply
Jerry Thomas
Macro Veteran
Posts: 267
Joined: Mon Sep 27, 2010 8:57 pm
Location: Seattle, WA

User Defined Functions

Post by Jerry Thomas » Mon Dec 06, 2010 6:10 pm

Our software is a CAD system supporting our waterjet cutting machines.

I am building a framework for non testers/developers to build scripts with.
To 'hide' as much coding as possible I have several sub routines that do most of the work. In order to do this, they take several parameters. I am using the comdef.ini file to add prompts for my GoSubs to remind the users what each parameter was.

Added to comdef.ini

Code: Select all

[GoSubClickButton]
Description=Calls 'Click Button' Subroutine
NumFields=5
Caption1=Button:
Caption2=Description:
Caption3=Escape:
Caption4=X Coord:
Caption5=Y Coord:
(btw the X,Y are not button location, but 'working screen' location)


So now the user types in GoSubClickButton and they get the prompts for the other fields. Then they have to replace the > symbol with a comma and add a > symbol between GoSub and Click.

This would be so much easier if they could typein ClickButton> and see what they needed.

ClickButton would be a macro defined earlier during setup. It would use regular MS functionality. I am just making it easier for non coders.

Any chance of exposing this capability?
Thanks,
Jerry

[email protected]

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts