How do you get a script to run a program maximized when starting it?
I cannot get a program to open the way I normally open it when
openning it with a powerpro command... why?

for example the script below will not open fireworks maximized:

; assumes only one instance of Fireworks.exe at a time
 local caption="=Fireworks"

 if( not anywindow(caption) )do
; we get here when fireworks isn't running

do("Fireworks")

  ; give fireworks up to 2000 ms to start
  wait.for( 2000,anywindow(caption) )

endif

; fireworks should be running at this point
do("keys {to ^"++caption++"}^n{w2}{enter}{w2}^v")


-- 
John



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