Nice idea! I'm having some problems with the FOLDER actions, they all 
end up showing a powerpro input prompt for the "extraction path". When I 
look at tc_cm.powerpro I notice that ALL your labels (@opposite, etc.) 
don't end with QUIT. You need to add a quit instruction, otherwise 
execution will fall into the next label. For instance:

@label
command 1
command 2
quit

Then, mind the difference between the following two statements (both are 
correct)

if ( condition )
 command

;and

if ( condition ) do
  command 1
  command 2
endif

Put it all together, for instance, rewrite the @opposite label as:

@opposite
; open new tab in opposite pane
if(activewindow("Total Co*")) DO
    Keys {to Total Co*}^+{up}
endif
QUIT

Unfortunately, even with these changes, the folder actions still don't 
work. I'm not sure what the problem is, but probably the statement

if(activewindow("Total Co*")) do

evaluates to FALSE hence keys isn't executed. It may be a timing issue, 
maybe "Total Co*" isn't the active window when the right mouse button is 
released, at least not for a few milliseconds - but I don't know, 
really, what the problem is. Does it work for you?






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