Jump to content
Macro Express Forums

Can MEX only operate on main window title?


terrypin

Recommended Posts

I am running a program titled, say, TOP and I have a dialog window open within it titled SUB. I want to resize SUB. But when I use the command Window Resize: SUB - (Width: 850 Height: 630) I get TOP resized, not SUB. Is there any way to achieve what I want please? Or can MEX only operate on the 'main' program, not its sub-windows?

 

--

Terry, East Grinstead, UK

Link to comment
Share on other sites

I am running a program titled, say, TOP and I have a dialog window open within it titled SUB. I want to resize SUB. But when I use the command Window Resize: SUB - (Width: 850 Height: 630) I get TOP resized, not SUB. Is there any way to achieve what I want please? Or can MEX only operate on the 'main' program, not its sub-windows?

 

--

Terry, East Grinstead, UK

 

No one know the answer to that please?

 

--

Terry, East Grinstead, UK

Link to comment
Share on other sites

It depends on the program that you are running the macro in. It is possible that the child (sub) window is actually a control, in which case, Macro Express will not resize it as there is no way to resize a control. If the child window is a separate window, than it should be able to resize it without any problems. Unfortunately, in your case, it sounds like it is a control.

Link to comment
Share on other sites

It depends on the program that you are running the macro in. It is possible that the child (sub) window is actually a control, in which case, Macro Express will not resize it as there is no way to resize a control. If the child window is a separate window, than it should be able to resize it without any problems. Unfortunately, in your case, it sounds like it is a control.

 

OK, thanks anyway Jason.

 

I've now therefore abandoned hope of that approach. And I didn't try the Control route as I've never had any success with that, apart from the demo programs like Notepad.

 

--

Terry, East Grinstead, UK

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...