Can't get a quartz composer file to play via applescript.

I'm trying to create a script to play a quartz composer file full screen.
I do the following:
tell application "Finder"
open POSIX file "/Users/wesM/Desktop/colorbar audio.qtz"
end tell
tell application "QuickTime Player"
activate
play front document
end tell
I get an error "document 1 doesn’t understand the play message". I tested and can play a .mov file, but not a .qtz file? Any help/ideas?
Thanks

Try this:
tell application "Finder" to open POSIX file "/Users/wesM/Desktop/colorbar audio.qtz"
tell application "QuickTime Player" to activate
delay 1
tell application "System Events" to key code 49 -- keyboard shortcut: space bar
Or better yet:
tell application "QuickTime Player"
launch
activate
open POSIX file "/Users/wesM/Desktop/colorbar audio.qtz"
end tell
tell application "System Events" to key code 49 -- keyboard shortcut: space bar
I have tested the above script with the magnificent [“Flying Fish”|http://www.zugakousaku.com/index.html?-qclab] Quartz composition.
Message was edited by: Pierre L.

Similar Messages

  • Can't get my embedded swf files to play in HTML file

    Hi there,
    I'm just  wondering why my swf files won't play when I upload them along with my  HTML file to the server.
    The problem can be seen at the  following URL:
    http://marthalodge.com/productDev.html
    I  inserted the swf in 'insert media' - 'shockwave' and the thing works  when I press play to view it within dreamweaver. However, when I try to  view it on a browser, either locally or remotely, it doesn't work.
    Does  anyone have a suggestion as to why this might be happening?
    Thanks,
    M

    Hi,
    I did what you suggested and again, nothing shows. You can see what I did at:
    http://marthalodge.com/ProdDev.html
    Do you have any idea why this is happening? I don't get any error report when I publish my swf from Flash.

  • I had renamed my user login name and assumed that there will be no change in the settings and files. When I login with the new profile name everything is gone. How can I get back all my files and settings?

    I had renamed my user login name and assumed that there will be no change in the settings and files. When I login with the new profile name everything is gone. How can I get back all my files and settings? Please help. Thanks.

    You should have asked this before you tried: Changing username or short name- User Account and Short Name- OS X- How to change user account name or home directory name.

  • How can I get a single jar file with NetBeans?

    How can I get a single jar file with NetBeans?
    When I create the project I get these files:
    dist/lib/libreria1.jar
    dist/lib/libreria2.jar
    dist/software.jar
    The libraries that have been imported to create the project are in separate folders:
    libreria1/libreria1.jar
    libreria2/libreria2.jar
    libreria1, libreria2, dist folders are all located inside the project folder.
    I added the following code to the build.xml:
    <target name="-post-jar">
    <jar jarfile="dist/software.jar">
    <zipfileset src="${dist.jar}" excludes="META-INF/*" />
    <zipfileset src="dist/lib/libreria1.jar" excludes="META-INF/*" />
    <zipfileset src="dist/lib/libreria2.jar" excludes="META-INF/*" />
    <manifest>
    <attribute name="Main-Class" value="pacco.classeprincipale"/>
    </manifest>
    </jar>
    </target>
    Of course there is also the project folder:
    src/pacco/classeprincipale.form
    src/pacco/classeprincipale.java
    Can you tell me what is wrong? The error message I get is as follows:
    C:...\build.xml:75: Problem creating jar: archive is not a ZIP archive BUILD FAILED (total time: 2 seconds)

    This is not a NetBeans forum, it is a JDeveloper forum. You might want to try http://forums.netbeans.org/. I also saw your other question - try looking in the New to Java forum: New To Java

  • How can we get  tag of XML file using SAX

    Hi ,
    I'm parsing one SAX parser , I'have almost done this parsing. i have faced problem for one case, i'e how can we get tag from XML file using SAX parser?
    XML file is
    <DFProperties>
    <AccessType>
    <Get/>
    </AccessType> <Description>
    gdhhd
    </Description>
    <DFFormat>
    <chr/>
    </DFFormat>
    <Scope>
    <Permanent/>
    </Scope>
    <DFTitle>gsgd</DFTitle>
    <DFType>
    <MIME>text/plain</MIME>
    </DFType>
    </DFProperties>
    I want out like GET and Permanent... means this one tag which is present inside of another tag.
    Handler class like
    public void startElement(String namespaceURI, String localName,
                   String qName, Attributes atts) throws SAXException {
    if(_ACCESSTYPE.equals(localName)){
                   accessTypeElement=ACCESSTYPE;
    public void characters(char[] ch, int start, int length)
                   throws SAXException {
    if (_ACCESSTYPE.equals(_accessTypeElement)) {
                   String strValue = new String(ch, start, length);
                   System.out.println("Accestype-----------------------------> " + strValue);
                   //System.out.println(" " + strValue);
    public void endElement(String namespaceURI, String localName, String qName)
                   throws SAXException {
    if (_ACCESSTYPE.equals(localName)) {
                   _accessTypeElement = "";
    . please any body help me

    Hi ,
    I have one problem,Please help me.
    1. How can I'll identify where exactly my Node is ended,means how how can we find corresponding nodename? in partcular place
    <Node> .............starttag1
    <NodeName>Test</NodeName>
    <Node>................starttag2
    <nodeName>test1</NodeName>
    </Node>..................endtag2
    <Node>.....................starttag3
    <NodeName><NodeName>
    <Node> .........................starttag4
    <NodeName>test4</NodeName>
    </Node>.......enddtag4
    </Node>...........end tag3
    </Node>............endtag1
    my code is below
    private final String _NODENAME = "NodeName";
    private final String _NODE = "Node";
    private String _nodeElement = "";
         private String _NodeNameElement = "";
    public void startElement(String namespaceURI, String localName,
                   String qName, Attributes atts) throws SAXException {
    if (_NODENAME.equals(localName)) {
                   NodeNameElement = NODENAME;
    if(_NODE.equals(localName)){
         System.out.println("start");
         if (_NODENAME.equals(localName)) {
                   NodeNameElement = NODENAME;
    public void characters(char[] ch, int start, int length)
                   throws SAXException {
    if (_NODENAME.equals(_NodeNameElement)) {
                   String strValue = new String(ch, start, length);
                   String sttt=strValue;
                   System.out.println("NODENAME: ************* " + strValue);
    if(_NODE.equals(_nodeElement)){
                   if (_NODENAME.equals(_NodeNameElement)) {
                        String strValue = new String(ch, start, length);
                        String sttt=strValue;
                        System.out.println("nodevalue********** " + strValue);
    public void endElement(String namespaceURI, String localName, String qName)
                   throws SAXException {
    if (_NODENAME.equals(localName)) {
                   _NodeNameElement = "";
    if(_NODE.equals(localName)){
                   System.out.println("NODENAME: %%%%%%%%%");
    please help me. How can I figure node ending for particular nodename

  • Where can I get help re: a file missing from Pages in iCloud?

    Where can I get help re: a file missing from Pages in iCloud?

    If the file was also on a mac, then there was a local copy of the file in ~/Library/Mobile Documents.  If you use Time Machine or any other backup program on your computer, then try restoring the file(s).  Similarly the same thing would be done on a PC, but I'm not sure where the icloud local copies are kept.

  • Where can I get codec for ISO files?

    Where can I get codec for ISO files?Premiere Elements

    An ISO is actually not a video file, it is a container... somewhat like a ZIP file that contains other files
    I do not know if it will PLAY what is inside an ISO, but I use Imgburn to write an ISO to DVD
    Read http://forums.adobe.com/thread/1322583 for notes on installing Imgburn WITHOUT any toolbar add-ons... Set Imgburn to use the slowest burn speed your drive and media will use... I set my burn speed to 1x and let Imgburn adjust to the actual minimum

  • How can I get rid of other files on my mac ?

    how can I get rid of other files on my mac ?

    Hope this helps.
    1. Empty Trash.
        http://support.apple.com/kb/PH10677
    2. Delete "Recovered Messages", if any.
        Hold the option key down and click "Go" menu in the Finder menu bar.
        Select "Library" from the dropdown.
        Library > Mail > V2 > Mailboxes
        Delete "Recovered Messages", if any.
        Empty Trash. Restart.
    3. Repair Disk
        Steps 1 through 7
        http://support.apple.com/kb/PH5836
    4. For more on this and very helpful tips:
        http://pondini.org/OSX/DiskSpace.html
        http://pondini.org/OSX/LionStorage.html
    5. Disk space / Time Machine ?/ Local Snapshots
       http://support.apple.com/kb/ht4878
    6 Re-index Macintosh HD
       System Preferences > Spotlight > Privacy
       http://support.apple.com/kb/ht2409

  • Can i get back the backup file what i deleted on icloud?

    Can i get back the backup file what i deleted on icloud?please, help me. thanks

    You can't. iSync has been discontinued since Mac OS 10.7 Lion. iSync has no connection with iCloud anyway.

  • How can I get GV and HDV files imported to Premier Elements 13. I know now that they are not supported. But does it exist ways to get them. I use camera HDR-HS7E?

    How can I get GV and HDV files imported to Premier Elements 13. I know now that they are not supported. But does it exist ways to get them. I use camera HDR-HS7E?

    skjeggi
    What is this HDR-HS7E - a miniDV camcorder that lets you do DV and HDV capture firewire?
    True, the DV and HDV capture firewire into the Premiere Elements 13 Capture window is gone. But, have you
    looked at the workaround suggested by PRE_help in this forum. The workaround is found in the following
    Adobe document....
    http://helpx.adobe.com/premiere-elements/kb/removed-features-formats-elements.html
    When your schedule permits, please let us know if that worked for you.
    Thank you.
    ATR

  • Quartz composer file in iphone and ipod touch

    In iphone and ipod touch is possible to load and to see the quartz composer file??
    thanks

    Sorry,help me

  • A .pdf file is causing my notebook to freeze up. When I highlight it to delete, it will also freeze up the notebook. How else can I get rid of the file?

    A .pdf file is causing my notebook to freeze up. When I highlight it to delete, it will also freeze up the notebook. How else can I get rid of the file?

    Back up all data, then boot from your recovery partition (command-R at startup), launch Disk Utility, select your startup volume, and run Repair Disk (not Repair Permissions.) If any problems are found, repeat. Then reboot as usual.

  • Can't get itunes to connect to airport express via air tunes

    Hi,
    I just bought and installed an airport express (for windows 7) everything is now connected but i can't get itunes to recognize my airport express via air tunes. I can see the multiple speakers in itunes, but when i click on it to connect to airport it just comes up with connecting, loads for about a minute then minimizes without connecting.
    Has anyone else experienced this? How can i get this to work?
    Message was edited by: Toddy85

          You've probaby solved this by now, but if not... When upgrading itunes on a Vista or Windows 7 machine with Windows Firewall running for some reason Bonjour can't get through the firewall and thus Airplay does not work. Not good when all your Hi-fi's are connected via airport express!
    I found to resolve the issue you have to install an older version of Bonjour. It won't work if you try to do this straight from Apple.  So try this...
    1. Firstly install and older version of itunes from the web (say version 10.1) Try www.oldapps.com
    2. Then find the Bonjour file in program files
    3. Cut and paste it to your desktop with its contents
    4. Uninstall itunes and Bonjour via your control panel (the desktop file of Bonjour you moved will still be there).
    5. Install your new version of itunes, say version 10.5, from the apple website.
    6. Before opening it go to program files and cut the (newly installed) Bonjour file and paste it somewhere different to the desktop (you can't just delete it). It does not matter where you won't be needing it.
    7. Now Cut and paste the old version of Bonjour you stuck on the desktop in Program files in place of the one you just moved.
    8. Hey presto, Airplay, Windows firewall and your Airport Express' should all get on again.
    Hope this works...
    Jim

  • I can't get video attachments in gmail to play on my macbook pro.  2 month old macbook pro running lion. says format not supported

    I can't get video attachments in gmail to play on my macbook pro.  Says format not supported. 

    What kind of video?  There are dozens of formats, some don't play on a Mac unless you have the right plug-ins for Quicktime.  There are some things you should download to help you out. 
    http://www.telestream.net/flip4mac-wmv/overview.htm
    http://www.videolan.org/vlc/download-macosx.html
    These should cover EVERYTHING you'd ever encounter (though maybe not).  Frankly, if it's not H.264 or w4v (or both), it doesn't belong on your mac. 

  • How do I get a 3ga audio file to play on iphone 4s?

    How do I get a 3ga audio file to play on iphone
    4s?

    You don't need to download an App.
    My understanding is that you simply have to change the file extension from .3ga to.mp3 (on each file) and then they should play.
    That said, it works on a Macbook Pro - I've just tried it.
    Not sure about iOS though.
    Please reply if it works for you.

Maybe you are looking for

  • Security features in Oracle Apps (Oracle Financuals)

    Can you please tell me of any document/book etc which describes the security features in Oracle Apps specially on Oracle financials.

  • My Macbook keeps crashing!  Any help on this error report.

    Here is the error report, how do you read these things? Anonymous UUID:       A95A6D4A-4E77-4F1D-62F8-C7C75707D7D6 Wed Mar  5 10:25:01 2014 panic(cpu 6 caller 0xffffff802a8dbe2e): Kernel trap at 0xffffff802a8dd6d7, type 13=general protection, registe

  • Skype colour scheme

    I've looked everywhere and can't find a single thing on this, mostly because it used to be a feature so almost all "guides" just point toward the old, easy way. I've also emailed support and got very little in the way of help; "Just turn down the con

  • Does Replication needs a DB Link?

    I need to know this.. As if not then I need to explore JAVA tech to synchronize 2 DB. NB: In my circumstances DB Link is not allowed between 2 DB instances.

  • CS 4 requiring rendering of 24p mxf files?

    I have Adobe Premiere Pro CS 4, and shoot with Panasonic HPX-170 cameras. I transfer all CONTENTS folders to hard drive after shooting. According to CS4 specs, mxf files are compatible. and all the presets show up in the 'create new sequence' window.