From: Ronald P. R. <ron...@xs...> - 2012-07-09 08:09:42
|
For completeness: The scripts work to enable copy/paste from AppleWorks in MacOS to OSX and vice versa in SheepShaver 64-bit. Activating a different application is apparently needed for sharing data between the MacOS clipboard and what I imagined as being a separate AppleWorks clipboard. However, when SheepShaver runs in 32-bit mode, it works as before: Copy/paste directly from OSX to AppleWorks is possible (plain text only). And copy/paste from AppleWorks to OSX is not possible, pasting and again copying in SimpleText is needed as intemediary step (also plain text only). There is something with resources that I cannot figure out. Is it possible that AppleWorks uses for copy/paste internally only "styl" resources and no "TEXT" resources? Ronald. ---------------------------------------- Op 8 juli 2012, om 14:28, schreef Ronald P. Regensburg: Still not knowing what exactly is the issue with AppleWorks (and presumably ClarisWorks), I made two simple AppleScripts in MacOS9 that work for copying and pasting between AW in MacOS9 and applications in OSX. Both scripts work 100% in all situations I tried. The fact that these scripts work may be an indication of where the problem arises. For copying a selection from MacOS9 AW with the intention to paste in OSX: tell application "AppleWorks 6" activate copy to clipboard end tell tell application "SimpleText" activate end tell tell application "AppleWorks 6" activate end tell (The last activation of AW is not needed, but it brings back the application you are working in.) For pasting in MacOS9 AW what was copied in OSX: tell application "SimpleText" activate end tell tell application "AppleWorks 6" activate paste end tell Ronald. |