[57684] users/ryandesign/minivmac/files/configure.applescript
ryandesign at macports.org
ryandesign at macports.org
Mon Sep 14 17:25:41 PDT 2009
Revision: 57684
http://trac.macports.org/changeset/57684
Author: ryandesign at macports.org
Date: 2009-09-14 17:25:39 -0700 (Mon, 14 Sep 2009)
Log Message:
-----------
minivmac: ensure the user can't switch away from Mini vMac while key codes are being directed at it
Modified Paths:
--------------
users/ryandesign/minivmac/files/configure.applescript
Modified: users/ryandesign/minivmac/files/configure.applescript
===================================================================
--- users/ryandesign/minivmac/files/configure.applescript 2009-09-15 00:16:12 UTC (rev 57683)
+++ users/ryandesign/minivmac/files/configure.applescript 2009-09-15 00:25:39 UTC (rev 57684)
@@ -4,7 +4,6 @@
delay 4 -- wait for Mini vMac to start launching
activate application "Mini vMac"
-
tell application "System Events"
tell process "Mini vMac"
key down control -- open Mini vMac control menu
@@ -28,6 +27,7 @@
my menu_file_close() -- close Finder window
my menu_file_put_away() -- eject the minivmac disk
+ activate application "Mini vMac"
tell application "System Events"
tell process "Mini vMac"
key down control -- open Mini vMac control menu
@@ -47,6 +47,7 @@
-- but the system software being used on the emulated machine is using
-- the US English keyboard layout.
on key_code_with_modifiers(key_code, key_modifiers)
+ activate application "Mini vMac"
tell application "System Events"
tell process "Mini vMac"
delay 0.3
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090914/f53bfc42/attachment.html>
More information about the macports-changes
mailing list