Sheri | 2 Nov 15:15 2009
Picon
Picon

Re: Attn Sheri! How to create global autocomplete?

--- In powerpro-beginners@..., Brother Gabriel-Marie
<brgabriel <at> ...> wrote:
>
> That sounds like an idea. I will have to ponder that for awhile
> till I find the time to defeat the learning curve on both the
> adobe scripts and the powerpro coding... when I get there, I will
> sure see if you are willing to help me. First thing to do then,
> is to learn the Code Accelerator. I am also attempting to learn a
> little adobe scripting. So we'll see where to go from there!
> Thanks for all your help so far. 

In case you are struggling, if you use the CA file format with one line per item, e.g.

from=to
this=that
..etc...

fwiw, the following script would process them all. The last argument, btrialrun, can be set to 1 for testing
purposes. If InDesign is not open, brialrun is automatically set to 1. Either way a log file is kept. If
replacements are processed, it will tell you how may replacements were made for each set of from/to. The
script puts all the from's and to's into a 2d vector by processing the contents of the chgfile with a regular
expression in regex.pcrematchall. It then logs and processes (unless its a trial run) each set in a
powerpro "for" loop.

A sample call to it would be:

.nameofscript <at> IndesignReps(?"C:\path to chgfile\file.txt", 1, 1, 0)

Regards,
Sheri
(Continue reading)

ginnieg23 | 4 Nov 01:11 2009
Picon

How to auto-click QTTabBar tab with mouse hover?

Hi, after alot of time reading the help file 
and trying the demos, I still can't figure out 
how to modify an already existing Windows program. 

I use QTTabBar 1.2.3 Beta5 on XP_Pro_sp3 to modify Windows Explorer, and would eliminate alot of
wrist/finger pain if I could configure PowerPro to auto Left click the folder tabs when I hover over them
with my Logitech mouse. 

Could anyone please help me understand how to configure this? 
Thank you very much ...

------------------------------------

PowerPro can be found here: http://www.ppro.org/
and here: http://ppro.pcrei.com/Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/powerpro-beginners/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/powerpro-beginners/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:powerpro-beginners-digest@... 
    mailto:powerpro-beginners-fullfeatured@...

(Continue reading)

Sheri | 4 Nov 19:42 2009
Picon
Picon

Re: How to auto-click QTTabBar tab with mouse hover?

--- In powerpro-beginners@..., "ginnieg23" <ginnieg23 <at> ...> wrote:
>
> Hi, after alot of time reading the help file 
> and trying the demos, I still can't figure out 
> how to modify an already existing Windows program. 
> 
> I use QTTabBar 1.2.3 Beta5 on XP_Pro_sp3 to modify Windows Explorer, and would eliminate alot of
wrist/finger pain if I could configure PowerPro to auto Left click the folder tabs when I hover over them
with my Logitech mouse. 
> 
> Could anyone please help me understand how to configure this? 
> Thank you very much ...
>

If there is something unique you can detect when the app's folder tabs is under the mouse, you could have a
script constantly testing every few seconds for that condition. When conditions are right, the script
could send a left click to the mouse coordinates.

You could start by using *Exec WindowInfo and see what it says when the mouse is over a folder tab.

Regards,
Sheri

------------------------------------

PowerPro can be found here: http://www.ppro.org/
and here: http://ppro.pcrei.com/Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/powerpro-beginners/
(Continue reading)

ginnieg23 | 5 Nov 12:15 2009
Picon

Re: How to auto-click QTTabBar tab with mouse hover?


Thanks I will try it

--- In powerpro-beginners@..., "Sheri"
<silvermoonwoman <at> ...> wrote:
>
> --- In powerpro-beginners@..., "ginnieg23" <ginnieg23 <at> > wrote:
> >
> > Hi, after alot of time reading the help file 
> > and trying the demos, I still can't figure out 
> > how to modify an already existing Windows program. 
> > 
> > I use QTTabBar 1.2.3 Beta5 on XP_Pro_sp3 to modify Windows Explorer, and would eliminate alot of
wrist/finger pain if I could configure PowerPro to auto Left click the folder tabs when I hover over them
with my Logitech mouse. 
> > 
> > Could anyone please help me understand how to configure this? 
> > Thank you very much ...
> >
> 
> If there is something unique you can detect when the app's folder tabs is under the mouse, you could have a
script constantly testing every few seconds for that condition. When conditions are right, the script
could send a left click to the mouse coordinates.
> 
> You could start by using *Exec WindowInfo and see what it says when the mouse is over a folder tab.
> 
> Regards,
> Sheri
>

(Continue reading)

RG | 5 Nov 23:06 2009
Picon

powerpro google wave

Those of you who are using it or will be using it. I started a public wave for powerpro.
To find it type "with:public powerpro" without the quotes in the google wave search bar :)

------------------------------------

