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 = "http://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

Join the ARC Pro community and gain access to a wealth of resources and support, ensuring your robot's success.

#17  

Ya, I did look in task manager and it said google chrome. Anyway, it's working now. Thanks for your help Alan.

Here's a link to an Abbey Road Skycam I got from Luis awhile ago. http://www.abbeyroad.com/Crossing

#18  

Quote:

Ya, I did look in task manager and it said google chrome

The description field is Google Chrome, but the image name is chrome.exe

/IM is the taskkill flag that says the next item is image name.

Alan

#19  

thetechguru, Still curious about having the screen scroll up. I tried looking at some of files that Rich posted, and AHK information, but no luck. Thanks, Steve S

#20  

AHK would be a good solution, but I have had very poor luck getting it to work consistently on Windows 8. Haven't tried yet on Windows 10.

Alan

#21  

From a command line you could use -k to tell Internet Explorer to open full screen. This does not work directly in ARC script as you can't pass attributes, but you could create a .bat batch file with the following code:


"C:\Program Files\Internet Explorer\IEXPLORE.EXE" -k http://www.cinewsnow.com/weather/skywatch-cameras/illinois-state

For me, the full screen show the whole image of the sky-cam. It's not a scroll down, but shows a better fuller image I think.

In ARC in your script you would run the batch file like so:


Exec("C:\pathofyourfile\yourfilename.bat")

Then use the pause and kill commands you already have in your script.

#22  

Thanks Justin, I am @campground w/phone only. Will try later this weekend. So I can call sky cam w/batch from ARC using -k for full screen, and use my sleep and ending commands in ARC? Thanks

#23  

Yes indeed. You're welcome. I hope it gives the screen view you want.

#24  

Justin, Yes, it shows the full view and works great. I have not done a batch file in many years. Thanks, Steve S