au3scr Posted February 27, 2008 Share Posted February 27, 2008 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 More sharing options...
Moderators SmOke_N Posted February 27, 2008 Moderators Share Posted February 27, 2008 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 More sharing options...
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