Gorkde

Start chrome full screen and open url

11 posts in this topic

#1 ·  Posted (edited)

Got a remote that uses autioitscript to control windows.

I need to start chrome full screen and open an url on keypress but since I cant figure out how to do it.

 

I tried 

Run("C:\Dokumente und Einstellungen\Gorkde\Lokale Einstellungen\Anwendungsdaten\Google\Chrome\Application\chrome.exe", "--start-maximized")

but as soon as I enter anything in the second "" it doesn't open chrome at all (without it it does).

Also I dont know how to also open a url on start and I dont know if start-maximized is fullscreen

 

Any help?

Edited by Gorkde

Share this post


Link to post
Share on other sites



You are passing "--start-maximized" as second parameter to Run. 

Put everything into the first parameter. 


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

Or, like this with ShellExecute:

ShellExecute("chrome.exe", "--start-maximized")

 


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

It seems you simply have to pass the URL to open as last parameter. 


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

ok,

Run("C:\Dokumente und Einstellungen\Gorkde\Lokale Einstellungen\Anwendungsdaten\Google\Chrome\Application\chrome.exe -kiosk http://youtube.com/tv", "")

 

opens chrome and the URL but doesnt open fullscreen any more ideas about fullscreen (normally F11 keypress)?. 

Share this post


Link to post
Share on other sites

Why did you drop -start-maximized?


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

it seems to just open a maximized window bu I need fullscreen without Bars and so on

 

Share this post


Link to post
Share on other sites

Then please check the web for chrome and command line parameters. 


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

ok, got it thanks for your help!
The problem was it just opens in fullscreen when you have no other chrome instance open already.

Run("C:\Dokumente und Einstellungen\Gorkde\Lokale Einstellungen\Anwendungsdaten\Google\Chrome\Application\chrome.exe --start-fullscreen http://youtube.com/tv", "")

you can use -kiosk but then you need ALT F4 to close it

 

Share this post


Link to post
Share on other sites

Ok another Question:

Is it possible to somehow open it with the first Keypress and close it with another press at the same key?

Share this post


Link to post
Share on other sites

Look at HotKeySet in the help file. One function to launch the application, and another to close it (or one function - launch if not exist and close if exist, if you're feeling bold) 


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now