Brother Gabriel | 9 Dec 22:11 2008
Picon

What is the "open with" parameter?

Hi all!

I set a special-list command so that when I win+left click that it opens 
a certain program.  Now that is fine for starting off the program, but 
how do I get that program to recognize that I am clicking on something 
that I want it to open?  Say I am in Explorer or FreeCommander and I 
Win+left click on a file which activates my program (say, notepad), is 
there some parameter I can use to grab the path of the file I am 
clicking on so I can pass it on to the program I want to open it with?  
Does PowerPro have an envionmental variable to represent the path of a 
file clicked in Explorer?  Where is the %1 parameter?

Thanks for your help

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

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)

Brother Gabriel | 9 Dec 22:12 2008
Picon

Re: InDesign Toolbar!

Sorry I couldn't answer earlier; I've had to fight a little with my 
email client, but it works now.

Actually, I thought I tried Format Context =indesign

but I guess I didn't.

Thank you again, Sheri.

Here's another newbies:

Also, how can I prevent the Start Menu from popping up when I use the 
win+key commands in PowerPro?

- 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)
(Continue reading)

Sheri | 10 Dec 15:45 2008
Picon
Picon

Re: What is the "open with" parameter?

--- In powerpro-beginners@..., Brother Gabriel
<brother.gabriel <at> ...> wrote:
>
> Hi all!
> 
> I set a special-list command so that when I win+left click that
> it opens a certain program. Now that is fine for starting off the
> program, but how do I get that program to recognize that I am
> clicking on something that I want it to open? Say I am in
> Explorer or FreeCommander and I Win+left click on a file which
> activates my program (say, notepad), is there some parameter I
> can use to grab the path of the file I am clicking on so I can
> pass it on to the program I want to open it with? 
>
> Does PowerPro have an envionmental variable to represent the path
> of a file clicked in Explorer? Where is the %1 parameter?

If you install context menu support (see the setup dialog in
configure), you can have a context command list with entries that will
run a given program for select file(s). Then you can use the variable
_file_ to represent the most recently right-clicked file.

Regards,
Sheri

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

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

(Continue reading)

Sheri | 10 Dec 17:24 2008
Picon
Picon

Re: What is the "open with" parameter?

--- In powerpro-beginners@..., "Sheri"
<silvermoonwoman <at> ...> wrote:
>
> --- In powerpro-beginners@..., Brother Gabriel
> <brother.gabriel <at> > wrote:
> >
> > Does PowerPro have an envionmental variable to represent the path
> > of a file clicked in Explorer? Where is the %1 parameter?
> 
> If you install context menu support (see the setup dialog in
> configure), you can have a context command list with entries that
> will run a given program for select file(s). Then you can use the
> variable _file_ to represent the most recently right-clicked
> file.

You might also want to look at Menu Folder command. It has the
facility to run a configured command for a clicked file. You could
present a menu of possible files to open (in the app associated with
your hotkey) and open the one clicked.

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)

bob.poindexter | 12 Dec 08:55 2008
Picon

Access to folders in Explorer

What would be the best way to access some most often used folders in
Windows Explorer? When Explorer opens is there a way to have a bar or
menu appear and then direct the open window to various folders?

It seems the use of caption names is no help because Explorer captions
change all the time according to the folder.

I have read through the help files, and there is alot of information,
but I can't get my head around it. 

Thanks for any help.

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

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)

Carroll Robbins | 12 Dec 11:59 2008

Re: Access to folders in Explorer

In PowerPro-Beginners, "bob.poindexter"
<bob.poindexter@...> wrote,
on Fri, 12 Dec 2008 07:55:23 -0000:

>What would be the best way to access some most often used folders in
>Windows Explorer? When Explorer opens is there a way to have a bar or
>menu appear and then direct the open window to various folders?

This is what I do. I have a bar at the top of my screen that shows on bump
at the screen top. There is a button for Windows Explorer on the bar. Left
mouse click shows a menu of recently opened folders sorted by name. Right
click shows a menu of recently opened folders sorted by last accessed.
Middle click shows a manually constructed menu of popular folders. Clicking
a folder name in the menu opens it in Windows Explorer. The hotkey w+F10
also does Menu ShowFile "Popular Folders". "Popular Folders.txt" is a txt
file that is shown as a menu of Popular Folders that I created in the
folder with my pcf file.

