Community Question

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 EZ Builder.
Steve S

Code:

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

thetechguru
Commented August 2015
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
JustinRatliff
Commented August 2015
From a command line you could use -k to tell Internet Explorer to open full screen. This does not work directly in EZ-Builder script as you can't pass attributes, but you could create a .bat batch file with the following code:

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 EZ-Builder in your script you would run the batch file like so:

Code:


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



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

Steve S
Commented August 2015
Thanks Justin,
I am @campground w/phone only.
Will try later this weekend.
So I can call sky cam w/batch from ez builder using -k for full screen, and use my sleep and ending commands in ez builder?
Thanks
JustinRatliff
Commented August 2015
Yes indeed. You're welcome. I hope it gives the screen view you want.
Steve S
Commented August 2015
Justin,
Yes, it shows the full view and works great.
I have not done a batch file in many years.
Thanks,
Steve S
Question
AvatarSteve S
Asked on Wednesday, August 19, 2015