home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / mac / apps / 18739 < prev    next >
Encoding:
Text File  |  1992-12-20  |  5.2 KB  |  136 lines

  1. Newsgroups: comp.sys.mac.apps
  2. Path: sparky!uunet!cs.utexas.edu!sun-barr!sh.wide!wnoc-kyo!kuis!kurims!nagata
  3. From: nagata@kurims.kyoto-u.ac.jp (Masatsugu Nagata)
  4. Subject: Re: The New Nisus QUED/M 2.5
  5. In-Reply-To: siegman@EE.Stanford.EDU's message of Thu, 17 Dec 92 18:48:28 GMT
  6. Message-ID: <NAGATA.92Dec18175420@hakobe.kurims.kyoto-u.ac.jp>
  7. Sender: news@kurims.kurims.kyoto-u.ac.jp
  8. Nntp-Posting-Host: hakobe
  9. Organization: Research Institute for Mathematical Sciences, Kyoto, Japan.
  10. References: <1992Dec17.184828.8465@EE.Stanford.EDU>
  11. Date: Fri, 18 Dec 1992 08:54:20 GMT
  12. Lines: 122
  13.  
  14.  
  15. siegman@EE.Stanford.EDU (Anthony E. Siegman) writes:
  16. >    A couple of initial comments on the new Nisus QUED/M 2.5, which
  17. > just came out:
  18. I've upgraded to 2.5, too, and is very glad I did.
  19.  
  20. > * You're supposed to be able to assign command keys to menu items with
  21. > the Assign Menu Key command, and conflicts with existing key
  22. > assignments are supposed to be flagged.  I tried to assign "command-T"
  23. > to "Tile Windows".  It works; but the conflict with the initial
  24. > default command-T for Transfer was not flagged; command-T doesn't
  25. > disappear from the Transfer item in the Edit menu; and attempts to
  26. > remove it were unsuccessful...?
  27. I just tried it and it does work.  (System 7.0)
  28. Select 'Assign Menu Keys' menu, and when the dialog box appears, select 
  29. the 'Transfer' item in the File menu.  Then the 'Menu Item' field says 
  30. "Transfer" and the character "T" appears in another field and is 
  31. highlighted.   I just pressed the 'Remove' button, and then the "Done" 
  32. button, and look, the command-T assignment is gone.  Nothing to the right 
  33. to the 'Transfer' item, written in the File menu.
  34.  
  35. Perhaps you'd have to "Remove cmd-T from Transfer" 
  36. _BEFORE_ "Adding cmd-T to TileWindows" ??
  37.  
  38.  
  39. > * The "Transfer" menu, which was one of the attractive features of
  40. > QUED/M 2.09, with the ability to set up a specific set of transfer
  41. > menu items which will open up another appplication with the current
  42. > active file open in that application, appears to be completely gone.
  43. I'm very glad they removed the old "Transfer" menu, since that was the 
  44. source of the infamous _LaunchApplication crash in v.2.09.
  45.  
  46. Now, QUED/M's new 'Execute ToolServer Script' menu is supposed to do 
  47. something ultimately replace the old "configurable Transfer menu".
  48.  
  49. By sending AppleEvents to other apps, QUED/M can not only switch to other 
  50. apps, but also tell them to do specific tasks, and you can configure 
  51. everything from Macro.
  52.  
  53. I'm not sure how I can do this in QUED/M now;  its manual only says it 
  54. "sends scripts in MPW ToolServer language" or some such (I don't have 
  55. MPW), but I'm sure it can.   (Please, someone, post this info.)
  56.  
  57. > For someone who wants to edit say a TeX source file in QUED/M, then
  58. > quickly transfer into Textures with that file open (or a similar
  59. > feature for any other programming language), this is a big loss, and
  60. > the Transfer capability in the new 2.5 much less useful.
  61. > Is there a way to do this via a macro?
  62. Now, another trouble is that current version of Textures does not yet 
  63. support AppleEvents  (maybe in the next version?)
  64.  
  65. So, you'd have to use some external AppleEvent Server, including MPW 
  66. ToolServer, Frontier, and HyperCard.
  67.  
  68. I currently use the text editor Alpha 5.2 to send AE to HyperCard to 
  69. let it launch Textures.   I'm sure QUED/M can do the same.
  70.  
  71. A sample  Macro in Alpha 5.2:
  72. When I type control-X-shift-Y, then first HyperCard is launched, which 
  73. launches Textures, and Alpha 5.2's 'Shell Window' remains in the 
  74. foreground, showing a template for telling Textures which file to open.
  75. I just type the filename, and then use another macro to 'switchTo' 
  76. Textures.
  77.  
  78. #===========================================================================
  79. # Send events to the Finder via Jon Pugh's 'FinderEvents' stack.
  80. # Requires (info-mac/card/x/finder-events-12.hqx; 41K)
  81. # This can launch documents of non-AE-aware applications.
  82. #===========================================================================
  83.  
  84. proc hyperTexOpen {} {
  85.     launch {HD2:HyperC-E:HyperCard}
  86.     dosc  -c 'WILD' -s {go to FinderEvents} -t 2000
  87.     dosc  -c 'WILD' -s {go to card 13} -t 2000
  88.     shell
  89.     insertText "dosc\ -c\ 'WILD'\ -s\ \{FinderEvents\ Open,\ \
  90. \"HardDisk:TEX:AMS-TEX:\",\ \"AMSTeX format\"\}\ -t\ 2000"
  91.     tclCarriageReturn
  92.     insertText "dosc\ -c\ 'WILD'\ -s\ \{FinderEvents\ Open,\ \
  93. \"HD2:works:\",\ \"Brown.tex\"\}\ -t\ 2000"
  94.     selDir
  95. }
  96. bind 'y' <X> hyperOpen
  97. bind 'y' <sX> hyperTexOpen
  98.  
  99. proc selDir {} {
  100.     set pos [getPos]
  101.     saveVars
  102.     setVar regExpr 0
  103.     setVar forward 0
  104.     set pos1 [lindex  [search {:} $pos] 0]
  105.     setVar forward 0
  106.     set pos2 [lindex [search {:} [expr $pos1-1]] 1]
  107.     eval select $pos2 $pos1
  108.     restoreVars
  109. }
  110.  
  111.  
  112. OK.  Now, all the above assumes you use System 7.   If you use System 6
  113. (or, even if you use System 7), there's a very good alternative: Jeremy 
  114. Roussak's 'Apollo 1.0' INIT.  (info-mac/ex/apollo-10.hqx)
  115.  
  116. This is an INIT that provides you a configurable launch menu, so it also 
  117. completely supercedes QUED/M 2.09's 'Transfer' menu.  Apollo is very easy 
  118. to use, and provides you lots of other features, too, than just launching 
  119. apps/docs.
  120.  
  121. Hope this helps.
  122.  
  123. Mark
  124. --
  125. Mark Nagata
  126. nagata@kurims.kyoto-u.ac.jp
  127.  
  128. P.S.  I agree with you that Nisus Software should provide more complete 
  129. and more readable manuals!
  130.  
  131.