Mentor | 2 Feb 2011 14:34
Favicon

Beginner Needs Help



Hi All,

I been studying the manual in my spare moments for my first year of studying this great tool/language.

The manual is very daunting to even open; it is so big.  I would have liked to see a pointer to which page to start reading it on, at the homepage.  That's probably because I am a bit slow, but a lot of people are put off by big books, when they are not used to studying.

I have done my best to understand it and have found it speeded my work up tremendously with just a few hotkeys and timers.

 

What I am trying to do now is to make a small utility which only works when an Explorer, or any number of similar apps like XYPlorer, are held in some sort of list.  When any of the list members are created or opened, and they get the windows FOCUS, my app is needed to start running, and must run until Explorer or any of the others in that list which were being used, lost focus. 

Then the utility must stop and would restart in the same circumstances, when another of these windows gets the focus.

 

I reckon I could make the small utility to do a task, but this launchy part of the job is mistifying me, although I keep looking back at the manual.  I can't seem to get started with it.

 

Will any nice person give me a few lines of script to get me going?

Thanks in anticipation. 

Mentor Don



__._,_.___

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

__,_._,___
brother.gabriel | 10 Feb 2011 16:54
Gravatar

Re: Beginner Needs Help

Hello! And welcome to powerpro!  I have been using powerpro now for about 2 years and I still use the manual! As
for your "utility", I am not sure from your description what you want to do.  It sounds like you want to run x
program whenever Explorer, XYPlorer are the active window.  What is this x program you want to run; what
does it do? 

> What I am trying to do now is to make a small utility which only works
> when an Explorer, or any number of similar apps like XYPlorer, are held
> in some sort of list.  When any of the list members are created or
> opened, and they get the windows FOCUS, my app is needed to start
> running, and must run until Explorer or any of the others in that list > which were being used, lost focus.
> 
> Then the utility must stop and would restart in the same circumstances,
> when another of these windows gets the focus.

> I reckon I could make the small utility to do a task, but this launchy > part of the job is mistifying me,
although I keep looking back at the manual.  I can't seem to get started with it.
> 
> 
> 
> Will any nice person give me a few lines of script to get me going?
> 
> Thanks in anticipation.
> 
> Mentor Don
>

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

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/

Mentor | 12 Feb 2011 13:17
Favicon

To Sheri :: re notetab {???}



 HI Sheri, 

I read an old Faq where you were engaged in discussing 'notetab' editor with other ppro users; if my memory has not played me wrong.  You gave an example of its being used to make an editor plugin, I believe.

Just ignore the rest of my ravings if I got hold of the wrong end of the stick!

