Jump to content

msg box dont appear?


au3scr
 Share

Recommended Posts

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
Link to comment
Share on other sites

  • Moderators

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.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...