Re: Re: multi-clip ? copy ? paste?

John Markley <[email protected]> Sun, 13 Dec 2009 20:21:21 -0500
Newsgroups gmane.comp.handhelds.palm.peditors
Message-ID <[email protected]>
Voytek -

   Thinking about the two little multiclip pScripts I posted earlier  
today reminded me of something else I meant to suggest to you.  You  
now are using several pScripts, at least 3 or 4, maybe more.  It's  
time for you to see how useful and effective pScriptButtons is (are)  
for running pScripts.  With pScriptButtons you can open the whole list  
of your pScripts with one stroke and one tap, and then activate any  
pScript with one more tap.  No writing in of the pScript name.  So, if  
you will, do the following.

   Open your pScriptPad and at the top put

custBtnPageTotal=10

That will give you ten panels or pages with 10 buttons on each.  Since  
you have less than 10 pScripts currently (I think), you'll only use  
page one for now.  There are no blank spaces in "custBtnPageTotal=10",  
it's all one continuous string.

   Next, think of if you had a list of your pScripts what order would  
you put them in for ease of use.  Then, in your pScriptPad, on the  
line of the pad immediately above the start of whatever your  
first-in-line pScript would be, put

custBtn.001.1

and on the line immediately above the start of your second-in-order  
pScript (not necessarily the second pScript in your pad, just the one  
you would have second on your list), put

custBtn.001.2

and so forth until custBtn.001.0, which is the tenth and last button  
on page one.  Just stop when you've run out of pScripts.  If you have  
more than ten, the next one is custBtn.002.1, etc.

There are no blank spaces in custBtn.xxx.x.  You do not have to have  
the custBtn tags in numerical order in the pScriptPad, they will do  
the ordering for you in pScriptButtons.  The only requirement is that  
the tag is right before the pScript, thus

custBtn.xxx.x
{pScriptName::

   Now, close your pad and open your pToolSet pMasterTool list and  
select pScriptButtons.  Voila!  A tap on a button will run that  
pScript.  So, for example, if you wanted to use the "copy" pScript I  
sent you earlier today you would give it a custBtn tag, it would be in  
your buttons panel.  You would highlight your text to be copied, open  
pScriptButtons with pToolSet, tap the "copy" button, and the script  
runs.

     ~ John



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

Latest pedit/pToolSet/LapTopHack at http://www.osuweb.net/~pc/pca/pc_all.zip
pedit/pToolSet/LapTopHack scripting info/resources at http://www.peditors.com
Peditors Forum http://groups.yahoo.com/group/peditors
Unsubscribe by writing to peditors-unsubscribe-hHKSG33Tihh4sT85+ipIM4ckdKdSAMto@public.gmane.org! Groups Links

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

<*> Your email settings:
    Individual Email | Traditional

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

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

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