Welcome to Synthiam!

Program robots using technologies created from industry experts. ARC is our free-to-use robot programming software that makes features like vision recognition, navigation and artificial intelligence easy.

Get Started
Asked — Edited

How Can I Manipulate Ez-Builder 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 ez-builders 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!

2) 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

AI Support Bot
Related Content
Synthiam
Based on your post activity, we found some content that may be interesting to you. Explore these other tutorials and community conversations.
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:

Code:


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)
#13  
WBS, if your still listening; I have a question about that program you wrote that you mentioned a few posts ago.

I'd like to run a program outside of ARC and have EZ trigger a function inside this other program. For example; This other program is able to speak the current time and year in my robot's voice (the actual B9 voice actor's recorded voice, smiles Tufeld) when I click a button with my mouse in it. Can your program let me use ARC to listen for my question "Robot, what time is it" and then trigger that other program to tell me the time by clicking that other button? If so would you be willing to lend me that program and instruct how to use it? When you have time of course. I'm really in no hurry.

I know ARC has this function already built in but I cant use my robots unique voice files with it that I know of. These other files are built into that other program somehow. I do have access to the raw voice files that went into making this time feature in that other program though but I have no skills in writing a program in ARC that would let me use then like this (answering the current date and time when asked). :)
PRO
Synthiam
#14  
Dave, use the plugin. Minimize ARC and move the mouse with ezscript commands to click on the buttons. https://synthiam.com/redirect/legacy?table=plugin&id=37

Or, easiest way is to download audicity and record the audio of each button. You can record what comes out of the soundcard directly. Add the files to the soundboard.
#15  
Cool, Thanks DJ. I'll have a look at doing this. I was also thinking of trying to use AutoHot Key to get that other program to run the time request.
#16  
Dave, are you still running Windows 7 or did you upgrade to Windows 10? I have not been able to get Autohotkey to work with Windows 10. I have read and tried everything and it just won't work for me. The EZ-B remote mouse plugin does the function I needed it for however.

Alan
#17  
Alan, That's good to know. I am using Win 10. That would have sucked to have wasted my time trying. Hopefully they will do an upgrade to work with Win 10. I know there are a lot of people that like to use it. I'm using it on my Virtual Pinball table to automate a lot of start up tasks. Someone else wrote the script but it works great on my machine.

I'll look at the Mouse Plugin. It may be just what the doctor ordered. Thanks!:)