Ontosy Posted January 9, 2012 Posted January 9, 2012 I use: Const $SC_SCREENSAVE = 0xF140, $WM_SYSCOMMAND = 0x112; DllCall("user32.dll", "long", "SendMessage", "hwnd", $hwnd[0], "int", $WM_SYSCOMMAND, "int", $SC_SCREENSAVE, "int", 0x0) to start the screensaver setted. It work normally. But i have compiled a autoit3 script to .scr file. And it not start with code above. Instead it start with: script.scr /s why?
jaberwacky Posted January 9, 2012 Posted January 9, 2012 What does the [boot] section of your System.ini file look like? Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum?
UEZ Posted January 9, 2012 Posted January 9, 2012 As far as I know the default parameter for scr files are /s when explicit parameter is given./c is to call the config menu and /p is the preview screen.Br,UEZ Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ
Ontosy Posted January 9, 2012 Author Posted January 9, 2012 What does the [boot] section of your System.ini file look like? Not have [boot] section in my System.ini file
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