--- In [email protected], "majesticartz" <[EMAIL PROTECTED]> wrote:
>
> I love the "Switch to if Active" setting on Command Lists when
> running a file.
> 
> Is it possible to place this option in a powerpro commandline
> argument? 
> 
 
You could easily use the command line to run a script that is passed
the full path to the exe. For example, with mystuff.powerpro stored in
the scripts folder under the location of your pcf file.

Content of myscript.powerpro:
Function ShoworRun(fname)
local ename=file.name(fname)
if (visiblewindow("="++ename)) do
  win.show("="++ename)
else
  do(fname)
endif

Content of command line:
[EMAIL PROTECTED](?"C:\Program Files\InDesign\InDesign.exe")

Regards,
Sheri

Reply via email to