[comp.sys.mac.programmer] Converting the Scrap during Minor Switches

andyp@treehouse.UUCP (Andy Peterman) (11/05/90)

In article <31@bootsie.UUCP> olson@endor.harvard.edu (Eric K. Olson) writes:
>I am trying to force the System, when running Multifinder,
>to "Publish" the clipboard as if a Major Task Switch had
>occurred, during a Minor Switch.
>
>A sample reason for doing this would be to write a
>small Multifinder program that displays the clipboard,
>changing even while it is in the background.
>
>It seems that Multifinder only publishes the Scrap during
>a major task switch.  Is this the case?

It's up to each application to "publish" its scrap information to the
system (Multifinder).  Normally, the application keeps its information
internal, or within TextEdit, and only writes ("publishes") the scrap
when a task switch occurs.  I don't think it's possible to show an
accurate clipboard from another application.  This is why so many
applications have their own clipboard (I happen to be adding one to my
application right now).

-- 
Andy Peterman                       |   Opinions expressed
treehouse!andyp@gvgpsa.gvg.tek.com  | are definitely those of
(916) 273-4569                      |      my employer!