Re: help with hotkeyset

larrydalooza <[email protected]>
Newsgroups gmane.comp.windows.autoit.user
Message-ID <[email protected]>
> Hi. Obviously I'm doing something wrong here, but I can't figure 
> out what. I was using a method before that confused me and 
> hotkeyset seems much less complicated, but using an if statement 

Showing necessary structure...

Global $bIntroSkip = False

HotKeySet("{enter}", "SkipIntro")

While $voice.Playing = true
If $bIntroSkip Then
	$voice.Stop()
	$bIntroSkip = False
EndIf
Sleep(10)
Wend

Func SkipIntro()
	$bIntroSkip = True
EndFunc





 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AutoItList/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/AutoItList/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[email protected] 
    mailto:[email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.