on idle
tell application "InterMapper" to rotate map
return 10
end idleOn our OS9 implementation we rotate particular maps using the activation method. Sadly the applescripts do not work with OSX. It would be nice if the rotate map event would accept a map name so that users could rotate specific maps instead of all of them.
Regards, Dean Baldwin REDNET Limited
William W. Fisher wrote:
On May 6, 2005, at 4:28 PM, Mark Persiko wrote:
I need to rotate my map windows on one screen. I am running InterMapper Console 4.3b2 on Mac OS X 10.3.9. The AppleScript for rotating maps only works with the traditional InterMapper, and requires Classic OS 9 to run. I tested the script with Script Editor in OS X, but it fails on a class object error.
Mark:
This script seems to work in Mac OS X 10.3.9 after you click the "Enable access for assistive devices" in the Universal Access system preference pane.
Bill Fisher Dartware, LLC
property gWindowIndex : 0
on idle
-- Click on the menu item for each Map window listed in InterMapper Console's "Window" menu.
-- Every 10 seconds click on a different menu item to bring that window to the front.
tell application "InterMapper Console" to activate
tell application "System Events"
tell process "InterMapper Console"
set windowCount to (count of menu items of menu "Window" of menu bar 1) - 8
if windowCount > 0 then
if gWindowIndex >= windowCount then
set gWindowIndex to 0
end if
click menu item (9 + gWindowIndex) of menu "Window" of menu bar 1
set gWindowIndex to gWindowIndex + 1
end if
end tell
end tell
return 10 -- rotate every 10 seconds
end idle
____________________________________________________________________
List archives: http://www.mail-archive.com/intermapper-talk%40list.dartware.com/
To unsubscribe: send email to: [EMAIL PROTECTED]
____________________________________________________________________
List archives: http://www.mail-archive.com/intermapper-talk%40list.dartware.com/
To unsubscribe: send email to: [EMAIL PROTECTED]
