Re: getting rid of multiple consecutive blanks ?
John Markley <[email protected]> Sun, 08 Nov 2009 09:57:44 -0500
| Newsgroups | gmane.comp.handhelds.palm.peditors |
|---|---|
| Message-ID | <[email protected]> |
Quoting Voytek Eymont <[email protected]>: > starts with: > 1:pEditTool > ... > 7:pDateTool > > tried '7' in the script, get > > '/7MemoNotestuff' That definitely should not happen if that line of the pScript reads /xEpmt 7 MemoNote what should happen is that pDateTool opens and "MemeoNote" is printed in the top line. See below. > on a related matter, if I invoke pDateTool manully from pop up of from an > icon, Palm does a Phoenix and burns down, so it seems I have a problem > with some part of pToolSet By "does a Phoenix" I take it you mean a spontaneous soft reset. That definitely should not happen either. Please do several things: 1) Look at your pMasterTool ESC and your pedit ESC characters. If they are both the same character, change one of them (use a character you don't ordinarily type). For PMT ESC, open the pToolSet module list (that *is* pMasterTool), and do menu/pMT1/pToolSet Prefs. For pedit ESC do pedit menu/Op/Preferences/General. In both of these make sure the box to use ESC is checked "on" (if pMasterTool ESC is not on that would cause the '/7MemoNotestuff' problem). 2) Test other pToolSet modules. If others also generate crashes, completely remove all the pToolSet modules and reinstall all of them fresh. To do this, open the app called pToolZapper in your app launcher, tap "check all", select "no" in the "zap assoc prefs" line, and tap "Done". That will remove all of pToolSet. Then do a hotsync install of *all* the .prc in your pToolSet 8.14 folder. Do not use the sub-folder "00pToolButtons". If when you test the pToolSet modules only pDateTool misbehaves, remove it with pToolZapper and replace. 3) If (1) and (2) don't fix it, post a separate query to Paul. It is rare to the point of zero for pToolSet itself to cause crashes. Such instances have always been traceable to interference by other background apps (hacks). > also: I'm running scripts against a different data sets, works well, though: > > how can we remove single leading blank space? > > if there are leading blank spaces, SPd get rid down to a single leading > space. > > if I get tabs (visibilites to '>>', what the best way of getting rid of > them ? replace with space ? then SPd More about this later. > apart from this, the scripts are behaving wonderfully!! Very good. With regard to the "{MemoToNote:" pScript, which evidently is working ok, it ends with your new DateBk memo open, rather than closing the note and showing the entry in Day View by tapping the "Done" button. I did this because there was an exceedingly gnarly problem getting the pScript to do that final "Done" button activation. I have now solved that with a rather cool little trick. If you would prefer to have the pScript end with the DayView entry rather than the open note, replace your pScript with this one- {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 /&varSet[$1,0] /&script$[@@MTN4@@]} {MTN4:: /&varAdd@[$1,1] /&control[@@Done@@] /&script$[@@MTN5@@]} {MTN5:: /!/$f /&ifAbort@[$$==1000] /&ifAbort@[$1>=10] /&script$[@@MTN4@@]} ~ 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/