Thanks Karen, that worked a treat. Well, I didn't try it in the script file, but
copied and pasted the code snipet (minus the local line) into the extra commands
box, and replaced the iDesk with the desknum and it's working great.

This power-pro is so cool, but not too cool. We don't want to make anyone think
they should be selling this product ;)

Regards

Dave

Quoting "Karen J. Bowen" <[EMAIL PROTECTED]>:

>
> Dave wrote:
>
> >What I want to do is, if the vdesk is desk number 1, I want to desktop icons
> >displayed... for anyother desk, I don't want icons. So it's a simple
> if...then
> >scenario. So how do I do it?
> >
> Hi Dave,
>
> I'm going to have a go here, can someone correct me if I'm wrong
> please?  (Still learning...)
>
> If you put the following in a script, and save it as
> "ToggleDeskIcons.powerpro" in your PPro scripts directory, then you can
> either call it by itself when you want to manually toggle the icons with
> the command:
>
> .ToggleDeskIcons
>
> (either attached to a button or from another script)
>
> To include the toggle in your current Next/Prev buttons, just add the
> same command ".ToggleDeskIcons" (note the period at the start) into the
> "Enter More Commands" box.
>
> Here's the script:
>
> ------------
> ; ToggleDeskIcons.powerpro
>
> Local iDesk = desknum
>
> if (iDesk == 1) do
>     Desktop.ShowIcons
> else
>     Desktop.HideIcons
> endif
>
> ------------
>
> I'm not sure about how to implement that entirely in the config.
> dialog... someone else would have to advise.
>
> Hope that helps,
> Karen
>
>
>
>
>
> Attention: PowerPro's Web site has moved: http://www.ppro.org
> Yahoo! Groups Links
>
>
>
>
>
>
>
>





------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/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/
 



Reply via email to