[comp.sys.mac.programmer] tricking applications...

sonenbli@oxy.edu (Andrew D. Sonenblick) (10/09/89)

     What are some of the more common methods of tricking applications
  (running under MultiFinder as well as MonoFinder) into writing their
  private scraps to the public scrap?  Also, do most application ever
  do the opposite; that is, when they are activated (i.e. under MF) do
  they import the public scrap into their private scrap?  Anyway, if I
  can get at an application's scrap (through trickery or not) and then
  "put" to it's private scrap (!) you all will see a hell of a program
  (I should have a DA, an INIT, and a APPL version to suit everyone)
  that you will never believe was never thought of before (shhhh.....)

     Anyway, the sooner you can help me answer these questiosn, the
  sooner comes the product!  Thanks much.  Ando "Moon" Sonenblick.
  My address is: sonenbli@oxy.edu

mnkonar@manyjars.SRC.Honeywell.COM (Murat N. Konar) (10/10/89)

In article <52420@tiger.oxy.edu> sonenbli@oxy.edu (Andrew D. Sonenblick) writes:
>
>     What are some of the more common methods of tricking applications
>  (running under MultiFinder as well as MonoFinder) into writing their
>  scraps ....

There was an issue of Byte magazine some time ago with an article 
called "Inside Multifinder" by Phil Goldman (I think).  Phil is one 
of the MultiFinder authors.  The article gave a good description of
how they perform "scrap coercion."  Basically they fake the launching
of a DA with its window way off screen.  Check the article out for
the details.


____________________________________________________________________
Have a day. :^|
Murat N. Konar        Honeywell Systems & Research Center, Camden, MN
mnkonar@SRC.honeywell.com (internet) {umn-cs,ems,bthpyd}!srcsip!mnkonar(UUCP)