Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Click bottons on an Inputbox of CatiaScript

Status
Not open for further replies.

diegocatia

Aerospace
Joined
Feb 19, 2015
Messages
5
Location
ES
Good morning,

I've got an issue with CatiaScript.

Is it possible to run a macro and to be ask for click options?

What I mean is, instead of asking for a value that you have to write, ask for one choosen by clicking on it.

Attached screenshots

Picture 1 shows Yes or No bottons, that's what I want but choosing between for example: M1, M2, M3, M4...
Picture 2 shows an example of writting windows.


Picture 1
Your file's link is:

Picture 2
Your file's link is:

Thank you very much
 
what you're looking for is the child window handler...google that

Eric N.
indocti discant et ament meminisse periti
 
Hi,

First observation is that I can't see your attachments. Second, CATScript, catvbs, vbs in general are limited languages, you can't create nice forms with a lot of button unless if you are using inside an hta application (so you can create dynamically another hta and pass back variables - or find another way to work with).

Better try vba (or vb.net) and follow Eric's advice.

Regards
Fernando

- Romania
- EU
 
ok I'll try vba.

Thank you very much
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top