Asked — Edited

How Can I Manipulate ARC And Other Windows?

Hey guys.

I am currently working on a form of ARC artificial intelligence made in ez-script. I was something I wanted to attempt to show the extent of ARC s capabilities.

1)I want to, however, minimize ARC in EZ-Script while letting the scripts continue to run. Is there already a way to do this? If not, FEATURE REQUEST!

  1. I would also like to find a way to avoid having the "wait for speech" window pop up, and just run in the background. Any way to do this?

Thanks for any replies. This might be a little advanced. Maze


ARC Pro

Upgrade to ARC Pro

ARC Pro is your passport to a world of endless possibilities in robot programming, waiting for you to explore.

PRO
Synthiam
#1  

This is your opportunity to create a plugin:)

#2  

To minimize with a script you can use the Remote Mouse plugin. Determine the position of the minimize button, then do a ControlCommand to go to that position and left click.

I don't have an answer about the wait for speech window.

Alan

#3  

I would love to make a plug in but I know nothing about C#. I need a good learning tool to get up to speck.

PRO
Synthiam
#4  

There's a tutorial that teaches you.

#5  

Yep! But I'm not going to do something if I don't at least understand the basics so that I can do it right the first time! I'm sure you will see stuff coming from me soon. I aspire to make my own program in the future for a custom ez-robot.

#7  

@MazeHorizonTech I have a program I wrote a few years back to do that very thing. I needed to do that, and more, in controlling the comings and goings of any program I so chose (like Notepad, for example). I tried it out with the Exec function in the Script language and it seems to work fine. With Win 7 anyway. You would never actually see the program execute, it would seem as if the ARC script is doing it directly. The operations include Show, Hide, Min (Minimize), Max (Maximize), ShowMin, ShowMax, ShowNormal, Restore, and a few others I don't recall offhand. It can control another Window from an ARC script or control the ARC Window from which it is being used. You could even have multiple ARC windows and get it to only work on a specific one. Not sure why you would do that, but it's possible.

Anyway, If you would like to use it to minimize the EX-Builder program until someone writes a plug-in, let me know and I can attach it to a post along with instructions on how to use it. It's quite simple to use.

PRO
Synthiam
#8  

fiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiine:)

I added that functionality to Remote Mouse plugin here: https://synthiam.com/redirect/legacy?table=plugin&id=37

Example:


ControlCommand("Remote Mouse", WindowMinimize)

sleep(2000)

ControlCommand("Remote Mouse", WindowMaximize)

sleep(2000)

ControlCommand("Remote Mouse", WindowRestore)

sleep(2000)

repeat ($x, 10, 500, 20)

ControlCommand("Remote Mouse", WindowLocation, $x, 50, 500, 500)

sleep(100)

endrepeat

sleep(2000)

ControlCommand("Remote Mouse", WindowMaximize)