Re: getting rid of multiple consecutive blanks ?
John Markley <[email protected]> Fri, 06 Nov 2009 12:42:43 -0500
| Newsgroups | gmane.comp.handhelds.palm.peditors |
|---|---|
| Message-ID | <[email protected]> |
Quoting John Markley <[email protected]>: >>> And, if you were to have a pScript to move memo to DateBk6 >>> Note, what >>> would be your sequence of actions? >> >> at a guess, select all/copy, command stroke to get pToolSet and use a tool >> from pop up menu ? > > OK. When you have pScriptButtons working we can do a pScript that > will simplify memo to note for you. Here are two pScripts (chains) each of which will transfer your memo to a DateBk note, in different ways. You don't need to bother with pScriptButtons for these if you don't want to, you can run them from pedit the same way as you've been doing for the other pScripts. {pDateMemoNote:: /xc Z /xc C /0x1C /xEpmt g MemoNote /&control[@@note@@] /&script$[@@pDM1@@]} {pDM1:: /xc P /&script$[@@pDM2@@]} {pDM2:: /xEpet o} This first one, {pDateMemoNote, will select all the text in your memo, copy it, open pDateTool, writes the title "MemoNote" as the DateBk item, pastes your memo into the note, and stops so you can select a date and time and then manually tap "Add New Item". You can then jump to DateBk using the pDateTool menu item "Go To DateBook" (or just open DateBk with your DateBk button). However, that will take you to today's date. There is no way to jump directly to the entry you just made if it is on a different date than today. I put the item line "MemoNote" in because pDateTool will not do the transfer to DateBk if the "add your DateBook item here" line is blank. ******* {MemoToNote:: /xc Z /xc C /0x1C /&script$[@@MTN1@@]} {MTN1:: /&launch[@@DateBk6@@] /xc N /&control[@@No@@] /&script$[@@MTN2@@]} {MTN2:: /&script$[@@MTN3@@]} {MTN3:: /xc A /xc P} The second one, {MemoToNote, will copy the memo, open DateBk, open a new DateBk untimed item on today's date, open a new note and paste your memo, and stop. You will have to manually set the date and time, and whatever item name you want. What I cannot do is make it so you can start in DateBk in a pre-existing item or note, jump to the correct memo, copy, and return to the correct DateBk item all automatically, as pedit and DateBk do not have this capability. See if you like either one, and if there are any changes you'd like. ~ 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/