Hello Me You Posted March 10, 2007 Posted March 10, 2007 How can I attach a video (*.wmv) to the object? #include <GUIConstants.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("AForm1", 633, 447, 195, 143) $Obj1 = ObjCreate("WMPlayer.OCX.7") $Obj1_ctrl = GUICtrlCreateObj($Obj1, 72, 72, 192, 192) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd Random
Will66 Posted March 11, 2007 Posted March 11, 2007 (edited) bump...uiMode="none" or .uiMode="full".#include <GUIConstants.au3>#Region ### START Koda GUI section ### Form=$Form1 = GUICreate("AForm1", 633, 447, 195, 143)$Obj1 = ObjCreate("WMPlayer.OCX.7")$Obj1_ctrl = GUICtrlCreateObj($Obj1, 72, 72, 400, 400)GUISetState(@SW_SHOW)#EndRegion ### END Koda GUI section ###With $Obj1.uiMode="full" ;.autoStart(True) .URL="C:\Documents and Settings\Will\My Documents\My Videos\zt_awaypull_hilite.avi" EndWithWhile 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitchWEnd Edited March 11, 2007 by Will66
Hello Me You Posted March 11, 2007 Author Posted March 11, 2007 I will check it when I go home and see if it is working. Thank you anyway. Random
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