I use a UDF by @smashly to play a video in a GUI. That works fine for my main monitor.
But when I change the X and Y positions of the GUI (also for the video) to my second or third monitor, the video plays, I can hear the sound of it, but I don't see the video.
I debugged the UDF and checked the Microsoft description for MCI Command Strings which are used in the UDF (docs.microsoft...) - everything is fine, so I got no clue why the video isn't displayed.
The example video:
It would be great when anyone can help .
Is there maybe a other way to play (display videos in GUI)?
Thanks for any suggestion - I'm grateful!
I have a script which executes sleep for a couple of hours then carries out instructions. Does the running AutoIt script prevent the computer from entering sleep mode during this time? If not, is there something I can add to the AutoIt script to keep the computer awake?
Grateful for advice.
I have a program that is read data from the .txt file, since the .txt file is only readable, viewable and editable for the admin user.
But how could I lock it with password, or some other technique that can helps to achieve this?
Thanks for the advanced information.
How can I the trigger the another button functions without waiting the previous function to finish execute?
I couldn't find any relevant topics via google.
Thanks a lot.
I need to use ControlMove() on some controls of a hidden GUI window.
This works properly on a GUI window created with default style, but does not work on a GUI window created with style $WS_OVERLAPPEDWINDOW
func GUItest($bOverlapped) $m = GUICreate("test", 200, 100, -1, -1, $bOverlapped ? $WS_OVERLAPPEDWINDOW : -1) $g = GUICtrlCreateButton("test", 0, 0) ControlMove($m, "", $g, 30, 30) GUISetState() endfunc GuiTest(false) ; button 'test' properly moved to (30,30) GuiTest(true) ; button 'test' not moved and still sitting at (0,0) Any reason for this unexpected behavior ?
Any workaround to fix this ?
Thanks for any help