• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: applescript-users digest, Vol 3 #1920 - 17 msgs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: applescript-users digest, Vol 3 #1920 - 17 msgs


  • Subject: Re: applescript-users digest, Vol 3 #1920 - 17 msgs
  • From: Martin Sandberg <email@hidden>
  • Date: Tue, 12 Aug 2003 12:33:03 -0600

Ok, so I'm NOT going crazy, that's exactly what I saw. So, how DOES the UI browser do its magic??


I
Message: 11
Date: Tue, 12 Aug 2003 11:25:13 -0400
Subject: Re: iMovie and System Events
From: Bill Cheeseman <email@hidden>
To: AppleScript-Users Mail <email@hidden>

on 03-08-12 9:17 AM, Martin Sandberg at email@hidden wrote:

> Is there any way to use the GUI scripting to get iMovie to resize his
window? This little beast has GOT to be the most unscriptable app on
EARTH??!!

This is an odd one. I can set its size using the Attributes drawer of PreFab
UI Browser, but the generated AppleScript yields an error message and does
not resize the window.

Generally, when this happens, we think it is a bug in System Events' current
implementation of GUI Scripting. The fact that the window can be resized
using UI Browser proves that iMovie's window responds correctly to the
Accessibility API, and GUI Scripting should therefore be able to make it
work. GUI Scripting is considered beta software in Jaguar, so it is not
surprising that there are a few issues still to be worked out.

Here is the generated script that fails:

tell application "iMovie" to activate

tell application "System Events"
tell application process "iMovie"
set size of window 1 to {500, 750}
end tell
end tell


--

Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com

The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Who unsubscribed me too? (was: Digest request)
  • Next by Date: Re: filemaker open url
  • Previous by thread: Re: Who unsubscribed me too? (was: Digest request)
  • Next by thread: scripts revert to «class foobar»
  • Index(es):
    • Date
    • Thread