TIP: Click on subject to list as thread! ANSI
echo: qedit
to: CHAD WALLACE
from: JAMES MOATS
date: 1995-07-18 21:25:00
subject: QEDIT3 GetScrBuff Macro

Thanks for your reply, Chad ...
===========================================================================
CW*>On Thursday July 13 1995, James Moats wrote to All
CW*>About QEDIT3 GetScrBuff Macro
CW*> JM>           GetScrBuff DelLine Return      * shows buffer list
CW*> JM>           Pause                          * select a named buffer
CW*> JM>           Cut Find Paste Return Return   * Cut Name from page
CW*> JM>                                          * & Search for it in DOC
CW*> JM> But from my tests so far, it appears that the  macro  won't  pause
CW*> JM> at the GetScrBuff  dialog  box,  and  although  it  allows  me  to
CW*> JM> select a buffer which is copied at the cursor  position,  none  of
CW*> JM> the subsequent commands are executed (or rather, it  appears  that
CW*> JM> QEDIT3 attempts to execute all of the subsequent  commands  in the
CW*> JM> GetScrBuff dialog box, before the selected Scratch Buffer contents
CW*> JM> are pasted into the edited document at the cursor).
CW*>The way that the Pause command works is that it waits and does whatever 
you
CW*>do, until you press Enter.  Then the Enter is absorbed by the Pause 
command,
CW*>and if you need the Enter to go through (to the dialog box), you need to 
sen
CW*>it within the macro after the Pause command.  So, instead of just "Pause" 
on
CW*>that line, make it "Pause Return".  That will fix the problem.
===========================================================================
... but, no,  the  problem  persists.  The  PAUSE  command  simply
moves the macro pause-point up one step, to the  GetScrBuff  input
dialog box, rather  than  pausing  to  allow  a  choice  from  the
GetScrBuff menu. The macro still refuses to process  any  commands
beyond retrieving contents from  the  selected  ScrBuff  into  the
edited  file  at  the  cursor  position.  In  other   words,   the
following CUT command is completely ignored  regardless  of  where
the PAUSE is positioned.
Something mysterious about  this  -  maybe  a  limitation  of  the
GetScrBuff command. Thanks anyway,
---
 * OLX 2.1 TD * Regards, Jim. [james.moats@canrem.com]  TORONTO :1/229/15
--- QScan/PCB v1.17b / 01-0348
---------------
* Origin: FidoNet: CRS Online, Toronto, Ontario (1:229/15)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.