The button left click command is "Menu Explorer", the right is "Menu
Explorer LastAccessed", and the middle is 'Menu ShowFile("Popular
Folders.txt")'.

To setup PowerPro to track the most recently opened folders: Open Configure
PowerPro. On the Setup tab tick "Track explorer...". Click "Advanced
setup...". On the Limits tab set the desired number for "Maximum number of
entries to show in *Menu Explorer tracking menu" (I use 40).

>Thanks for any help.

You're welcome.
(Continue reading)

bob.poindexter | 13 Dec 05:36 2008
Picon

Re: Access to folders in Explorer

Hi Carroll,
thanks very much for the advice, it's very helpful.

--- In powerpro-beginners@..., Carroll Robbins
<carrollrobbins <at> ...> wrote:
>
> In PowerPro-Beginners, "bob.poindexter" <bob.poindexter <at> ...> wrote,
> on Fri, 12 Dec 2008 07:55:23 -0000:
> 
> >What would be the best way to access some most often used folders in
> >Windows Explorer? When Explorer opens is there a way to have a bar or
> >menu appear and then direct the open window to various folders?
> 
> This is what I do. I have a bar at the top of my screen that shows
on bump
> at the screen top. There is a button for Windows Explorer on the
bar. Left
> mouse click shows a menu of recently opened folders sorted by name.
Right
> click shows a menu of recently opened folders sorted by last accessed.
> Middle click shows a manually constructed menu of popular folders.
Clicking
> a folder name in the menu opens it in Windows Explorer. The hotkey w+F10
> also does Menu ShowFile "Popular Folders". "Popular Folders.txt" is
a txt
> file that is shown as a menu of Popular Folders that I created in the
> folder with my pcf file.
> 
> The button left click command is "Menu Explorer", the right is "Menu
> Explorer LastAccessed", and the middle is 'Menu ShowFile("Popular
(Continue reading)

Brother Gabriel-Marie | 29 Dec 23:31 2008

how to caption an mdi window?

Hello all!
I am guessing that Mrs. Sheri reads all of the beginner mail! God bless her!
Well, here we go.
I have a Powerpro toolbar that shows (automatically by context) for Photoshop and Indesign.
I want to program a button to size one of those program's document windows - now, I don't mean the main program window, but I do mean the mdi window.  I can grab them with a window-handle number, but the window-handles change all the time.  I can't seem to get them with their window class or title text, and the PowerPro "error if no such window" option turns up the error in either case.
How can I do this?

Thanks!
God bless.
- Brother Gabriel-Marie

__._,_.___

PowerPro can be found here: http://www.ppro.org/
and here: http://ppro.pcrei.com/



Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___
Sheri | 30 Dec 16:56 2008
Picon
Picon

Re: how to caption an mdi window?

--- In powerpro-beginners@..., Brother Gabriel-Marie
<brgabriel <at> ...> wrote:
> 
> I have a Powerpro toolbar that shows (automatically by context)
> for Photoshop and Indesign. I want to program a button to size
> one of those program's document windows - now, I don't mean the
> main program window, but I do mean the mdi window. I can grab
> them with a window-handle number, but the window-handles change
> all the time. I can't seem to get them with their window class or
> title text, and the PowerPro "error if no such window" option
> turns up the error in either case.

I believe you will need to reference the handle of the child window
you want to target. You can use Win.ChildHandleList for the main
program to get a space separated list of all the child windows. If you
have a document type class (check the window with WindowInfo or other
app such as Windowse) you can limit the list from Win.ChildHandleList
to handles of that class. Then the first "word" of the list will be
the instance of that class most recently used.

Or you can use Win.HandleFromPoint(xmouse, ymouse) to get the handle
of the window under the mouse. If you use Win.HandleFromPoint, you
will probably need to run your code from a hotkey, not a button,
because the mouse position would need to be over the document window
(not over a bar button). It could be done from a bar button, but you'd
need more code, e.g., to tell yourself to move the mouse over the
document.

Might be easier to get it working with a script that is run by your
bar button or hotkey than trying to work it out in the command block
of a bar button or hotkey on the configuration screen.

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:
    mailto:powerpro-beginners-digest@... 
    mailto: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/


Gmane