SureshLnTMfy | 13 May 2010 07:41
Picon
Favicon

Re: How to get actual Virtual Memory size (not vmem)

Thanks for the reply Sheri. But Bigmem Plug-in did not find in the 
PPlugins.zip? Where can I find it?

rgds,

On 05-Apr-10 7:34 PM, Sheri wrote:
> --- In powerpro-beginners-hHKSG33TihhbjbujkaE4pw@...,
SureshLnTMfy<sureshlntmfy <at> ...>  wrote:
>>
>> How to get actual virtual memory used?
>
> Get the bigmem plugin from Files in the main group.
>
> I would think it could be computed with:
>
> bigmem.bigmem("TotalVirtual") - bigmem.bigmem("AvailVirtual")
>
> Regards,
> Sheri
>
>
>
> ------------------------------------
>
> PowerPro can be found here: http://www.ppro.org/
> and here: http://ppro.pcrei.com/Yahoo! Groups Links
>
>
>
>
(Continue reading)

quanticworks | 13 May 2010 19:45
Picon

Re: How to get actual Virtual Memory size (not vmem)

> Where can I find it?

http://tech.groups.yahoo.com/group/power-pro/files/Plug-ins_and_add-ons/bigmem.zip

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

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/

(Continue reading)

Leland | 15 May 2010 06:01
Picon
Favicon

How to send mouse commands?

I am glad I found a beginners area because I suspect I am doing something stupid.  I am on my second day with
powerpro and love the functionality I have found.  I have learned how to configure bars and menus and work
with virtual desktops.  But I am trying to create a button that sends mouse commands and have been stuck for
over 6 hours.

In the help file I saw the restriction for using mouse command with Vista, which I am on and believe I observed
the constraint.

When the button in a menu is pressed I want to move the mouse to an particular x,y location and have it left
click.  I followed the following steps to implement it.

In the Config dialog and Command Lists tab, I create a new item.
I entered a Name and place the following commands in the bottom list box.
win.mouse("ab 306 474")
win.mouse("lc")
win.mouse("lc")

I do not think I need the second left click but added just to be sure.

When I execute this item, the window gets selected but the button action does not occur.  Does anyone see what
I am doing wrong?

Thanks
Leland

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

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

(Continue reading)

Carroll Robbins | 15 May 2010 06:42
Favicon

Re: How to send mouse commands?

In PowerPro-Beginners, "Leland" <lelandlwp@...> wrote, on
Sat, 15 May
2010 04:01:18 -0000:

>In the Config dialog and Command Lists tab, I create a new item.
>I entered a Name and place the following commands in the bottom list box.
>win.mouse("ab 306 474")
>win.mouse("lc")
>win.mouse("lc")
>
>
>I do not think I need the second left click but added just to be sure.
>
>
>When I execute this item, the window gets selected but the button action does not occur. Does anyone see
what I am doing wrong?

You are trying to use win.mouse with Vista. You need to use win.sendmouse
instead. This is covered in Help. See "Help -> Index -> windows vista".
win.sendmouse("ab 306 474")
win.sendmouse("lc")
--

-- 
Carroll B. Robbins, Jr.

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

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

leland hambley | 15 May 2010 07:37
Picon
Favicon

Re: How to send mouse commands?



works like a champ!  I knew it would be something simple. Thank you very much Carroll.

From: Carroll Robbins <carrollrobbins-xwVYE8SWAR3R7s880joybQ@public.gmane.org>
To: powerpro-beginners-hHKSG33TihhbjbujkaE4pw@public.gmane.org
Sent: Fri, May 14, 2010 9:42:05 PM
Subject : Re: [ppro-b] How to send mouse commands?

 

In PowerPro-Beginners, "Leland" <lelandlwp-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> wrote, on Sat, 15 May
2010 04:01:18 -0000:

>In the Config dialog and Command Lists tab, I create a new item.
>I entered a Name and place the following commands in the bottom list box.
>win.mouse("ab 306 474")
>win.mouse("lc")
>win.mouse("lc")
>
>
>I do not think I need the second left click but added just to be sure.
>
>
>When I execute this item, the window gets selected but the button action does not occur. Does anyone see what I am doing wrong?

You are trying to use win.mouse with Vista. You need to use win.sendmouse
instead. This is covered in Help. See "Help -> Index -> windows vista".
win.sendmouse("ab 306 474")
win.sendmouse("lc")
--
Carroll B. Robbins, Jr.