PowerPro can be found here: http://www.ppro.org/
and here: http://ppro.pcrei.com/Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/powerpro-beginners/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/powerpro-beginners/join
    (Yahoo! ID required)

<*> To change settings via email:
    powerpro-beginners-digest@... 
    powerpro-beginners-fullfeatured@...

<*> To unsubscribe from this group, send an email to:
    powerpro-beginners-unsubscribe@...

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Brother Gabriel-Marie | 16 Nov 21:44 2009

Re: Attn Sheri! How to create global autocomplete?

Well, I tried the script you prepared for me; I put it on a button on my 
InDesign PP Toolbar.  But when I click it, it won't run in my IND3, 
instead it starts the old IND2.  Now I tried the script with IND2 open 
and it works in IND2.  The next problem is that it runs the replacements 
on the whole IND document instead of just the selected text or the 
selected story.  Otherwise, however, the script works!

- Brother Gabriel-Marie

------------------------------------

PowerPro can be found here: http://www.ppro.org/
and here: http://ppro.pcrei.com/Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/powerpro-beginners/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/powerpro-beginners/join
    (Yahoo! ID required)

<*> To change settings via email:
    powerpro-beginners-digest@... 
    powerpro-beginners-fullfeatured@...

<*> To unsubscribe from this group, send an email to:
    powerpro-beginners-unsubscribe@...
(Continue reading)

Sheri | 16 Nov 23:58 2009
Picon
Picon

Re: Attn Sheri! How to create global autocomplete?

--- In powerpro-beginners@..., Brother Gabriel-Marie
<brgabriel <at> ...> wrote:
>
> Well, I tried the script you prepared for me; I put it on a
> button on my InDesign PP Toolbar. But when I click it, it won't
> run in my IND3, instead it starts the old IND2. Now I tried the
> script with IND2 open and it works in IND2.

I don't have access to CS3. Try changing this line:

local appRef = com.create_object("InDesign.Application")

to

local appRef = com.create_object("InDesign.Application.CS3")

Try it again with that change.

If it still doesn't work properly in CS3, add this line just under the above line (as altered for CS3):

appRef.ScriptPreferences.Version = 4.0

Try it again.

> The next problem is
> that it runs the replacements on the whole IND document instead
> of just the selected text or the selected story.

One problem at a time but ... does it hurt anything to just let it run on the whole document?

(Continue reading)

Sheri | 18 Nov 15:08 2009
Picon
Picon

Re: Attn Sheri! How to create global autocomplete?

--- In powerpro-beginners@..., "Sheri"
<silvermoonwoman <at> ...> wrote:
>
> 
> One problem at a time but ... does it hurt anything to just let it run on the whole document?
> 

FWIW, I have figured out how to confine it to a selection. Will post revised script if interested.

Regards,
Sheri

------------------------------------

PowerPro can be found here: http://www.ppro.org/
and here: http://ppro.pcrei.com/Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/powerpro-beginners/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/powerpro-beginners/join
    (Yahoo! ID required)

<*> To change settings via email:
    powerpro-beginners-digest@... 
    powerpro-beginners-fullfeatured@...
(Continue reading)

srikat77 | 18 Nov 19:24 2009
Picon

Question about the main default bar

I have added items to the default bar and it stretches horizontally across the screen from left to right.

I want this bar to appear at the current mouse location when a hot key (Win+`) is pressed.

These are my current settings:

1. Unchecked 'Auto show as bar' in 'Command Lists' tab.

2. Created a new entry in 'Key/Mouse' tab to have Win+` HideShow the main bar

In spite of this, the bar is always appearing at the top of my screen.

Please let me know how I can have this bar appear/hide at current mouse location only when the hotkey is pressed.

The current position of the bar is 'Fixed top center'. Should this be something else in this case?

------------------------------------

PowerPro can be found here: http://www.ppro.org/
and here: http://ppro.pcrei.com/Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/powerpro-beginners/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/powerpro-beginners/join
    (Yahoo! ID required)
(Continue reading)

Brother Gabriel-Marie | 18 Nov 18:00 2009

Re: Attn Sheri! How to create global autocomplete?

Well, I tried the script again but it won't work now.  Yesterday I was 
trying to understand how the CustomClipKeys worked and so maybe I messed 
up something somewhere in my pp configuration.  When I run the 
find-replace script now, I get this error (followed by all the errors 
caused by this one...).

ERROR: com.method: Invoke failed

Error occurred near line 72 of script Latin <at> IndesignReps:
            local 
r=appRef.Search(chgVec[i,1],wholeword,casesensitive,chgVec[i,2])

Press Cancel to end all running scripts.

------------------------------------

PowerPro can be found here: http://www.ppro.org/
and here: http://ppro.pcrei.com/Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/powerpro-beginners/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/powerpro-beginners/join
    (Yahoo! ID required)

<*> To change settings via email:
(Continue reading)


Gmane