×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Click bottons on an Inputbox of CatiaScript

Click bottons on an Inputbox of CatiaScript

Click bottons on an Inputbox of CatiaScript

(OP)
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: http://files.engineering.com/getfile.aspx?folder=4...


Picture 2
Your file's link is: http://files.engineering.com/getfile.aspx?folder=5...


Thank you very much

RE: Click bottons on an Inputbox of CatiaScript

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

Eric N.
indocti discant et ament meminisse periti

RE: Click bottons on an Inputbox of CatiaScript

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

https://picasaweb.google.com/102257836106335725208 - Romania
https://picasaweb.google.com/103462806772634246699... - EU

RE: Click bottons on an Inputbox of CatiaScript

(OP)
ok I'll try vba.

Thank you very much

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources