> 
> I would appreciate any suggestion.  Thanks.

This is a neat script, although if I can advertise the lasest 
version, you could get rid of the &() with it by using vdesk.switchto
(desknow).

In next beta, I'll try to make your life easier by implementing a 
keyword which returns lists of active desks as a list of lines so 
you could say
desklist=vec.createfromlines(alldesknames)




> 
> contents of the script:
> ; PowerPro script to capture virtual desktop names
> ; The names are used by the Vdesks command list to move active 
window 
> to another desktop
> desklist = vec.create(10)
> desklist[1] = "a"
> ; Store current desktop
> desknow = deskname
> *vdesk switchto Home
> i=1
> desklist[i] = deskname
> ; visit each vdesk in succession and capture its name
> *vdesk next
> for ( i=2 ; i le 9 ; i=i+1 )
>       if ("'&(deskname)" eq "Home" )
>       break
>       desklist[i] = deskname
>       debug '&(i)
>       debug '&(desklist[i])
>       *vdesk next
> endfor
> ; Return to current desktop
> *vdesk switchto '&(desknow)
> desknow = vec.showmenu(desklist)
> *Script Quit



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/JV_rlB/TM
--------------------------------------------------------------------~-> 

 
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