Loading ...
Sorry, an error occurred while loading the content.

Pscripting assistance

Expand Messages
  • lists
    Hello peditors, Hello lists, Here is my first Pscript - please be gentle with me :) I think I have used some sledgehammer-to-crack-nut approaches here. I had
    Message 1 of 4 , Nov 1, 2003
    • 0 Attachment
      Hello peditors,

      Hello lists, Here is my first Pscript - please be gentle with me :) I
      think I have used some sledgehammer-to-crack-nut approaches here. I
      had some difficulty in getting things to go in the right order...

      pScript_05. title-shadow
      {title-shadow::/!/PA /&ifAbort@ f [$$ != 1131376487]/ec/&control[@@ok@@]/&script$[@@title-shadow2@@]}
      {title-shadow2::/es/ep/&script$[@@donote@@]}
      {donote::/&control[@@note@@]}

      Commented version -

      {title-shadow::

      /* Script to use with Shadow to make selected text a note title */ /*
      Will not work if note is selected by tapping the note icon*/ /*
      Doesn't check if text is selected before hand */ /* Jon Hind 2003 11
      01 */

      /! /* Suppress the output from the next command */
      /PA /* Get the application id the script was started in */
      /&ifAbort@ f [$$ != 1131376487] /*Abort if not Shadow */
      /ec /* Copy the selected text */
      /&control[@@ok@@] /* press the OK button* /
      /&script$[@@title-shadow2@@]}/* do the next bit – making sure it's done after OK */
      {title-shadow2::
      /es /* Select all the text */
      /ep /* Paste in the text held in the clipboard */
      /&script$[@@donote@@] /*go back into editing the note*/
      }

      {donote::/&control[@@note@@] /*press the note button*/
      }

      --
      Best regards,
      lists mailto:lists@...
    • Paul Nevai
      Hi Jon: 1st script? You are nuts [smiley]. My first script: {1::hi}. My second script: {2:: /&mess[@@hi@@]}. # pScript_05. title-shadow {title-shadow::/!/PA
      Message 2 of 4 , Nov 1, 2003
      • 0 Attachment
        Hi Jon:

        1st script? You are nuts [smiley]. My first script: {1::hi}. My second
        script: {2:: /&mess[@@hi@@]}.

        # pScript_05. title-shadow {title-shadow::/!/PA /&ifAbort@ f [$$ !=
        # 1131376487]/ec/&control[@@ok@@]/&script$[@@title-shadow2@@]}
        # {title-shadow2::/es/ep/&script$[@@donote@@]} {donote::/&control[@@note@@]}
        ...

        Anyway, got to go now...Best regards, Paul
      • lists
        Hello Paul, OK - I was CARP ed there - My first script for a long time and the first to be exposed to public scrutiny - which I would very much welcome :)
        Message 3 of 4 , Nov 1, 2003
        • 0 Attachment
          Hello Paul,

          OK - I was CARP'ed there -

          My first script for a long time and the first to be exposed to public
          scrutiny - which I would very much welcome :)



          Saturday, November 1, 2003, 2:35:31 PM, you wrote:

          PN> Hi Jon:

          PN> 1st script? You are nuts [smiley]. My first script: {1::hi}. My second
          PN> script: {2:: / mess[@@hi@@]}.

          PN> # pScript_05.  title-shadow {title-shadow::/!/PA / ifAbort@ f [$$ !=
          PN> # 1131376487]/ec/ control[@@ok@@]/ script$[@@title-shadow2@@]}
          PN> # {title-shadow2::/es/ep/ script$[@@donote@@]} {donote::/ control[@@note@@]}
          PN> ...

          PN> Anyway, got to go now...Best regards, Paul

          PN> Yahoo! Groups SponsorADVERTISEMENT

          PN> pedit and pScripting pTutorial at http://home.att.net/~leehauser/ptutor
          PN> Latest pedit/LapTophack at http://www.osuweb.net/~pc/pca/pc_all.zip
          PN> pedit/LapTopHack scripting info/resources at http://www.peditors.com
          PN> Peditors Forum http://groups.yahoo.com/group/peditors
          PN> Unsubscribe by writing to peditors-unsubscribe@yahoogroups.com

          PN> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.





          --
          Best regards,
          lists mailto:lists@...
        • lists
          Hello lists, Before anybody asks - CARP is the Campaign for Real Pedantry conference on Cix (www.cix.co.uk). l Hello Paul, l OK - I was CARP ed there -
          Message 4 of 4 , Nov 1, 2003
          • 0 Attachment
            Hello lists,

            Before anybody asks - CARP is the "Campaign for Real Pedantry"
            conference on Cix (www.cix.co.uk).




            l> Hello Paul,

            l> OK - I was CARP'ed there -
          Your message has been successfully submitted and would be delivered to recipients shortly.