Re: Re: Screenplay formatter?
John Markley <[email protected]>
| Newsgroups | gmane.comp.handhelds.palm.peditors |
|---|---|
| Message-ID | <[email protected]> |
Quoting daleblizz <daleblizz-/[email protected]>: > > Unfortunately I haven't been able to figure out how to write a > pScript yet. I tried the > examples, but I'm not sure how you actually save it after you write it. > > (I might have been trying activation instead of the actual writing. > pEdit and pScript are a > "little" more complicated than Teikei, so I'm still trying to get it.) I'm not entirely sure that pScripts are going to help you with this project. But, if they are, particularly since you want to do interactions with both pedit and TeikeiDA, you will need pToolSet. pScripts written with pedit alone will operate only while in pedit, and the activation methods are somewhat limited. The purpose of having pScript(s) for your purpose would be to automate sequences of operations that you would otherwise do with pen taps and strokes, and keyboard actions, both in pedit (peditPro i hope?) and in Teikei. I'd suggest doing everything you can with Teikei first, and then read and work through the following pScripting/pToolSet tutorial. ****** pScripting tutorial: Since I am frequently helping others use pScripting for Palm OS, I've written this intro tutorial to avoid repetition of effort. I have no commercial connection whatever with the pToolSet and pedit family of apps, but rather am myself a long-time happy user of them (and a beta tester), grateful to their developer, Paul Nevai, for their power, utility, and high quality. pToolSet is a suite of 29 .prc's, a few of which will appear as apps in your launcher, but most of which run invisibly as background extensions until called upon. These have a multitude of utility functions such as full-featured text editing of any Palm text field, making entries into calendar, memo, and task DBs while still in other apps, and text searches, and much more. In addition pToolSet enables the use of macro scripts, called pScripts, which will automate nearly any sequence of actions normally performed manually with keystrokes, button presses, and stylus. Full use can be made of all the utility functions of pToolSet without ever using pScripts. pScripting can be used to automate and facilitate use of the Palm device without using any of the other pToolSet modules. pToolSet and the pScripting computer language were written by Paul Nevai, a professor of mathematics at Ohio State University. To evaluate pToolSet go to http://home.columbus.rr.com/nevai/palm/ and click in the left column on the pToolSet link under the pToolSet heading, and also download the html manual listed under ptoolSet documentation. To make full use of pScripting, also download the html manual under pedit documentation, and the pScriptRunner link under the pToolSet heading. There are 29 .prc's in the pToolSet folder. Install them all, as they are interactive and needed for full function. Do not install the contents of the 00pToolButtons subfolder. Once installed pToolSet should automatically be on and running, but to be sure, look in your launcher and tap/select the "pToolOn" app. The functions of all the pToolSet modules are fully described in the pToolSet manual. The reason for downloading the pedit manual is that it contains the full manual for the pScripting language, which was initially written by Paul Nevai for the pedit text editor apps, but which has been extended to operate via pToolSet globally, without the need to have one of the pedit text editor family e.g. peditPro. The master control, in essence a launcher, for pToolSet is pMasterTool. When launched it appears as a single column list of all the pToolSet modules and a number of actions. It can be launched in a variety of ways detailed in the manual, including screen taps, button press-and-holds, and key presses. However, to start, the easiest way is to open the command bar (stylus forward upward slash stroke) and tap the P-house icon which will be present if pToolSet is on. If you have a Treo the command bar can be displayed using a feature of Butler or 2LaunchMe. If you have a Treo but no way to display the command bar, proceed as in the next paragraph, taken from the manual. Otherwise skip to the paragraph after next. You can activate pMasterTool as an Operating System Extension, which is the launcher for pToolSet modules and special actions, using a screen tap, a hard button press and hold, or the ESC key mechanism, as follows. Launch the pToolPrefs application which will have appeared in your launcher after installing pToolSet. Check on the "buttons" and "taps" check boxes. Select the "Taps" button. Select the long box under "pick tap pattern:" and select "BOTTOM border of DisplayScreen". Select the box next to "LAST FOURTH" and select "current pMasterT". Select OK and OK. Now a screen tap in the right fourth of the screen bottom edge will launch pMasterTool as the extension. Another practical choice is the "LAST FOURTH" of the "RIGHT border of DisplayScreen". ? Similarly, using the "Buttons" button in pToolPrefs you can designate a press-and-hold of one of the hard buttons to activate pMasterTool. And, to activate pMasterTool using the ESC key mechanism, launch pToolPrefs and check on the "use ESC key" box. Put an infrequently used lower case letter such as "z", or one of the opt button characters such as "+" in the highlighted space. When you press the letter key once, or press opt plus key simultaneously, pMasterTool will launch. To type the character press the letter key a second time, or press opt and character in sequence rather than simultaneously. You can have more than one method to display the pMasterTool list (henceforth "PMT") set up. You can also configure the PMT list in different orders, and can configure it to use lower-case key presses to activate the modules for Treo friendliness (see the manual or ask me or the pedit forum). If your interest is in using the pToolSet modules, the tutorial is done. Just open PMT and activate a module and experiment, read the manual(carefully, it is very information-dense), visit the forum. Explore the PMT dropdown menus obtained by tap/press on menu, or tap on the header bar, while the PMT list is open. If you want to do pScripting, read on. Usually if you are reading this far it is because I'm helping you with a specific pScripting project goal such as automating a sequence for use in some app such as DateBk. The following will take you up to the point where we will do the specific pScript you need. 1) Open PMT. Select pScriptPad. This will open a memo-pad-like text field with the header scriptPad-#1. This pad, and only this one, is recognized by the pScripting engines of pToolSet to contain the code which constitutes pScripts. 2) First we'll set it up so you can use pScriptButtons, and several other methods, to launch pScripts. 2 or 3 lines down from the top of pScriptPad write custBtnPageTotal=1 Everything you write in pScriptPad must be exact, as it is computer code and taken literally. For example, there are no spaces in "custBtnPageTotal=1". 2 or 3 lines below custBtnPageTotal=1 write custBtn.001.1 pScript_01 {My First pScript:: /&mess[@@Greetings@@]} Tap OK to leave pScriptPad 3) While in any app, open PMT and select pScriptButtons and tap "My First pScript". A message results. 4) Open PMT, select pScriptTool, write "My First" (without the quote marks) on the line "Run:", and tap/select "1:via pToolSet". Message. 5) Open PMT and press/tap the menu button or tap the screen header to open the PMT dropdown menus. Select pMT1, then pToolSetPrefs. This gives you the same screen you opened before as the pToolPrefs app. Check the "buttons" and the "taps" check boxes if not already checked on. Select the "Taps" button, select "BOTTOM border of Display Screen" in the tap pattern box, and select/scroll the "LEFT FOURTH" box way down to "pScript_01" and select that. Tap OK. Select the "Buttons" button, check on the box for one of the hard buttons you do not use for your launcher nor for DateBk. In "press pattern" select hold'n'hold#1. In "hold pattern" select normal delay. In the box for the button you checked on, select "run pScript_01". Tap ok and ok, and close the PMT list. Now tap the lower left border of the screen, right at the edge, in the bottom left 1/4. Message. Now press and hold the hard button you activated until you see the message "run pScript_01" and let up. Message. You should have seen the "Greetings" message with each of the pScript activation methods used in (3), (4), and (5) above. There are additional ways to activate pScripts, see the manual or ask me or the peditors forum. If this is not working for you let me know so we can fix it. If it is working you are now set up to do pScripting, so let me know and we'll proceed with your specific pScript(s). Cheers, 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: mailto:[email protected] mailto:[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/