Newbie can't get AE example script to run

When I try to run DemoPalette.jsx, which comes with AE, I get an error: "undefined is not an object". This happens when AE reaches this line:
var securitySetting = app.preferences.getPrefAsLong("Main Pref Section",
"Pref_SCRIPTING_FILE_NETWORK_SECURITY");
I also tried running some example code from their documentation, but AE didn't like this line:
if (lang == Language.ENGLISH)
It says "Language is undefined".
Anyone have any thoughts?--Rob

Are you running the DemoPalette.jsx script from AE's File > Scripts submenu?
You might get that message if you're trying to run an After Effects script from ExtendScript Toolkit but didn't set the target menu (in the upper-left corner of its window) to After Effects.
Jeff

Similar Messages

  • Can't get "Simple Example Doclet" to run -- Cannot find

    I am trying to run the "Simple Example Doclet" at http://java.sun.com/j2se/1.3/docs/tooldocs/javadoc/overview.html.
    It appears to compile ok, but when I go to run it I get the message "javadoc: Cannot find doclet class ListClass".
    Listed below is:
         1. The execution command and error message
         2. The version (output of javadoc -J-version)
         3. The javac compile command and input and output files
    All directories have been kept the same as in the example.
    Any help would be appreciated.
    Thanks
    1. C:\jdk1.3>javadoc -doclet ListClass -classpath C:\jdk1.3\lib\tools.jar MyClass.java
    javadoc: Cannot find doclet class ListClass
    1 error
    2. javadoc -J-version
         gives
              java version "1.3.1_01"
              Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_01)
              Java HotSpot(TM) Client VM (build 1.3.1_01, mixed mode).
    3. javac -classpath C:\jdk1.3\lib\tools.jar ListClass.java
         appears to give good compile ....
              e. g. Input source file ListClass.java is as follows:
                   import com.sun.javadoc.*;
                   public class ListClass {
                   public static boolean start(RootDoc root) {
                   ClassDoc[] classes = root.classes();
                   for (int i = 0; i < classes.length; ++i) {
                   System.out.println(classes);
                   return true;
              and.....
              decompiled ListClass.class file is as follows:
                   // Decompiled by DJ v2.8.8.54 Copyright 2000 Atanas Neshkov Date: 10/11/2001 4:09:46 PM
                   // Home Page : http://members.fortunecity.com/neshkov/dj.html - Check often for new version!
                   // Decompiler options: packimports(3)
                   // Source File Name: ListClass.java
                   import com.sun.javadoc.RootDoc;
                   import java.io.PrintStream;
                   public class ListClass
                   public ListClass()
                   public static boolean start(RootDoc rootdoc)
                   com.sun.javadoc.ClassDoc aclassdoc[] = rootdoc.classes();
                   for(int i = 0; i < aclassdoc.length; i++)
                   System.out.println(aclassdoc[i]);
                   return true;

    Sorry to be so late in getting back to you .. I was on vacation.
    ListClass is in the current directory. I did get it to work however... In order to get it to work I had to do two things:
    1. use -docletpath (even thought it was in the current path) e. g. -docletpath C:\jdk1.3\ListClass.jar
    AND
    2. Make the class file a jar file -- I could not get it to work otherwise.
    p.s. the typo was a decompiler error.

  • Cant get any Batch Script to run

    Hello together,
    first of, Thank you for this community.
    It´s a shame, i can´t get any Batch script to run.
    For example a PDF making Batch with a folder selection.
    I always get the alert, no matching files found.
    I use cs 5  on a  g 5 with osx 10.8.2
    here is the script..  should not be a big thing !?
    why does no file fit in the "mask" ?
    here is the script
    ADOBE SYSTEMS INCORPORATED
    Copyright 2005-2006 Adobe Systems Incorporated
    All Rights Reserved
    NOTICE:  Adobe permits you to use, modify, and
    distribute this file in accordance with the terms
    of the Adobe license agreement accompanying it. 
    If you have received this file from a source
    other than Adobe, then your use, modification,
    or distribution of it requires the prior
    written permission of Adobe.
    Export to PDFs.jsx
    DESCRIPTION
    This sample gets files specified by the user from the
    selected folder and batch processes them and saves them
    as PDFs.
    Edits by Patrick Mineault:
    - only .ai files processed
    - files saved in same folder as the input files
    - export files have name (oldname)_export.pdf
    - PDF settings: non-editable / acrobatLayers=false
          for maximum compatibility with Preview
    // Main Code [Execution of script begins here]
    // uncomment to suppress Illustrator warning dialogs
    // app.userInteractionLevel = UserInteractionLevel.DONTDISPLAYALERTS;
    var destFolder, sourceFolder, files, fileType, sourceDoc, targetFile, pdfSaveOpts;
    // Select the source folder.
    sourceFolder = Folder.selectDialog( 'Select the folder with Illustrator .ai files you want to convert to PDF');
    // If a valid folder is selected
    if ( sourceFolder != null )
        files = new Array();
        fileType = "*.ai"; //prompt( 'Select type of Illustrator files to you want to process. Eg: *.ai', ' ' );
        // Get all files matching the pattern
        files = sourceFolder.getFiles( fileType );
        if ( files.length > 0 )
            // Get the destination to save the files
            //destFolder = Folder.selectDialog( 'Select the folder where you want to save the converted PDF files.', '~' );
            destFolder = sourceFolder;
            for ( i = 0; i < files.length; i++ )
                sourceDoc = app.open(files[i]); // returns the document object
                // Call function getNewName to get the name and file to save the pdf
                targetFile = getNewName();
                // Call function getPDFOptions get the PDFSaveOptions for the files
                pdfSaveOpts = getPDFOptions( );
                // Save as pdf
                sourceDoc.saveAs( targetFile, pdfSaveOpts );
                sourceDoc.close();
            alert( 'Files are saved as PDF in ' + destFolder );
        else
            alert( 'No matching files found' );
    getNewName: Function to get the new file name. The primary
    name is the same as the source file.
    function getNewName()
        var ext, docName, newName, saveInFile, docName;
        docName = sourceDoc.name;
        ext = '_export.pdf'; // new extension for pdf file
        newName = "";
        for ( var i = 0 ; docName[i] != "." ; i++ )
            newName += docName[i];
        newName += ext; // full pdf name of the file
        // Create a file object to save the pdf
        saveInFile = new File( destFolder + '/' + newName );
        return saveInFile;
    getPDFOptions: Function to set the PDF saving options of the
    files using the PDFSaveOptions object.
    function getPDFOptions()
        // Create the PDFSaveOptions object to set the PDF options
        var pdfSaveOpts = new PDFSaveOptions();
        // Setting PDFSaveOptions properties. Please see the JavaScript Reference
        // for a description of these properties.
        // Add more properties here if you like
        pdfSaveOpts.acrobatLayers = false;
        pdfSaveOpts.colorBars = false;
        pdfSaveOpts.colorCompression = CompressionQuality.AUTOMATICJPEGHIGH;
        pdfSaveOpts.compressArt = true; //default
        pdfSaveOpts.embedICCProfile = true;
        pdfSaveOpts.enablePlainText = true;
        pdfSaveOpts.generateThumbnails = true; // default
        pdfSaveOpts.optimization = true;
        pdfSaveOpts.pageInformation = false;
        pdfSaveOpts.preserveEditability = false;
        return pdfSaveOpts;
    is my problem really that stupid ?
    is it only working in cs 3  ?

    Mr. Schneider, Brilliant =) and weired
    on windows 7 it runs perfectly. even with the prompt commented out ?!?!?!
    Why is it not working on a maC ?
    now i have so many more ideas to optimize my workflow...
    i´am not shure how to get into this ..
    if i have to send out datafiles i have to do several things.
    1.collect images and fonts
    2. throw unused colors away
    3. check if there is white overprinted,if yes fixing it.
    4. put black on overprinting
    5.clean up empty textfields, unfilled objects, and usesless anchorpoints
    6.unlock everything
    7. save the ai
    8.convert in paths
    9.save an *_path.ai
    10.make a printable PDF with our XYZ. Joboptions
    11. preview pdf, optional with a watermark sized 100% 100% to the artboard / artboards
    12. wonderfull would be a print out
    this is just a wishlist.. i want to learn it. . how to do
    will be a hell of scripting or not ?
    is it usefull to do somethings in an action and load the action as a script ?
    In scriptinghappiness best greetings from Germany..

  • Where can I get the example application FuzzyEx Car Backward Parking.vi from LabView?

    Where can I get the example application FuzzyEx Car Backward Parking.vi from LabView? I've got the LabView 2009 and I don't find it.

    First verify if you have the PID and Fuzzy Logic Toolkit installed. To do that, you can just look at the "Control Design and Simulation" palette and you should see PID Palette and Fuzzy Logic Palette available. If you do not see, you need to install this toolkit.
    Second, in 2009 you have two options to access the example: you can directly open the example by using this address:
    C:\Program Files\National Instruments\LabVIEW 2009\examples\control\fuzzy\Car Parking\FuzzyEx Car Backward Parking.vi
    Or you can use the example finder and browse examples by going to: "Menu Help>>Find Examples" and "Toolkits and Modules>>PID and Fuzzy Logic Control>>Fuzzy Logic". yoiu should see "FuzzyEx Car Backward Parking".
    Hope this helps.
    Message Edited by Barp on 05-29-2010 12:59 PM
    Barp - Control and Simulation Group - LabVIEW R&D - National Instruments

  • Can not get JSP examples to run

    I am able to use the example servlets, but I can not get the JSP examples to run. I get the error listed at the end of this message.
    I am using jdk1.3.x and TOMCAT Version 3.2.3
    Here is my classpath
    .;C:\jdk1.3\jre\lib\rt.jar;c:\jdk1.3\lib\tools.jar;C:\jakarta-tomcat\webapps\privilegesparadox;C:\jdk1.3jre\lib\ext\XML4J.JAR;C:\jdk1.3\jre\lib\ext\mm.mysql-2.0.4-bin.jar;C:\jdk1.3jre\lib\ext\mssqlserver.jar;C:\jdk1.3\jre\lib\ext\mail.jar;C:\jdk1.3jre\lib\ext\activation.jar;C:\Netscape\Servers\java\ldapjdk.jar
    I am running this on win2000. I have done several years of servlet work and now am needing to do JSP stuff. I can not get the examples to run... so any of my test stuff does not work either.
    Error: 500
    Location: /examples/jsp/dates/date.jsp
    Internal Servlet Error:
    javax.servlet.ServletException: sun/tools/javac/Main
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:508)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
         at org.apache.tomcat.core.Handler.service(Handler.java:287)
         at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
         at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)
         at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
         at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
         at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
         at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
         at java.lang.Thread.run(Thread.java:484)
    Root cause:
    java.lang.NoClassDefFoundError: sun/tools/javac/Main
         at org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:136)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
         at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:612)
         at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
         at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:542)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:258)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:268)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
         at org.apache.tomcat.core.Handler.service(Handler.java:287)
         at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
         at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)
         at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
         at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
         at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
         at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
         at java.lang.Thread.run(Thread.java:484)

    I don't get it... I have been using jdk 1.3.x for sometime... a year now. All seems fine with servlets and java applications I have created. What could be not there if all of this works?
    If reinstall the jdk over top of where is is now, would that be of any help? I will copy my /ext jar files to a temp area first so I can keep my jar files.
    Dean-O

  • Please I can not get a .jar file to run on XP SP3 start/run/cmd/

    I can not get a .jar file to run on XP SP3 start/run/cmd/
    Please help if can figure this out. I'm convinced it is a Windows XP SP3 problem from searching on google and seeing other ppl on XP SP3 with same problem (but no working solution for myself). I'll try to be complete-listing all I've done.
    I had installed: Java SE Runtime Environment v6u14 for Windows Multi-language
    I had checked here it was working properly: http://www.java.com/en/download/manual.jsp
    I'm trying to run this jar file (soht-client-0.6.2.jar):
    http://prdownloads.sourceforge.net/telnetoverhttp/soht-java-client-0.6.2.zip?download
    http://www.ericdaugherty.com/dev/soht/javaclient.html < this is the information for the program.
    (yes the file can be executed and should open the program's window
    I wanted to post screenshot of it but friend that it's working for isn't here)
    _(Please find log of all cmds I did in this post here: http://pastebin.com/f792983df )_
    _I have extracted +'all' the files to: C:\062\+_ (I have tried using other directories, same problem)
    ++I then start/open/run/cmd+
    then I: cd C:\062\+
    then I try various commands - all+ of these do absolutely nothing- meaning no errors, no reply, no window opens, nothing except enters that directoy again:
    java -jar soht-client-0.6.2.jar
    java -jar -client soht-client-0.6.2.jar
    java -client -jar soht-client-0.6.2.jar
    java -jar soht-client-0.6.2.jar soht.properties
    soht-client-0.6.2.jar
    So I try this cmd: java soht-client-0.6.2.jar
    Reply:
    C:\062>java soht-client-0.6.2.jar
    Exception in thread "main" java.lang.NoClassDefFoundError: soht-client-0/6/2/jar
    Caused by: java.lang.ClassNotFoundException: soht-client-0.6.2.jar
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    Could not find the main class: soht-client-0.6.2.jar. Program will exit.
    I try this cmd:
    java -jar soht-client-0.6.2.jar -client
    Reply:
    C:\062>java -jar soht-client-0.6.2.jar -client
    Unable to load configuration file: -client - java.io.FileNotFoundException: -cli
    ent (The system cannot find the file specified)
    SOHT Java Client
    The SOHT Java Client requires a properties file. Either start
    the application in the same directory as the soht.properties
    file, or specify the file name on the command line:
    java -jar soht-cleint-<version>.jar c:\soht.properties
    So then I do these cmds which produce the exact same error/reply just above; Unable to load..:
    j_ava -jar soht-client-0.6.2.jar -client soht.properties_
    java -jar soht-client-0.6.2.jar -client C:\062\soht.properties
    So then I copy soht.properties to C root and do:
    java -jar soht-client-0.6.2.jar -client C:\soht.properties <same error as above
    Then from other information I have read I right click on the .jar file, select open with Always open with:
    _"C:\Program Files\Java\jre6\bin\javaw.exe"_
    Try again.. same problem.
    Then I do cmd:
    _"C:\Program Files\Java\jre6\bin\javaw.exe" -jar "C:\062\soht-client-0.6.2.jar"_
    does nothing, retry the other commands same thing (either nothing or those same replies)
    Then I read (http://forums.sun.com/thread.jspa?threadID=5384879) someone had the same problem as I and they solved it by uninstalling all Java/reboot/ then install JDK 6 Update 14 with NetBeans 6.5.1 start NetBeans and then it worked for them.
    So I unistalled all Java, rebooted and gave the cmd another try (before re-installing), now a new error, of course:
    C:\062>java -jar soht-client-0.6.2.jar
    'java' is not recognized as an internal or external command, operable program or batch file.
    Then I install  Java SE and NetBeans Cobundle (JDK 6u14 and NB 6.5.1) Final Release/ reboot/ open Netbeans/
    go to test java page; all is good, run cmds again -and still nothing..
    C:\062>java -version
    java version "1.6.0_14"
    Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
    Java HotSpot(TM) Client VM (build 14.0-b16, mixed mode, sharing)
    I reassociate program with: C:\Program Files\Java\jre1.6.007\bin\javaw.exe_
    same thing.. nothing
    Thank you very much for your time :D_
    PS. My computer has been newly reformatted so needing another reformat I'm sure is not the solution.

    Thank you very much for your replies Taggert_77 & swmtgoet_x :D
    Taggert77_: I have never used NetBeans. I only installed it in the bundle as I had read on another post that somehow installing the bundle magically helped another user with the same problem (he didn't know why it worked after that either).
    Before XP SP3 I was able to execute .jar file through cmd prompt. Now I am not.
    This file is executable, grab it and you will see. Here is a screen shot (program in front is FlashFXP, behind is the cmd prompt and what should happen):http://www.freeimagehosting.net/uploads/53273b4ddf.jpg
    swmtgoetx_: I only did the other cmd's to try to make it spit out something, anything lol :D
    The proper cmd is simply: java -jar soht-client-0.6.2.jar
    I did give your cmd a try, and it produced nothing :( (just like the other correct cmds)
    java -client -jar soht-client-0.6.2.jar soht.properties
    Thank you again...the mystery remains
    PS. If you do a search for this you'll find an amazing amount of XP SP3 users with the same problem and no solution posted that I could find except one chap that did the unistall install order that I did above).

  • HT1947 Remote app requirements are stated as "software version 3.1.3 or later". I am running 4.2.1 and when I try to download it says 4.3 required. Where can I get the (old) version that runs on my IOS?

    'Remote' app requirements are stated as "software version 3.1.3 or later". I am running 4.2.1 and when I try to download it says 4.3 required.
    OK, I understand that new versions make use of facilities that come with new versions of IOS, but there is/was a version that runs on 3.1.3 and therefore, I assume 4.2.1. Where can I get the (old) version that runs on my IOS?
    The app store seems to ignore all legacy equipment owners, and want me to spend loadsa money to get the latest shiny toy. It probably makes business sense, but I dislike companies that take that approach. This is my first venture into smart phones, and I like the IOS interface, but I'm not sure I can afford the maintenance.

    The app store seems to ignore all legacy equipment owners, and want me to spend loadsa money to get the latest shiny toy. It probably makes business sense, but I dislike companies that take that approach.
    This is standard for Apple.  While there is little official mention of the software support lifespan for equipment, typical support has been about 4-5 years for computers.  It strikes me that newer items, especially mobile devices, are not built as sturdily nor do they have the hardware upgrade capabilities required to keep up with newer systems.  When we bought an iPhone 4S we were told by the person in the store we'd probably be looking at a newer model in two years.  The iPhone 3G could be anywhere from 2 to 4 years old, putting it well into.
    As for app availability, Apple typically pulls old software versions from its site when new versions appear.  If it is a non-Apple app then I guess it is up to the vendor. It is indeed tiresome but it is not at all unusual.  Since I only ever run used Macs, I download current versions even though my computer won't run them, stick them on a hard drive, then I have them when I upgrade to a newer used computer.  If you run older equipment you have to learn a different mode of operation to exist with the Apple 'new and innovative' but 'forget about the old' philosophy.

  • Can I get a trial version that runs on OSX 10.6.8 32 bit

    Can I get a trial version that runs on OSX 10.6.8 32 bit?  If so where?   If not what should I do?

    Hello,
    Please use the below link and download the CS6 application from the list.
    http://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html
    Flash professional CS6 is compatible for Mac 10.6.8
    http://helpx.adobe.com/x-productkb/policy-pricing/cs6-system-requirements.html

  • How can I get a display of all running programs in lion like I used to get when I did a 4 finger swipe in snow leopard?

    how can I get a display of all running programs in lion like I used to get when I did a 4 finger swipe in snow leopard?
    I liked to turn off running programs without a window that I was no longer using
    thanks.
    Best I can do now is to open the "force quit" window and click on programs I want to stop and then send each one a "command-Q" and then repeat as necessary
    Jeff

    Command + Tab is what you are after i think

  • Can't get adobe digital editions to run

    I downloaded adobe.com/products/ digital editions but my  computers says windows can't run it?? help - I have the lastest flash... ?  (I have windows vista )

    Here is what computer (Windows Vista) says when I try to run the program.  "Adobe digital editions has stopped working. A problem caused the program to stop working correctly. windows will close the program and notify you if a solution is available"
    Date: Sat, 9 Feb 2013 20:59:06 -0800
    From: [email protected]
    To: [email protected]
    Subject: can't get adobe digital editions to run
        Re: can't get adobe digital editions to run
        created by Pat Willener in Adobe Reader - View the full discussion
    1daisy wrote: windows can't run itThat does not sound like an error message Windows would issue; please provide the exact error message you are getting. 
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5061535#5061535
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5061535#5061535
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5061535#5061535. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Adobe Reader by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Can't get apple hardware test to run.

    Hi,
    I'm on a macbook pro late 2008 running 10.6.8 and I can't get apple hardware test to run.
    I upgraded with a 10.6.3 disk and there is only one install disk. I insert it restart whilst holding d, nothing happened, restart whilst holding alt + d, again nothing.
    Any ideas?
    Thank you.

    You will need the #2 installation disk (that came with the MBP)  with the Apple Hardware Test instructions on it.
    Ciao.

  • Can I revert back after upgrading to Mavericks operating system? Can't get my Adobe software to run properly.

    Can I revert back to a previous operating system after upgrading to Mavericks? Since installing Mavericks I can't get my Adobe software to run properly.

    Thanks, for your replies. I've got a late 2012 iMac (2.7 GHz Intel Core i5). I was previously running Snow Leopard - Not sure exactly what version but it was right up to date.
    The Adobe software I'm using is the Creative Cloud. Specifically InDesign cc. Whenever I try to browse folders through the InDesign software the browser window closes before I can do what I need to do. So I cant place images into my InDesign document or save documents properly.
    On the Adobe website it says that they worked with apple to fix any bugs before the Mavericks release but there's lots of complaints on the forums. I've left a bug notification with Adobe but I don't expect that they will be offering any solutions or software updates any time soon.
    I really just want to revert back without too much trouble.

  • I can't get 5.1 Surround Sound running Windows 7, Mid-2010 Mac Pro

    Hello,
    So I'm running bootcamp on my Mid-2010 Mac Pro and I can't get Dolby Surround Sound to run from the Realtek HD Audio Manager. Is there a way to produce true Dolby 5.1? I understand this may be more bootcamp related than to the actual hardware itself but I figured this is the best place to start troubleshooting this.
    Thanks

    I can try-dunno how much help I'll be, though
    go here for Realtek drivers for surround sound
    http://www.realtek.com.tw/products/productsView.aspx?Langid=1&PFid=37&Level=5&Co nn=4&ProdID=144
    try this: go to Windows Sound, then playback devices, then click on speakers icon (should have realtek as default). Click on that, and click configure
    if realtek has a sound manager, try clicking on that, and a config dialog might appear
    sorry can't be much more help than that
    JB

  • How can I get my Indesign script to apply to all pages in the document?

    My script (java) shown below will only apply to the first page of the document. How can i get it to apply to all pages of my document? What am I missing? Thanks.
    scirpt:
    myDocument = app.activeDocument
    with (myDocument.pages.item(0).marginPreferences){
    columnCount = 1;
    //columnGutter can be a number or a measurement string.
    columnGutter = "0";
    bottom = "0"
    //When document.documentPreferences.facingPages == true,
    //"left" means inside; "right" means outside.
    left = "0"
    right = "0"
    top = "0"
    inside = "0"

    Hi,
    You have to iterate through all pages.marginPreferences:
    var
      myDocument = app.activeDocument,
      allPagesMaPref = myDocument.pages.everyItem().marginPreferences,
      curPageMaPref;
    while ( curPageMaPref = allPagesMaPref.pop() )
      with (curPageMaPref) {
      columnCount = 1;
      //columnGutter can be a number or a measurement string.
      columnGutter = "0";
      bottom = "0"
      //When document.documentPreferences.facingPages == true,
      //"left" means inside; "right" means outside.
      left = "40"
      right = "0"
      top = "0"
      inside = "0"
    Jarek

  • Can't get OpenCV example to work: 1065 errors

    Hi All,
    I'm using Windows 7 64bit, and trying to get the OpenCV facetracker example here to work.
    It seems to compile successfully. To achieve this I have to run cygwin as administrator, otherwise zlib doesn't have permission to copy files during the build process.
    Also I have changed the Makefile to use cygpath when compiling the console, otherwise it won't work on windows. Eg:
    @echo "Compiling Console..."
              @cd $(BUILD)/opencv && java -jar `cygpath -m $(FLASCC)/usr/lib/asc2.jar` -merge -md \
                        -AS3 -strict -optimize \
                        -import `cygpath -m $(FLASCC)/usr/lib/builtin.abc` \
                        -import `cygpath -m $(FLASCC)/usr/lib/playerglobal.abc` \
                        -import `cygpath -m $(FLASCC)/usr/lib/ISpecialFile.abc` \
                        -import `cygpath -m $(FLASCC)/usr/lib/IBackingStore.abc` \
                        -import `cygpath -m $(FLASCC)/usr/lib/InMemoryBackingStore.abc` \
                        -import `cygpath -m $(FLASCC)/usr/lib/IVFS.abc` \
                        -import `cygpath -m $(FLASCC)/usr/lib/CModule.abc` \
                        -import `cygpath -m $(FLASCC)/usr/lib/C_Run.abc` \
                        -import `cygpath -m $(FLASCC)/usr/lib/BinaryData.abc` \
                        -import `cygpath -m $(FLASCC)/usr/lib/PlayerKernel.abc` \
                        -import `cygpath -m $(FLASCC)/usr/lib/AlcVFSZip.abc` \
                        `cygpath -m $(SRCROOT)/OpenCV-2.4.2/Console.as` vfs*.as -outdir . -out Console
    The problem is, the resulting facetracker.swf doesn't work... it just displays the webcam only and triggers the following errors:
    ReferenceError: Error #1065: Variable _flascc_uiTickProc is not defined.
    at com.adobe.flascc::CModule$/serviceUIRequests()
    at com.adobe.flascc::CModule$/startBackground()
    at com.adobe.flascc::Console/init()
    at com.adobe.flascc::Console()
    at com.adobe.flascc.preloader::DefaultPreloader/onPreloaderComplete()
    and
    ReferenceError: Error #1065: Variable _flascc_uiTickProc is not defined.
    at com.adobe.flascc::CModule$/serviceUIRequests()
    at com.adobe.flascc::Console/serviceUIRequests()
    at Function/http://adobe.com/AS3/2006/builtin::apply()
    at SetIntervalTimer/onTimer()
    at flash.utils::Timer/_timerDispatch()
    at flash.utils::Timer/tick()
    These errors occur using FlashPlayer 11.7 in both Chrome and Firefox. I know this example uses pthreads, and I've read that isn't supported in Chrome, but shouldn't it work in Firefox?
    I've tried removing the -pthreads flag and that doesn't work either.
    Very grateful for any advice; I've got a large OpenCV project to compile with flascc, and if I can't get the demo project to work I figure I've got no chance of using flascc for my real project...
    As you may have guess, I'm a noob to Flash but I have experience with OpenCV.

    The code runs fine for me.
    Not to reiterate the obvious, but if you're running this on
    the localhost then the data needs to be in its own folder, and the
    bloggers.xml needs to be inside the data folder. I also uploaded
    the xml file to my California server and ran the code (with the url
    pointing to the server, it worked fine.)
    Please paste the error message that you're receiving.

Maybe you are looking for