Some scripts that work very well in QT Pro 6.x do not work on QT Pro 7.x.
Most of them have to do with resizing and repositioning windows. Has anyone else found this to be true?
Sample Script 1:
tell application "QuickTime Player"
set the dimensions of movie 1 to {640, 480}
end tell
- in QT6 the video and window will resize correctly
- in QT7 the video within the window will resize until you click or interact with it, at which point it will return to it’s original size
Sample Script 2:
tell application "QuickTime Player"
set the position of window 1 of movie 1 to {300, 300}
end tell
- QT6 repositions the window
- QT7 returns the following error message:
AppleScript Error:
QuickTime Player got an error: Can’t make position of window 1 of movie 1 into type reference.
Grant