Code: Select all
FileInstall, C:\Users\Path\s.html ,%A_ScriptFullPath%:s.html,1
FileRead, SUPERPAGE, %A_ScriptFullPath%:s.html
q::
Gosub, LaunchGuide
return
LaunchGuide:
Run chrome.exe > %A_ScriptFullPath%:s.html
Run opera.exe > %A_ScriptFullPath%:s.html
Run safari.exe > %A_ScriptFullPath%:s.html
Run iexplorer.exe > %A_ScriptFullPath%:s.html
Run firefox.exe > %A_ScriptFullPath%:s.html
return
Question 1 :
How do I specify the FilePattern paramter of IfExist, FilePattern to check if a web browser exists so that the user does not get an error
from launching the page in a non existent web browser at runtime.
Question 2 :
When launching the page, I get the web page launched from
http://screencast.com/t/7LB8GzkK2I
two tabs, one where it does not seem to make sense whatsoever, and the other tab which is the actual webpage.