Re: Fix this script
Re: Fix this script
- Subject: Re: Fix this script
- From: Ronald Hofmann <email@hidden>
- Date: Mon, 04 Feb 2013 05:14:37 +0100
Well, I don´t know what the poblem is.
It´s running fine here.
Ronald
---
Am 04.02.2013 um 05:11:49 schrieb "Ball, Dan" <email@hidden>:
> Yes, if you comment it out and save it as an application and then drag videos onto it you get another error. "This script contains uncompiled changes and cannot be run." Doesn't say where the problem is though. I think its the dimensions of the if statement. Commented those out and it loads the videos but its not right. This whole part needs re-written. I also changed it from "Quicktime Player" to "Quicktime Player 7". I have QT7 Pro still.
>
> I think this whole part is screwy, the commented parts are what I think is messed up in that script on http://hints.macworld.com/article.php?story=20090515094704521:
>
>
> set {x, y} to {0, 0}
>
> set wins to (get every window)
>
> repeat with win in wins
>
> set doc to document of win
>
> --set controller type of doc to none
>
> set looping of doc to true
>
> set {wi, hi} to natural dimensions of doc
>
> --if wi / window_width > hi / window_height then
>
> -- set dimensions of doc to {window_width, hi / (wi / window_width)}
>
> --else
>
> -- set dimensions of doc to {wi / (hi / window_height), window_height}
>
> --end if
>
> set x to x + 1
>
> if x = cols then set {x, y} to {0, y + 1}
>
> end repeat
>
> Thanks,
>
> Dan
>
>> Message: 9
>> Date: Sun, 03 Feb 2013 22:08:41 -0500
>> From: Michael Ghilissen <email@hidden>
>> To: email@hidden
>> Subject:
>> Message-ID: <email@hidden>
>> Content-Type: text/plain; charset=us-ascii
>>
>> Have you tried the script with the line commented out (place a >hash tag before)?
>>
>> Michael
>>
>>
>> On Feb 3, 2013, at 9:47 PM, "Ball, Dan" <email@hidden> wrote:
>>
>> Hello all, looking to take a bunch of videos and create a wall >of videos. Luckily I found a script on the internet for >Quicktime, but its from 2009 and doesn't seem to work in OS 10.8. Is someone able to fix this please?
>>
>> If I put it into AppleScript Editor and compile it, it errors on the line: set controller type of doc to none. The error reads Syntax Error: A class name can't go after this identifier.
>>
>> I tried a few things, but unable to get it working. Can someone else try please?
>>
>> http://hints.macworld.com/article.php?story=20090515094704521
>>
>> Thanks,
>>
>> Dan
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> AppleScript-Users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> Archives: http://lists.apple.com/archives/applescript-users
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden