Player's position slider (Thread not owner)

Hi every1,
I've a thread that sets a slider value with the player's time in secods,but in case the slider Knob is dragged by the user the thread should wait and player's time should be set as per the value dragged by the user.
But the wait() method is not executing instead it generates IllegalMonitorStateException: current thread not owner exception. Would you help me please?
My code is:
//the thread which sets the slider value as the time in second increases
public void run() {
     while (true) {
                    if (player != null) {
           nano = player.getMediaTime().getSeconds();
          if (dura >nano) {
              timex = (int)nano;
                    jSlider.setValue(timex);
                 try {
          Thread.currentThread().sleep(1000);
         } catch (InterruptedException ie) {
    }//the method which sets the slider as a user moves the knob of the slider
jSlider.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
               try{
                  if(jSlider.getValueIsAdjusting()){
player.setMediaTime(new javax.media.Time((double)  
jSlider.getValue())); 
                thr.wait();                  }
               }catch(Exception e){e.printStackTrace();
                  System.out.println("Exception @ jSlider stateChanged : " + e.getMessage() );
        });Thanks!

The exception is happening because the ChangeListener thread does not own the monitor on "thr" (see the api documentation for Object.wait). That can be fixed by putting it in a synchronized (this) { ... } block.
However, I see bigger problems. First, recognize that Java is going to call your ChangeEvent code on the event handling thread, so you definitely don't want it to wait. The screen will stop repainting and the user's mouse release event won't be processed, because you will have suspended the thread that handles those things. Second, you should not modify the position of the slider from any thread other than the event handling thread, for reasons documented at [http://java.sun.com/developer/technicalArticles/Threads/swing/]. That article also shows techniques that are safe.
I don't mean to be discouraging, just wanted to point out a couple more things so you didn't get strange behavior without knowing why! What you are attempting actually requires some multi-threading skill, so study up!
Cheers,
Eric

Similar Messages

  • Java.lang.IllegalMonitorStateException: current thread not owner

    Hello,
    my program runs an exe that doesn't return a zero when it's finished, therefore, I can't use a waitFor().
    To solve this problem i look at the length of the file which has to be manipulated by this exe every 200ms and see whether it's length stopped changing. This should mean it's job is done...
    But using this code:
    public void run(String filename)
              System.out.println("start runtime");
              Runtime rt = Runtime.getRuntime();
              String[] callAndArgs = { "lssvmFILE.exe", filename };
              try
                   Process child = rt.exec(callAndArgs);
                   child.wait(200);
                   filesize = 0;
                   while(filesize != file.length())                            {
                        filesize = file.length();
                        child.wait(200);
                   //child.waitFor();
                   System.out.println("Process exit code is:   " + child.exitValue());
              catch(IOException e)
              {     System.err.println( "IOException starting process!");}
              catch(InterruptedException e)
              {     System.err.println( "Interrupted waiting for process!");}
              System.out.println("end run");
         }i get this on my System.out:
    Exception occurred during event dispatching:
    java.lang.IllegalMonitorStateException: current thread not owner
            at java.lang.Object.wait(Native Method)
            at LssvmFile.run(LssvmFile.java:292)
            at LssvmFile.start(LssvmFile.java:189)
            at GUI.actionPerformed(GUI.java:137)
            at java.awt.Button.processActionEvent(Button.java:329)
            at java.awt.Button.processEvent(Button.java:302)
            at java.awt.Component.dispatchEventImpl(Component.java:2593)
            at java.awt.Component.dispatchEvent(Component.java:2497)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
            at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)

    Here's the code:
    I already found out that the sleep function indeed caused this exe to run so slow. It seems that everything stops when sleep is used. By setting the delay to 2ms the duration is satisfactory (some seconds).
    I also tried skipping the sleep and just using a while, but that ended in an endless loop. Setting the delay to 1ms lead to a stop when the filelength was 0 (i guess that was on the moment that the exe cleared the file and prepared to write) so it seems to me that 2ms is quite a good trade off.
    this part of the code is preceeded by writing the data to the file and afterwards the new data will be read in again...
         //Close the stream
              outFileStream.close();
         //Run lssvmFILE.exe to compute alpha & b
              long originalfilesize = file.length();
              run(filename);
              //wait untill job done
              Thread thread = new Thread();
              long filesize = file.length();
              try{thread.sleep(2);}
              catch(InterruptedException e){};
              while(filesize != file.length() || originalfilesize ==file.length())
                   filesize = file.length();
                   try{thread.sleep(2);}
                   catch(InterruptedException e){};
         //Set up Instream (read from file)
         //----------------------Bedankt!
    Bart

  • Javaws 1.4.2 "current thread not owner"

    Hello everyone,
    I have an application that I have been launching with javaws since the javaws 1.0.x days that won't work with javaws 1.4.2. Does anyone have any clue as to what could be wrong?
    Java Web Start 1.4.2 Console, started Thu Aug 21 09:15:25 EDT 2003
    Java 2 Runtime Environment: Version 1.2.2 by Sun Microsystems Inc.
    --------- EXCEPTION ---------
    java.lang.IllegalMonitorStateException: current thread not owner
         at com.sun.javaws.security.JNLPClassPath.findNamedResourceInLoaders(Unknown Source)
         at java.lang.ClassLoader.loadClass(ClassLoader.java, Compiled Code)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java, Compiled Code)
         at com.sun.javaws.security.JNLPClassPath.findNamedResource(Unknown Source)
         at com.sun.javaws.security.JNLPClassPath.getResource(Unknown Source)
         at com.sun.jnlp.JNLPClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(ClassLoader.java, Compiled Code)
         at java.lang.ClassLoader.loadClass(ClassLoader.java, Compiled Code)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java, Compiled Code)
         at org.apache.xerces.framework.XMLParser.<init>(XMLParser.java)
         at org.apache.xerces.framework.XMLParser.<init>(XMLParser.java)
         at org.apache.xerces.parsers.DOMParser.<init>(DOMParser.java)
         at com.fpl.ima.deployit.options.DeployItOptions.loadOptions(DeployItOptions.java, Compiled Code)
         at com.fpl.ima.deployit.options.DeployItOptions.getInstance(DeployItOptions.java)
         at com.fpl.ima.deployit.DeployIt.initialize(DeployIt.java)
         at com.fpl.ima.deployit.DeployIt.<init>(DeployIt.java)
         at com.fpl.ima.deployit.DeployIt.main(DeployIt.java)
         at java.lang.reflect.Method.invoke(Native Method)
         at com.sun.javaws.Launcher.executeApplication(Unknown Source)
         at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
         at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
         at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
         at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
         at com.sun.javaws.Launcher.run(Unknown Source)
         at java.lang.Thread.run(Thread.java:479)
    Exception occurred in main() of DeployIt
    java.lang.IllegalMonitorStateException: current thread not owner
         at com.sun.javaws.security.JNLPClassPath.findNamedResourceInLoaders(Unknown Source)
         at java.lang.ClassLoader.loadClass(ClassLoader.java, Compiled Code)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java, Compiled Code)
         at com.sun.javaws.security.JNLPClassPath.findNamedResource(Unknown Source)
         at com.sun.javaws.security.JNLPClassPath.getResource(Unknown Source)
         at com.sun.jnlp.JNLPClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(ClassLoader.java, Compiled Code)
         at java.lang.ClassLoader.loadClass(ClassLoader.java, Compiled Code)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java, Compiled Code)
         at com.fpl.ima.deployit.DeployIt.main(DeployIt.java)
         at java.lang.reflect.Method.invoke(Native Method)
         at com.sun.javaws.Launcher.executeApplication(Unknown Source)
         at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
         at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
         at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
         at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
         at com.sun.javaws.Launcher.run(Unknown Source)
         at java.lang.Thread.run(Thread.java:479)

    I can only guess at the likely cause. Previously (jws 1.2 and earlier) every web start process would kick off a jvm for the web start client to process the jnlp, this would in turn then kick off a second jvm to run the actual application.
    1.4.2 has changed this slightly to improve startup time etc.. the second jvm process doesn't happen, and now the web start app runs from the same jvm that the web start client has started for itself. This is why the integration dialog is such a problem with modal apps in 1.4.2 -- they're sharing (and conflicting with) the same event thread.
    At least this is what I think is happening ~ I'm very sure but cant be 100% certain ..because much like the autodownloads Sun haven't published any of the source for 1.4.2 web start (shouldn't this be part of the shipped sdk source these days?).
    I guess this change breaks your previous class-loading assumptions.
    - Richard

  • IllegalMonitorStateException: current thread not owner

    Hello I'm a new french developper in JAVA.
    I have problems to launch a command from my main class.
    Here is the method :
    private static boolean ConvertToPDF(Vector HTMLPath, String PDFPath, boolean DeleteHTMLSourceFile) {
              boolean      ConvertOK           = false;
              String           HTMLDocCommand      = "";
              String           HTMLSourcePath     = "";
              String           command;                // Command string
              Process      process;                // Process for HTMLDOC
              Runtime      runtime;                // Local runtime object
              InputStream input;
              byte           buffer[];
              int           bytes;
              // R�cup�ration du chemin du r�pertoire tampon HTML dans le fichier general.properties
             try {
                  mailProperties = (PropertyResourceBundle) ResourceBundle.getBundle("General");
             catch (MissingResourceException e) {
                  System.out.println("ConvertToPDF - Impossible de localiser le fichier general.properties");
             HTMLDocCommand = mailProperties.getString("HTMLDocCommand");
             for (int i=0;i<HTMLPath.size();i++){
                  HTMLSourcePath += (String) HTMLPath.elementAt(i) + " ";
              command = HTMLDocCommand+" "+PDFPath+" "+HTMLSourcePath;
              // Lancement du processus et attente de fin ...
              runtime = Runtime.getRuntime();
              try
                   process = runtime.exec(command);
                   System.out.println("D�but attente du processus");
                   process.notifyAll();
                   bytes = process.waitFor();
                   process.notifyAll();
                   System.out.println("Fin attente du processus");
                   // V�rification de l'existence du fichier de sortie
                   File PDFFile = new File(PDFPath);
                   if (PDFFile.exists())
                        ConvertOK = true;
                   else
                        ConvertOK = false;
              catch (Exception e)
                   ConvertOK = false;
                   System.out.print(e.toString() + " caught while running:\n\n");
                   System.out.print(" " + command + "\n");
              return ConvertOK;
         }When I Executing my class (from a windows command prompt) i Have this error message :
    IllegalMonitorStateException: current thread not owner caught while running <mycommand>
    I have also tried to use the "synchronied method" :
    private static boolean ConvertToPDF(Vector HTMLPath, String PDFPath, boolean DeleteHTMLSourceFile) {
              boolean      ConvertOK           = false;
              String           HTMLDocCommand      = "";
              String           HTMLSourcePath     = "";
              String           command;                // Command string
              Process      process;                // Process for HTMLDOC
              Runtime      runtime;                // Local runtime object
              InputStream input;
              byte           buffer[];
              int           bytes;
              // R�cup�ration du chemin du r�pertoire tampon HTML dans le fichier general.properties
             try {
                  mailProperties = (PropertyResourceBundle) ResourceBundle.getBundle("General");
             catch (MissingResourceException e) {
                  System.out.println("ConvertToPDF - Impossible de localiser le fichier general.properties");
             HTMLDocCommand = mailProperties.getString("HTMLDocCommand");
             for (int i=0;i<HTMLPath.size();i++){
                  HTMLSourcePath += (String) HTMLPath.elementAt(i) + " ";
              command = HTMLDocCommand+" "+PDFPath+" "+HTMLSourcePath;
              // Lancement du processus et attente de fin ...
              runtime = Runtime.getRuntime();
              try
                   process = runtime.exec(command);
    synchronized(process){
                   System.out.println("D�but attente du processus");
                   process.notifyAll();
                   bytes = process.waitFor();
                   process.notifyAll();
                   System.out.println("Fin attente du processus");
                   // V�rification de l'existence du fichier de sortie
                   File PDFFile = new File(PDFPath);
                   if (PDFFile.exists())
                        ConvertOK = true;
                   else
                        ConvertOK = false;
              catch (Exception e)
                   ConvertOK = false;
                   System.out.print(e.toString() + " caught while running:\n\n");
                   System.out.print(" " + command + "\n");
              return ConvertOK;
         }But I have the same error message. Maybe the synchronised is not on the right object ?
    Could anyone help me ?
    Thanks for all.

    - The exception is thrown during process.notifyAll() calls; can u try commenting out those calls?
    - For questions on java, you may also want to try the forum at:
    http://forum.java.sun.com/category.jspa?categoryID=32

  • Current thread not owner

    Exception in thread "AWT-EventQueue-0" java.lang.IllegalMonitorStateException: current thread not owner
         at java.lang.Object.wait(Native Method)
         at java.lang.Object.wait(Unknown Source)
         at OneTab.OneForm.OneForm.stop_watch(OneForm.java:104)
         at DraMain_Sub.actionPerformed(DraMain.java:129)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at javax.swing.JComponent.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)I just want to know this message.
    "java.lang.IllegalMonitorStateException: current thread not owner".
    What is it?
    try{
    this.wait();
    }catch(InterruptedException e){}I just want to do it.

    my initial guess would be that the OP needs a refresher on wait and
    notify. There are plenty of tutorials available and spending 15 20
    min on one of them would not be a waste of time, trust me!!!!!But this reply did not come from Jos, so it will apparantly be ignored.Hm, if that were true I wouldn't like it one bit. Lots of people give valuable
    advice here and the last thing I would want is a 'status aparte'.
    kind regards,
    Jos

  • Object.wait(): IllegalMonitorStateException: current thread not owner

    How can I identify the owner? I searched the Thread*-Classes but didn't see any method which identifies the owner.

    Or, from the documentation for Object.wait():
         * The current thread must own this object's monitor.and
         * This method should only be called by a thread that is the owner
         * of this object's monitor. See the <code>notify</code> method for a
         * description of the ways in which a thread can become the owner of
         * a monitor. and
         * @exception  IllegalMonitorStateException  if the current thread is not
         *               the owner of the object's monitor.Seems like a lot of people are getting broken downloads nowadays that don't include the documentation :-(

  • Why:current thread not owner?

    Here is my class:
    public class TestThread extends Thread {
        /* (non-Javadoc)
         * @see java.lang.Thread#run()
        @Override
        public void run() {
            System.out.println("begin");
            Test.check();
            System.out.println("end");
    public class Test {
        private static Integer s_count = 0;
        public static void check() {
            synchronized (s_count) {
                while (s_count > 0) {
                    try {
                        s_count.wait();
                        System.out.println("notify");
                    } catch (InterruptedException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
         * @param args
         * @throws InterruptedException
        public static void main(String[] args) throws InterruptedException{
            for (int i = 0; i < 5; i++) {
                s_count++;
                TestThread tt = new TestThread();
                tt.start();
            for (int i = 0; i < 5; i++) {
                Thread.sleep(3000);
                System.out.println(i);
                synchronized (s_count) {
                    s_count--;
                    System.out.println("s_count is:"+s_count);
                    if (s_count == 0) {
                        try {
                            s_count.notifyAll();
                        } catch (Exception e) {
                            // TODO Auto-generated catch block
                            e.printStackTrace();
                    System.out.println("ssss");
    }

    you are incrementing an Integer member var, which means you are creating a new object each time, hence as each thread runs, it is using a variety of different object references. try separating the lock from the counter:
        private static final Object s_lock = new Object();
        private static int s_count = 0;
        synchronized(s_lock) {
          // do your work on s_count
        }

  • FileUpload: Current thread not ownet?

    Hi, I use the common Apache FileUpload lib.
    When i use it on my local server i work!
    But on my NetWare Tomcat server, i got this message:
    Error Message:current thread not owner
    java.lang.IllegalMonitorStateException: current thread
    not owner
    at
    org.apache.commons.fileupload.DefaultFileItem.getUniqueId(DefaultFileItem.java,
    Compiled Code)
    at
    org.apache.commons.fileupload.DefaultFileItem.getTempFile(DefaultFileItem.java:623)
    at
    org.apache.commons.fileupload.DefaultFileItem.getOutputStream(DefaultFileItem.java:563)
    at
    org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java,
    Compiled Code)
    at UploadFile.doPost(UploadFile.java:54)
    Someone got an id�a???
    thx a lot

    Are you using java 1.4 ? And so is your netware server ?
    http://developer.java.sun.com/developer/bugParade/bugs/4776385.html

  • Threads not working together well  !

    Dear People,
    The following line of code gives an error message:
    while(inTray.size() != 0)
    The error message says:
    current thread not owner, Exception in thread "main"
    Thank you for your advice
    Stan

    Dear Dubwai,
    Here is the entire output. (Except for entire list
    t of credits and debits posted by the bank. )
    Start debit of A//C No. 2 : $971 amount: 45
    Start credit of A//C No. 1 : $624 amount: 71
    End credit of A//C No. 1 : $695 amount: 71
    java.lang.IllegalMonitorStateException: current thread
    not owner
         at java.lang.Object.wait(Native Method)
         at java.lang.Object.wait(Object.java:426)
         at stan_ch15p638.Clerk.isBusy(Clerk.java:80)
    at
    stan_ch15p638.TryBankOperation.main(TryBankOperation.j
    va:75)
    End debit of A//C No. 2 : $926 amount: 45
    Start debit of A//C No. 2 : $926 amount: 48
    Exception in thread "main"
    I would post the entire program but the last time I
    did that
    I received a negative response. The error message
    speaks of
    line 75 which is the line posted previously.No it isn't.
    This is what you posted.
    while(inTray.size() != 0)
    In the above stack trace the following appears...
    Clerk.isBusy...
    That is where the problem occurs in your code.

  • Position slider bug

    When the position slider is not visible it is still possible (and frustrating) to grab the (invisible) slider accidentally and turn a thousand pages (usually I end up on the last page). Since iBooks has no "back" button I have to manually find my place again. This happens to me a lot.

    I'm replying to my own post to bring it to the top. If this is against the rules please someone let me know and I won't do it again.

  • Hi just updated to ios7   Speaker make No sound in music player Volume slider is not functioning at all , it's grey Ringtones works fine. I have apple tv in my local network so in ios 7 music player i switched to play through airplay And back to iphone -

    Hi just updated to ios7
    Speaker make No sound in music player
    Volume slider is not functioning at all , it's grey
    Ringtones works fine.
    I have apple tv in my local network so in ios 7 music player i switched to play through airplay
    And back to iphone - no sound
    Also tried another music player same **** - plays no sound
    iPhone 4S, iOS 7

    Hello there, vishnu cs.
    The following Knowledge Base article provides some great information for troubleshooting your issue:
    iPhone: No sound or distorted sound from speaker
    http://support.apple.com/kb/ts5180
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • I have the latest Adobe flash player installed but it does not show up in my add-ons or plug-ins on Firefox 3.6. In the plug-in check, it recognizes that the shockwave flash is up to date. How can I have the plug-in appear and be enabled on firefox?

    I have uninstalled the flash player and installed it numerous times with no recognition by the Firefox plug-ins. I also have uninstalled Firefox and reinstalled it as well. I have also restarted my computer several times as well. The flash player is certainly installed but not working on Firefox. Thanks in advance for your help.

    James j,
    You have a different problem. Your screenshot shows "The Adobe Flash plugin has crashed".
    See [[Plugin crash reports]] and [[The adobe Flash plugin has crashed]]. If you need more help you should [[ask a question|ask a new question]] (start a new thread).

  • DVD Player plays DVDs but will not play VIDEO_TS files from my hard drive

    When logged into my home account DVD Player plays DVDs but will not play VIDEO_TS files that are on my hard drive. I get an error message: "there was a problem opening the media. Media type is not supported." When logged in as "root" DVD player does play these same files. Also, when logged in to my home account, I can play these same files in VLC.

    Go this this thread for more details:
    http://discussions.apple.com/thread.jspa?threadID=1075814
    But the gist of the fix is to delete or rename "~/Library/Preferences/com.apple.DVDPlayer.plist" and let the DVD Player build a new one. It seems that this is caused by a migrated PPC preference that borks DVD Player 5 on Intel Macs, which is what just happened to me. Hope this helps.

  • Jquery slider is not consistently loads while running coded ui automation script

    Hello Guys,<o:p></o:p>
    I am doing coded ui automation testing for mvc application. Now there are some features where we are loading Jquery slider from left towards right. Actually those slider loads properly
    when users does it manually but when i ran it using coded ui script, so sometimes slider comes and go back within seconds .This means it is not loading properly but sometime its load fine.so due to that coded ui does not find respective control to click over.<o:p></o:p>
                I have tried to wait with different option of playback , wait , delay but the behavior is still same.
    That means my test fails to load proper slider window  most of the time.<o:p></o:p>
    Can anyone suggests me some inclinations to solve this problem. <o:p></o:p>
    Thanks in advance.<o:p></o:p>

    Actually i have tried to wait in all possible ways provided by coded ui . But issue happens only sometime during following scenario:
    1. I click on "x" button 
    2. Then that slider gets loaded from right towards left. There is again other internal ajax call which brings up data to show on slider. For that i have used webwaitforcontrolready=3 to disable ajax or js engine. 
    3. But sometimes problem occurs when automation scripts clicks on "x" button ,then slider comes and go back within fraction of seconds. I do not know whether it is due to network speed or any other issue. so due to that subsequent action on that slider are
    not getting executed or gets failed.
    could you please suggests me which wait should i use till that slider loads completely and then only move to next action?
    i have tried using wait(), thread sleep(),waitforcontrolready(),waitforcontrolexits(),waitforcontrolenabled(),playback.settings.waitforreadylevel=allthreads.

  • Position Slider for Videos in Presenter Mode

    Running Keynote on Yosemite when I open play a slideshow and have a video playing on a particular slide, a position slider will appear if I mouse over the video. However, when I am using a second display in presenter mode and I do the exact same thing to try and trigger the position slide on a video, nothing appears. I am able to see the mouse moving around, but I can't get the slider to come up. Is this an oversight or do I need to modify the settings to allow this to happen?

    They should probably get that fixed. Presentation software should facilitate the presentation not generate additional obstacles to effective communication.

Maybe you are looking for