I am interested in `how' we use the pc to do the task of programming, and I have been testing as many free editors as I can in my free time. I have been using PsPad and NotePad++ which are both excellent free editors although both have a few bugs to iron out.

I want syntax highlight colouring and had discounted Notetab quickly as it seemed not to support it.

 

My question is this.  What language is used in notetab, and can one use others; and if so, how to use another.  I read a lot of manuals, and I don't always understand what I read, so if you can shed some light it would be much appreciated. 

 

I understand that our habits change with time, so you may be using a different editor now.  If so I would be interested to know also, what made you change to it, from notetab?

 

I spend most of my days on the pc, so it benefits all of us to find shortcut devices, which mean we have more free time for our family and friends.        

 

Also to share this knowledge to save the time at labour of other people is the hyperion we can all aspire to.  It gives me a warm feeling inside to know I help someone.

 

Any comments, positive or negative are verilly appreciated.

I hope you find time to reply soon.

 

Thanks, Mentor Don

 

 



__._,_.___

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

__,_._,___
brother.gabriel | 14 Feb 2011 02:35
Gravatar

Re: Beginner Needs Help

Dear Mr. Mentor,
Hello!  Sorry I haven't answered you yet; but I haven't forgotten.  Just waiting for a little time to think
about it...

--- In powerpro-beginners@..., "Mentor" <mentordon <at> ...> wrote:
>
> 
> 
> 
> 
> --- In powerpro-beginners@..., "brother.gabriel"
> <brgabriel <at> > wrote:
> >
> > Hello! And welcome to powerpro!
> 
> 
> 
> Hi,
> 
> 
> 
> Thanks for the quick offer of help "brother.gabriel".  I see your name
> cropped up a lot in the forum and faq I looked at.   It is like this. .
> .
> 
> Explorer, or any number of similar apps like XYPlorer, are held
>   in some sort of user list constructed by me, to which I can add an app
> to the list,
> 
>   or I remove one by editing an INI file which I make.  When my program
> runs it should read the ini file into the client list.  I dont know how
> to do that.
> 
> 
> 
> I dont want the program to run constantly, only when these member
> windows of my client list are in focus.  When they lost focus and it is
> taken by desktop background or an app not in this list, it will exit.
> 
> I saw something like WindowHookEvents [bad memory, cant get at the
> manual here to check] which looks like it is the thing to use for this
> detection.
> 
> I must admit I did not understand the manual's explanation.  Maybe a
> simple example would clear that up, and I can think of many things I can
> use it for in the future, and it would be very, very useful to know.
> 
> In this case I want to make a bubble appear at the mouse cursor when it
> passes over the icons of files in my custom extensions filter.  That
> bubble will show a glimse of the TOF under the cursor, c. 120 chars, so
> I can read within without opening the file into a full app.
> 
> 
> 
> Having moved off the file the bubble will be hidden until it is
> activated again by being over another file. I don't intend to remove
> the windows bubble already there which is useful to tell me contents of
> folders and sizes of files when I am up to fast speed and I don't
> have time to look around with my bad eyes for a status bar, or somewhere
> else it may be printed.
> 
> My bubble will be an extra one placed above the original.  When I am on
> the file or inside the bubble with my cursor I want it to stay, and when
> the cursor leaves these I want it to hide.
> 
> I do need a little help, but I want to do most of the coding myself, as
> I am keen to understand the language by doing.
> 
> I downloaded Powerpro about a year ago, and I never script with it as I
> could not see a way to create a window with it [??].  I have been using
> GUI4CLI for that, which is a bit buggy, but it does what I want.
> 
> I just been ticking the powerpro conf forms and dropping stuff on it, to
> get it to work.  I made a hotkey to switch an autosave off /on which
> works in any window.  I do sim. With an autoscroll, and they both
> involve the hotkey on / off of timers to do *keys to the window in
> focus.
> 
> 
> 
> I have made small apps in other languages but not in Ppro yet.
> 
> If you or anyone you know is willing to send me a tiny example of the
> WindowHookEvents, at work to do even a simple task, I should cotton on,
> and be able to sort something out for myself.
> 
> 
> 
> Thanks.  Regards,  Mentor Don
> 
> 
> 
> 
> >
>

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

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/

Sheri | 14 Feb 2011 17:07
Picon

Re: To Sheri :: re notetab {???}

On 2/12/2011 7:17 AM, Mentor wrote:
>
>  HI Sheri,
>
> I read an old Faq where you were engaged in discussing 'notetab' 
> editor with other ppro users; if my memory has not played me wrong.  
> You gave an example of its being used to make an editor plugin, I believe.
>
> Just ignore the rest of my ravings if I got hold of the wrong end of 
> the stick!
>
> I am interested in `how' we use the pc to do the task of programming, 
> and I have been testing as many free editors as I can in my free time. 
> I have been using PsPad and NotePad++ which are both excellent free 
> editors although both have a few bugs to iron out.
>

Hi Mentor,

I use NoteTab (still) supplemented when necessary with PsPad.

> I want syntax highlight colouring and had discounted Notetab quickly 
> as it seemed not to support it.
>

Yes, that's a pretty major missing feature for program coding.  My use 
of NoteTab is not so much for coding except for html (where it has a 
little color coding). My use of NoteTab is for doing transformations on 
text and data. I mastered NoteTab's clipcode "language" and can easily 
create reusable instructions for various tasks.

> My question is this.What language is used in notetab, and can one use 
> others; and if so, how to use another.I read a lot of manuals, and I 
> don't always understand what I read, so if you can shed some light it 
> would be much appreciated.
>

If you're asking about clipcode, it is the unique invention of Notetab's 
author, Eric Fookes.

NoteTab also supports fairly recent versions of PCRE for regular 
expressions (the same engine used in PowerPro's regex plugin as well as 
many other applications).

> I understand that our habits change with time, so you may be using a 
> different editor now.If so I would be interested to know also, what 
> made you change to it, from notetab?
>

I use PsPad quite often, but like you I do find it buggy and while using 
it I've even lost file updates more than once.

> I spend most of my days on the pc, so it benefits all of us to find 
> shortcut devices, which mean we have more free time for our family and 
> friends.
>

As something of a tinkerer, I like to use tools I've mastered to create 
those kind of shortcuts. :) Avoiding obvious or labor intensive 
solutions, initlally takes time away from friends and family, but that 
investment of time usually pays back in some way later.

> Also to share this knowledge to save the time at labour of other 
> people is the hyperion we can all aspire to.It gives me a warm feeling 
> inside to know I help someone.
>
That's another thing I enjoy, at least when I have the time, is to share 
whatever pearls I may have and to learn new things. My conclusion on 
editors is, I'd be more inclined to trade PsPad for a better coding 
editor than to trade NoteTab for another text/data editor.

Take care,
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@...

<*> 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/

Mentor | 14 Feb 2011 17:35
Favicon

Re: Beginner Needs Help

Hi Bro. Gabriel,

Thanks for the update.
No rush.  I have plenty of other fish to boil.
Regards,  Mentor Don

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

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 | 14 Feb 2011 20:23
Gravatar

Re: Beginner Needs Help



Dear Mr. Mentor,

Well, at first I proceeded to try and explain what you need to do step by step, and then I saw what you really want.  What you want to do is basically to see the innards of files without opening them.

