If this gives you the result you want, then maybe add to your 
Scheduler+Startup commandlist:

Global StartupDir = currentdir

These are the only variables I know that can give directory info for 
a window:

WIN.exepath(cl)
WINDOW("exefullpath",cl)
currentdir
pprofolder

These can also be useful:
scriptfolder
scriptpath, if set by user

currentdir an old windows function that Bruce is getting access to 
and for powerpro will change as you access other windows functions.


Ted


> I need to findout the folder from which powerpro is launched.
> this is my current recipe
> 
> local x=win.handle("active")
> win.show("=powerpro")
> win.debug(currentdir)
> win.show(x)
> 
> it works but it isn't ideal because it's temporarily steeling
> focus from the active window. Any suggestions?
> 
> I though I could use win.showna("=powerpro") because the help 
> file says "s = currentdir path to working folder of current 
> foreground window" and I took that to literally mean the 
> "foreground" window, not the "active" window, but it really is 
> the active window... too bad





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/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