__._,_.___

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

__,_._,___
Leland | 15 May 2010 08:35
Picon
Favicon

Saving and restoring the mouse

Wow, got a quick answer for my last question and decided to ask this one before I invested six hours trying to
solve.  :-)

I am using Vista and trying to do a simple thing.

I want to save the mouse position, push a button, and restore the mouse.  Tried

win.sendmouse("sa")
win.sendmouse("ab 174 56") 
win.sendmouse("lc")
win.sendmouse("restore")

Get an error message at "store".  I suspect it has to do with not having a short command for restore.  How can I
solve this?  Any suggestions on how I could solve this on my own would be appreciated.

Thanks 
Leland

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

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/

quanticworks | 15 May 2010 10:40
Picon

Re: Saving and restoring the mouse

--- In powerpro-beginners@..., "Leland" <lelandlwp <at> ...> wrote:

> I want to save the mouse position, push a button, and restore the mouse.  Tried
> 
> win.sendmouse("sa")
> win.sendmouse("ab 174 56") 
> win.sendmouse("lc")
> win.sendmouse("restore")
> 
> Get an error message at "store".  I suspect it has to do with not having a short command for restore. 

You are correct, win.sendmessage only accepts two letter forms and in case of "restore" it is "rs" which can
be found in:"win plugin > system actions > sendmouse"

 
> How can I solve this?  Any suggestions on how I could solve this on my own would be appreciated.

You can make it all in one string:

win.sendmouse("sa ab", "mo 174 56", "lc rs") 

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

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 | 15 May 2010 03:12
Gravatar

System RAM Meter

Hello y'all!  I just tried the bigmem.  I have been using Samuri to 
display a running meter of used RAM and CPU in a sort of progress bar.  
It is cute and trim; but I would like to do this with PP instead.  
bigmem seems only to output one static value, but I need a running 
meter.  What do I do?

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

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/

Leland | 16 May 2010 19:18
Picon
Favicon

Suggestions on design of a script.

Been working with PowerPro for a week and amazed by functionality and have a long list of scripts I need to
develop.  I have done a bunch of sample ones and thanks to quanticworks, I have a great set of reference
documents and tutorials.

Because of my limited knowledge of ppro, I would like to see if I can describe the problem I am trying to solve
and if someone would suggested a which parts of ppro I should use.  Basically a rough design.  Sort of
suggestions like - "Use blah to build a blah of windows and then do blah"  I am not asking someone to create it
for me, just give me pointers to the right functionality to use.

Problem:
I am a daytrader trading 5 different contracts.  I have four screens with around 60 windows of different
charts.  It updates second by second.  5 of those windows are order entry window that I need to press a center
button on.  I can write a grep definition of the 5 window captions and I know how to press the button, given a
windowId.  I need a script that identifies all 5 windows and presses the button on all 5.  Performance is an
issue because in fast markets I will run the script every 20 seconds, so it seems like it might be worth
caching the windowIds.

I am an experienced programmer and scripter but new to powerpro.  I absolutely am amazed by the capability of
powerpro and feel like my mind will explode when I think of all the awesome scripts I will write to help my trading.

Thanks,
Leland

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

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/

Carroll Robbins | 16 May 2010 20:08
Favicon

Re: Suggestions on design of a script.

In PowerPro-Beginners, "Leland" <lelandlwp@...> wrote, on
Sun, 16 May
2010 17:18:44 -0000:

>Problem:
>I am a daytrader trading 5 different contracts. I have four screens with around 60 windows of different
charts. It updates second by second. 5 of those windows are order entry window that I need to press a center
button on. I can write a grep definition of the 5 window captions and I know how to press the button, given a
windowId. I need a script that identifies all 5 windows and presses the button on all 5. Performance is an
issue because in fast markets I will run the script every 20 seconds, so it seems like it might be worth
caching the windowIds.

I don't expect performance to be an issue so I would start simple. Windows
are identified by what PowerPro calls a caption list. This can be a regular
expression to match the window caption. Most buttons can be activated by a
keystroke. This is more reliable than using the mouse. You could then just
use 5 key commands with possibly a wait after each command to let widows
catch up.
-- 
Carroll B. Robbins, Jr.

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

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/


Gmane