Sign in to follow this
Followers
0
-
Similar Content
-
By ademon
Hi. I can open the editor with out problems but I can not compile because it is placed on another partition diferent from C.
Can you provide an update of this bug?
-
By lenclstr746
Hi guys,
Some functions of my script are running slowly. Very slow. What is the reason?
My Code:
<snip>
-
By BogdanNicolescu
While 1 / / / A whole bunch of codes found in help and here: https://www.autoitscript.com/autoit3/docs/ / / / WEnd OR:
Â
HotKeySet("{ESC}", "Terminate") While 1 MouseClick("Right",674,422) MouseClick("Left",673,447) Sleep(2000) / / / A whole bunch of codes found in help and here: https://www.autoitscript.com/autoit3/docs/ / / / MouseClick("Left",675,339) SLeep(3000) WEnd Func Terminate() Â Â Exit 0 EndFunc Â
Sorry if i should't let this here to be found by newbies like me -.-'
-
By nacerbaaziz
Hello all
I found this function in the Internet
It is to play audio files from the compiled script
I did not understand just one thing on this function
func play($name, $wait = 0) local Const $SND_RESOURCE = 0x00040004 local Const $SND_ASYNC = 1 ; Play the file - the script will pause as it sounds if $wait = 0 then DllCall("winmm.dll", "int", "PlaySound", "str", $name, "hwnd", 0, "int", BitOR($SND_RESOURCE, $SND_ASYNC)) else DllCall("winmm.dll", "int", "PlaySound", "str", $name, "hwnd", 0, "int", $SND_RESOURCE) endIf return 1 endFunc What I did not understand was this variable
local Const $SND_RESOURCE = 0x00040004 I know that this variable is contains the resource name
But what if I want to change the name of the resource what i'll do?
can i do that?
Thanks in advance
Â
-
By krasnoshtan
Hello forum users!
At some point I had a need to restart my script. Is it possible to do this with autoit or do I need to connect additional scripts like .cmd or .bat?
For example: i have only script.au3 and it's running. Wich code shoud i use to exit from the script and start it again?
-