• 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: Modifying Pitch Shift in QuickTime Player (was: no subject)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Modifying Pitch Shift in QuickTime Player (was: no subject)


  • Subject: Re: Modifying Pitch Shift in QuickTime Player (was: no subject)
  • From: kai <email@hidden>
  • Date: Fri, 15 Sep 2006 13:42:40 +0100


On 15 Sep 2006, at 02:14, Stan Cleveland wrote:

This code correctly shifts pitch OMM:
    tell application "QuickTime Player"
        set show av controls window to true
    end tell

Thanks for the confirmation that the general approach works in QuickTime Player 7.1.3, Stan.


Incidentally, if anyone was wondering why my version eschewed the direct scripting of QT Player to open the AV controls window, it was because of issues that arise (here, at least) when multiple movies are displayed. Under such conditions, the AV controls don't seem to 'connect' properly to a newly opened movie. So my script closes the AV controls window (if it's already open), opens it using a keystroke (which evidently forces an appropriate connection) - and then closes it again after the slider has been adjusted. (Of course, the behaviour that makes this sort of workaround necessary may have been fixed in later versions.)

===============

On 15 Sep 2006, at 10:06, Martin Orpen wrote:

Us "Intel guys" apparently like to order our UI elements a little differently:

set value of slider 5 of group 3 of window 1 to 400

Ah - that would explain a lot.

And as the properties of the groups contain little else apart from "missing value" you'd probably have to use a really nasty kludge of determining which group had the lowest x and y coordinates to make your script truly "universal" :-)

Right. Or perhaps a test for the existence of group 3 (the AV controls window has only 2 groups here). Still a bit messy.


-------------
tell window 1 to if exists group 3 then
	set value of slider 5 of group 3 to 400
else
	set value of slider 4 of group 1 to 400
end if
-------------

I suggest we stop using the term "UI Scripting" and call it "Uidoku" instead - as it requires the same infuriating and monotonous use of trial and error to get it to work.

LOL! But isn't that half the fun? ;-)

===============

On 15 Sep 2006, at 05:59, Peter Baxter wrote:

The slider is nameless in my version also and the script cant identify it. I've made a simple give-up version that just opens the av window and leaves the rest to the mouse for now.

What I've got here is:

Mac OSX 10.4.7
Applescript 1.10.7
iTunes 7.0
Quicktime Player 7.1.3
system events 1.3.1

Interesting, Peter. That's pretty much the same as Stan - or, if you're an "Intel guy", the same as Martin. (And if the latter, have you tried Martin's version yet?)


I would be very surprised if an updated version had less access than an older one.

Call me a hardened cynic, but I'm afraid I wouldn't be *too* surprised. :-)


---
kai


_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Modifying Pitch Shift in QuickTime Player (was: no subject)
      • From: Martin Orpen <email@hidden>
References: 
 >Re: Modifying Pitch Shift in QuickTime Player (was: no subject) (From: Stan Cleveland <email@hidden>)

  • Prev by Date: Re: Mail signature script broken after X.3.4
  • Next by Date: Re: Modifying Pitch Shift in QuickTime Player (was: no subject)
  • Previous by thread: Re: Modifying Pitch Shift in QuickTime Player (was: no subject)
  • Next by thread: Re: Modifying Pitch Shift in QuickTime Player (was: no subject)
  • Index(es):
    • Date
    • Thread