Gorkde 0 Report post Posted September 29, 2015 (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 September 29, 2015 by Gorkde Share this post Link to post Share on other sites
water 1,771 Report post Posted September 29, 2015 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 - WikiOutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example ScriptsExcel - Example Scripts - WikiWord - WikiPowerPoint (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
JLogan3o13 1,191 Report post Posted September 29, 2015 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
water 1,771 Report post Posted September 29, 2015 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 - WikiOutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example ScriptsExcel - Example Scripts - WikiWord - WikiPowerPoint (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
Gorkde 0 Report post Posted September 29, 2015 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
water 1,771 Report post Posted September 29, 2015 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 - WikiOutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example ScriptsExcel - Example Scripts - WikiWord - WikiPowerPoint (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
Gorkde 0 Report post Posted September 29, 2015 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
water 1,771 Report post Posted September 29, 2015 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 - WikiOutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example ScriptsExcel - Example Scripts - WikiWord - WikiPowerPoint (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
Gorkde 0 Report post Posted September 29, 2015 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
Gorkde 0 Report post Posted September 29, 2015 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
JLogan3o13 1,191 Report post Posted September 29, 2015 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