Normal
I still use a vbscript to launch QT, but with a slight modification to what I posted last year. Now I use the SendKey method to send the "force to fullscreen" hotkey in QT so that the video automatically switches to fullscreen upon launch. Here is my script:Set oArgs = WScript.ArgumentssFilePath = oArgs(0)Set oShell = CreateObject("WScript.Shell")If InStr(1, sFilePath, ".M4V", 1) > 0 Then iRC = oShell.Run("""" & sFilePath & """") iRC = oShell.AppActivate("QuickTimePlayerMain") WScript.Sleep 5000 oShell.SendKeys "^f" Else iRC = oShell.Run("""" & sFilePath & """")End IfWscript.Quit iRC
I still use a vbscript to launch QT, but with a slight modification to what I posted last year. Now I use the SendKey method to send the "force to fullscreen" hotkey in QT so that the video automatically switches to fullscreen upon launch. Here is my script:
Set oArgs = WScript.Arguments
sFilePath = oArgs(0)
Set oShell = CreateObject("WScript.Shell")
If InStr(1, sFilePath, ".M4V", 1) > 0 Then
iRC = oShell.Run("""" & sFilePath & """")
iRC = oShell.AppActivate("QuickTimePlayerMain")
WScript.Sleep 5000
oShell.SendKeys "^f"
Else
End If
Wscript.Quit iRC