Gorkde Posted September 29, 2015 Share 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 Link to comment Share on other sites More sharing options...
water Posted September 29, 2015 Share 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 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted September 29, 2015 Moderators Share Posted September 29, 2015 Or, like this with ShellExecute:ShellExecute("chrome.exe", "--start-maximized") "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
water Posted September 29, 2015 Share 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 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
Gorkde Posted September 29, 2015 Author Share 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)?. Link to comment Share on other sites More sharing options...
water Posted September 29, 2015 Share Posted September 29, 2015 Why did you drop -start-maximized? My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
Gorkde Posted September 29, 2015 Author Share Posted September 29, 2015 it seems to just open a maximized window bu I need fullscreen without Bars and so on Link to comment Share on other sites More sharing options...
water Posted September 29, 2015 Share Posted September 29, 2015 Then please check the web for chrome and command line parameters. My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
Gorkde Posted September 29, 2015 Author Share 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 Link to comment Share on other sites More sharing options...
Gorkde Posted September 29, 2015 Author Share 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? Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted September 29, 2015 Moderators Share 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) "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now