--- In [email protected], "brucexs" <[EMAIL PROTECTED]> wrote:
>
> > 
> > Let me clarify my question a little. I have 6 vdesks. I would like to
> > pin a specific program to 4 of the 6 desktops. Is this even possible?
> >
> 
> I cannot think of a direct way to do it, but possibly you could use 
> the "run command list after switching" feature to run a command list 
> which checked to see which desktop was active, and hid the window if 
> you did not want it to appear.
>

I think I have a way to make it work but I just can't get the vdesk
moveall function to work.

In my button that switches between desktops I added the additional
command:

*Script Assign oldDeskName = deskname

I then created a command list that gets called after switching
desktops. In the command list I can use win.debug(oldDeskName) and it
does print the name of the previous vdesk correctly. Therefore I
thought it would be easy enough to call a script that does something
like this:

if (deskname != "ITS Summary") && (deskname != "ITS Entry") do
  vdesk moveall oldDeskName deskname *Notepad*
endIf

The above script runs but the moveall does not work for some reason. I
have a notepad session open on the old desktop but it doesn't get
moved to the new desktop. 

Any ideas.





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