Using PP for this could be complicated; but I will tell you that I do it all the time - using FreeCommander (or you could use TotalCommander, but FreeCommander is, well, free.)

With FreeCommander, you can use its "quickview" to see the file without opening it.  I do this all the time.  You can turn on quickview and then click on any file you like to see its innards instantly.  You can use the TotalCommander plugin with FC, which is called, SynPlus, and even see all of those files with syntax colouring, and even edit them in that quickview pane!  It's quite wonderful!  You see, FC is a double-paned explorer (with trees in each pane) and each pane is tabbed also.  Quickview will turn one pane into a viewer.  FC can do this via keyboard-command or via a button that sits in a special toolbar between the panes.  You can turn quickview on and then use the arrow keys (or mouse) to cycle through all the files and see their innards.  It is great for developement's sake.

After all this, which can be easily set up, you still want to do what is in your mind, I will try to help you as far as I can, but I think it is very complicated.

- 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

__,_._,___
Robert Bull | 15 Feb 2011 21:09
Picon
Favicon

Re: To Sheri :: re notetab {???}

Monday, February 14, 2011, 4:07:06 PM, Sheri wrote:

S> Yes, that's a pretty major missing feature for program coding.  My use
S> of NoteTab is not so much for coding except for html (where it has a 
S> little color coding). My use of NoteTab is for doing transformations on
S> text and data. I mastered NoteTab's clipcode "language" and can easily
S> create reusable instructions for various tasks.

With NoteTab you really need to get to grips with the clipbook to get
most use out of it. TED Notepad, http://jsimlo.sk/notepad/ is another
good tool for text munging, with lots of features built in. Small,
free, and very fast; no code highlighting, though. I used to have
PowerPro pop up a button on TED Notepad's title bar when it was
editing a particular file, giving a drop-down menu of text snippets.

-- 
Regards,

Robert Bull
  mailto:barlennan@...

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

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/

Mentor | 10 Feb 2011 17:42
Favicon

Re: Beginner Needs Help




 

--- In powerpro-beginners-hHKSG33TihhbjbujkaE4pw@public.gmane.org, "brother.gabriel" <brgabriel <at> ...> wrote:
>
> Hello! And welcome to powerpro!

 

Hi,

 

Thanks for the quick offer of help "brother.gabriel".  I see your name cropped up a lot in the forum and faq I looked at.   It is like this. . .

Explorer, or any number of similar apps like XYPlorer, are held
 in some sort of user list constructed by me, to which I can add an app to the list,

 or I remove one by editing an INI file which I make.  When my program runs it should read the ini file into the client list.  I dont know how to do that.

 

I dont want the program to run constantly, only when these member windows of my client list are in focus.  When they lost focus and it is taken by desktop background or an app not in this list, it will exit.

I saw something like WindowHookEvents [bad memory, cant get at the manual here to check] which looks like it is the thing to use for this detection.

I must admit I did not understand the manual's explanation.  Maybe a simple example would clear that up, and I can think of many things I can use it for in the future, and it would be very, very useful to know.

In this case I want to make a bubble appear at the mouse cursor when it passes over the icons of files in my custom extensions filter.  That bubble will show a glimse of the TOF under the cursor, c. 120 chars, so I can read within without opening the file into a full app. 

 

Having moved off the file the bubble will be hidden until it is activated again by being over another file. I don't intend to remove the windows bubble already there which is useful to tell me contents of folders and sizes of files when I am up to fast speed and I don't have time to look around with my bad eyes for a status bar, or somewhere else it may be printed. 

My bubble will be an extra one placed above the original.  When I am on the file or inside the bubble with my cursor I want it to stay, and when the cursor leaves these I want it to hide.

I do need a little help, but I want to do most of the coding myself, as I am keen to understand the language by doing. 

I downloaded Powerpro about a year ago, and I never script with it as I could not see a way to create a window with it [??].  I have been using GUI4CLI for that, which is a bit buggy, but it does what I want.

I just been ticking the powerpro conf forms and dropping stuff on it, to get it to work.  I made a hotkey to switch an autosave off /on which works in any window.  I do sim. With an autoscroll, and they both involve the hotkey on / off of timers to do *keys to the window in focus.

 

I have made small apps in other languages but not in Ppro yet.

If you or anyone you know is willing to send me a tiny example of the WindowHookEvents, at work to do even a simple task, I should cotton on, and be able to sort something out for myself.

 

Thanks.  Regards,  Mentor Don

 


>



__._,_.___

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

__,_._,___
pulsarlt | 23 Feb 2011 13:17
Picon
Favicon

stop executing sciprt

for example i have script, which is repeating 99 times
50 times it's already done and i decide to stop it
how can i do this ? 
if simple close powerpro, it shows error + windows explorer goes down

another question:
i have a script

...
for (99 times)
...
endfor 

after script is ending i want it will ask user "repeat or not ?"
...
rep1=inputdefault ("1", "repeat the script ?")
if rep1=1 ...?

what do to next ?
Jump command is not working :(

thanks

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

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