--- In [email protected], "brucexs" <[EMAIL PROTECTED]> wrote: > > > > Format > > > contextif > > > (any expression in parentheses) > > > > Thanks Bruce. Being a newbie...I can't figure out the syntax and am > > having difficulty finding documentation on the same. Basically I'm > > trying to display my bar when the window caption is "Save a > Copy..." AND > > when the program is AcroRd32. Any help in the actual syntax or > directing > > me to documentation would be greatly appreciated. > > > Its an expression so you'd have to wade through all the documents on > what an expression is, or look through the scripting tutorial for > similar info. If the caption is exactly "Save a Copy...", then > something like > format > contextif > (caption=="Save a Copy..." && exefilename=="AcroRd32") > > caption and exefilename are explained under functions in help > > Warning: don't try the above until you are sure that expression is > typed in right and will work. I suggest you start with a button > with the label > *info expr(caption=="Save a Copy..." && exefilename=="AcroRd32") > > The label should be show as 1 when you want the bar to show and zero > otherwise. Once thisi s working, then copy the stuff in brackets to > a new button with the format contextif command. >
Works perfectly. Thanks Bruce! Dave ------------------------ Yahoo! Groups Sponsor --------------------~--> Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/JV_rlB/TM --------------------------------------------------------------------~-> Attention: PowerPro's Web site has moved: http://www.ppro.org Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/power-pro/ <*> 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/
