UBTECH Alpha Servos UBT-12HC icon UBTECH Alpha Servos UBT-12HC Control UBTECH Alpha UBT-12HC smart servos via ARC using EZ-B v4/IoTiny UART, assign virtual ports, set baud, custom bits and position mapping. Try it →
Asked — Edited
Resolved Resolved by fredebec!

Calling Skycams From ARC

I wanted to bring up skycams after directing my robot to show them. The following code brings up the skycam I want, but I would like it to scroll down 2 clicks, and close out after a time period, returning to ARC. Steve S

$ISUcam = "https://www.cinewsnow.com/weather/skywatch-cameras/illinois-state";
Browser($ISUcam)
say("I have opened a browser on your computer to I S U")
sleep(3000)
$attributes = "/F /IM dllhost.exe"
sleep(3000)
Exec( "taskkill", $attributes )

ARC Pro

Upgrade to ARC Pro

Stay at the forefront of robot programming innovation with ARC Pro, ensuring your robot is always equipped with the latest advancements.

#1  

You need to change the "dllhost.exe" part to the name of your browser. For example:


$attributes = "/F /IM firefox.exe"
#2  

WBS000001, Thank you for responding. I tried $attributes = "/F /internet-explorer.exe" I think we are close, but sure about exact wording. Steve S

#3  

@SteveS, the exact name of the application is: iexplore.exe

#4  

This is difficult because 2 ARCs helped me, thank you both. fredebec gave me the exact wording. Maybe Ez Robot can have an option for 2 that helped?

#6  

Is there any way to have the script scroll down 2 clicks to slightly increase view? Steve S

#7  

You would need to figure out how to get a command to trigger the down scroll button for the camera, if thats the way the way the control works. You could make ARC open the link the down button has, though it could cause other problems. Try and see.

#8  

@Steve, I think you could use AHK (autohotkeys) to scroll down the IE window. There is keys for "mouse scroll down" or "keyboard down" (https://ahkscript.org/docs/KeyList.htm). Rich is the expert of AHK, and I think you may find some examples in some of his posts by searching in the forum.