Here is the method. In the AppleScript Editor, create a new empty file, save it as an Application to your Desktop or any convenient place.
Click the Bundle Contents button. In the slide-out window, drag three things into the Resources window: a mini vMac application, a ROM file, and a disk image.
Then paste this code in the editor window - but in the "open document file" line CHANGE the two strings in quotation marks so that they use the actual name of you disk file and whatever name you use for the mini Vmac application:
Code: Select all
set myRes to (path to me as text) & "Contents:Resources:"
tell application "Finder"
open document file "WPMac755.dmg" of folder myRes using application file "mvMac.app" of folder myRes
end tell
With this code, the applet should work anywhere on your disk. You don't need to specify the actual paths.