Sign in to follow this  
Followers 0
au3scr

msg box dont appear?

2 posts in this topic

hi

can anyone say why msg box dont appear ?

If Wallpapers=YES then it works nicely , but if Wallpapers=NO then i dont see msg box

Func wallpaperset ()
    $wallpaperallowordeny = FileReadLine (@ScriptDir & "\settings",17)
    If $wallpaperallowordeny = "Wallpapers=YES" Then
        $path = FileOpenDialog("Select wallpaper:","", "(*.*)")
      If not @error then GUICtrlSetImage ($pic, $path)
        If $wallpaperallowordeny = "Wallpapers=NO" Then
            MsgBox  (64,"Not allowed","You do not have permission")
EndIf
EndIf
EndFunc

Share this post


Link to post
Share on other sites



hi

can anyone say why msg box dont appear ?

If Wallpapers=YES then it works nicely , but if Wallpapers=NO then i dont see msg box

Func wallpaperset ()
    $wallpaperallowordeny = FileReadLine (@ScriptDir & "\settings",17)
    If $wallpaperallowordeny = "Wallpapers=YES" Then
        $path = FileOpenDialog("Select wallpaper:","", "(*.*)")
      If not @error then GUICtrlSetImage ($pic, $path)
        If $wallpaperallowordeny = "Wallpapers=NO" Then
            MsgBox  (64,"Not allowed","You do not have permission")
EndIf
EndIf
EndFuncoÝ÷ Ùh­Ø^Á¬¶'byØ­v¨ºÇjx¬²ç¡z·°Ør¢êÈ~ËZµéا²'^¶¨¶«!û-jצz{mìj}ýµº-·­®ç·Ý«­¢+Ùչݱ±ÁÁÉÍÐ ¤($ÀÌØíݱ±ÁÁɱ±½Ý½É¹äô¥±I1¥¹¡MÉ¥ÁѥȵÀìÅÕ½ÐìÀäÈíÍÑÑ¥¹ÌÅÕ½Ðì°Äܤ(%%ÀÌØíݱ±ÁÁɱ±½Ý½É¹äôÅÕ½Ðí]±±ÁÁÉÌõeLÅÕ½ÐìQ¡¸($$ÀÌØíÁÑ ô¥±=Á¹¥±½ ÅÕ½ÐíM±Ðݱ±ÁÁÈèÅÕ½Ðì°ÅÕ½ÐìÅÕ½Ðì°ÅÕ½Ðì ¨¸¨¤ÅÕ½Ðì¤($%%9½ÐÉɽÈQ¡¸U%
ÑɱMÑ%µ ÀÌØíÁ¥°ÀÌØíÁÑ ¤(%±Í%ÀÌØíݱ±ÁÁɱ±½Ý½É¹äôÅÕ½Ðí]±±ÁÁÉÌõ9

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0