Controlling Playback Programatically

Folks,
Does anybody know if there is there a way to control playback of a QuickTime movie programatically?
If so what is that way?
My goal is to have a presented QuickTime movie stop, and wait for user restart, at several specific times over the course of the movie.
Thanks in advance.
Dual G5 2.5   Mac OS X (10.4.2)  

Try AppleScript via Script Editor (in /Applications/AppleScript )
Launch Script Editor (Is it just me or is Apple having trouble deciding whether two words should be two words or oneword? )
Pull down the file menu to "Open Dictionary"
Scroll down to QuickTime Player
Click the black triangle next to "QuickTime Player Suite"
Click the black triangle next to "Commands"
See Play and Pause ? From AppleScript you could open the movie, send the play command, wait a given number of seconds, send the pause command etc.
Or you could use the "Select" command to set start and end points in the movie and then send the keystroke to "Play selection only" (command-T) and play that selection. Then later, select the next section, play it etc.

Similar Messages

  • Using javascript to control playback

    I'm trying to figure out how to use javascript to control
    playback of a captivate-movie.
    I want to control the playback (play, pause and so on) using
    javascript only. The playback-control in captivate does not "blend
    in" with the design on our website. I want to make a custom
    html/javascript playback-control.
    I was hoping that the captivate-player could be controlled
    easily with javascript, perhaps something like this:
    http://www.jeroenwijering.com/extras/javascript.html
    Any suggestions?

    quote:
    Originally posted by:
    CatBandit
    I don't know how to do it with Java-script, but yes, I think
    it can be done. I'll leave that to someone else more skilled at
    that than I.
    Have you considered creating your own Captivate playback
    controls? That might be another option. You can do that with a good
    image editor and some spare time. To see examples of what I'm
    talking about, try:
    Project > Skin > Skin (drop-list) > "bmp playbars"
    Paul Dewhurst, an Adobe Community Expert for Captivate has
    specific instructions for building your own playbars on his
    web-site "raisingaimee".
    Click
    here to see Paul's coverage of playbars
    Hope this helps - in any case,
    welcome to the Captivate User's Community!
    Thanks for the tip Larry! I will take a look at the link in
    your post.
    We already have a design for playback-control on our site
    (for embedded windows media player), which blends perfertly into
    our existing design. I really hope that it's possible to control
    the captivate-move with pure javascript. But I will "play around"
    wit the "bmp toolbars" feature. Thanks!

  • Controlling Playback

    Any suggestions on controlling playback. For instance, we
    want to ensure that students go through each slide before advancing
    to the next slide. Can this be done in Captivate? I have found a
    workaround, but wondering if there is an option to make it more
    simple. Thanks!

    Yes this can be done in Captivate.
    It all depends on where on the slide timeline you place a
    'next' button, if you use them. You could set this button to jump
    to next slide when clicked. When placing this on the slide
    timeline, make it not appear until the content of that slide has
    finished.
    If you use the playback bar option, remove the forward button
    from the properties otherwise users could just click through the
    course.

  • Transport Controls (Playback) Not Working Premiere Pro CC 2014

    I've tried everything for the past couple of days and I can not seem to get my playback controls to work for Premiere Pro CC 2014. Help! Please!

    Please see this thread. I covers at least a couple of solutions that have worked for some users: Re: Playback (transport) controls not working

  • ActiveX: Opening a separate Windows Media Player 9 window and controlling playback

    Hey all,
    I am trying to open a video in WMP4 automatically in Labview and control it. There is an existing ActiveX container but it remains on the front panel. I can control its playback, but cannot pause and resume.
    I can also open the video on a WMP9 window outside of LabView through Labview, but I have not been able to control it. Merely start it, and then watch it till it finishes. This is the preferred operation I need to figure out.
    LabView Version: 8.6
    ActiveX application: Windows Media Player 4
    OS: Windows XP
    My questions are:
    a) How do you pause and resume a video file if using the ActiveX container for which LabView provides
    b) How could I access the playback controls of an externally opened WMP instance through LabView (because I want to automate the playback based on acquired signals)
    Note that the ActiveX refnum is WMP4  whereas the installed version on XP is WMP9.
    Thanks in advance for your help,
     Hasan
    Solved!
    Go to Solution.

    Hi,
    Thanks for your reply.
    I do not have the
    Vision Development Module in LabView. I think it would have been under
    `Vision and Motion', however that menu is empty.
    I have
    managed to do what I want in the ActiveX container that shows the video
    as a part of the front panel. I start the video, I pause it and the
    screen goes blank (I want this feature. I could also get it to show the
    frame at pause, but that does not suit my needs). When I resume the
    play, it seeks to the point at which I paused the video.
    To
    do this, I use the invoke property -> controls -> 
    methodforcontrols-> play / stop functions and the currentposition
    property as both read and write. I do not have the windows media
    software development kit.
    I have attached the VI which
    describes what I have managed to do. Changing the first property node
    to an invoke method -> openplayer node will open an external player,
    but still do the required control of video playback on the wmp
    container on the front panel, without affecting the video being run on
    the external window. It seems like I should be able to tweak it and get
    it to do the same thing on the external instance of WMP, yet I have not
    been able to figure it out.
    Thanks for looking at this,
    Hasan
    P.S. - I couldn't upload the video that I was using, hst_1.mpg because it is not a valid extension. Please substitute it with another file before running. Sorry for the inconvenience
    Attachments:
    playpausevid.vi ‏14 KB

  • How to change font size of tree control content programati​cally

    Hi,
    Can I programtically change the font size of  parent item and child item in the tree control.
    In my application the parent and child items are changing  programatically. ie the content of tree control is not constant it is  dynamic.
    I am using labview 8.6
    Thank You
    Assumptha.
    Solved!
    Go to Solution.

    That does work...  
    To keep this line of instruction under the same title, how do you change ALL the text?  not just the active cell?  i've tried double clicking, then editing text properties using the font dialog (ctrl + 0) on a non-running vi, then saved it, and hit run.  but it always reverts to some preset font properties values, and i don't know where they're being set....???
    Any help would be greatly apprec! 

  • Change tab control page programatically using boolean.

    I am wondering if there is a way to programatically change the tabs on tab control when a user clicks a button on  the interface? Here is what I am trying to do and if anybody has any great ideas please let me know. I have a tab control with currently 3 tabs. I want a button on the main area of the vi to go to page 2 and back to page 1 as the user clicks it. The second is that I want about 5 buttons in page 2 that will go to say page 3-5. Any ideas. Thanks
    Derek Tucker
    Derek Tucker
    [email protected]

    Sure, though I don't know why the user can't just click the tabs themselves. All you need is a simple event structure and writing to a local variable of the tab control.
    Attachments:
    tab control.vi ‏43 KB

  • How to create a cluster with a User control (.ctl) programatically using VI scripting?

    Solved!
    Go to Solution.

    It seems that you hit the Post button before you had a chance to use the body of the message to give more detail on what you are trying to do.
    Perhaps you can post whatever VI you have so far and also the user control you are trying to use.

  • Is it possible to open, move and hide the Controls Palette programati​caly?

    I'm currently creating a tools to create and edit VI. And I would like to bring the tool palette programaticaly.
    regards,
    Nitrof

    Nitrof,
    The attached example program uses ActiveX to access the menus in LabVIEW and execute the menu selection based on keys sent to the program. Because this example program uses ActiveX it is only applicable on Windows Operating Systems. To access a menu in LabVIEW this program uses the SendKeys function and an ActiveX container with property nodes to execute the shortcut commands for menus programmatically.
    The Show Tools Palette menu item has "P" key associated with it ("P" is the underlined letter in the name). So, to open the tools palette programmatically, you would specify "SendKeys %wp" in the keys string in the attached VI.
    The Show Controls Palette item has no keys associated by default, so you would have to edit the run-time menu to assign
    this item a key. Use the Set Menu Item Info function (under Application Control>>Menu palette) to set the shortcut key for the Show Controls Palette item. Refer to the LabVIEW Help for more info on this function.
    Zvezdana S.
    Attachments:
    Programmatically_Accessing_Menus_and_Directories_6.0.zip ‏8 KB

  • Controlling Playback Speed on iPod Mini

    I am using iPod to listen to some language lessons (these are not audiobooks, but merely a copy from a language CD uploaded to iTunes+iPod). Unfortunately, the lessons feature dialogs that are way too fast and I would like to slow them down. Is there a way to slow down the playback speed of a song on iPod?

    Do the songs play OK in iTunes on the computer?
    If so
    - Reset the iOS device. Nothing will be lost      
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Unsync all music and resync
    - Reset all settings                            
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                               
    iOS: Back up and restore your iOS device with iCloud or iTunes      
    - Restore to factory settings/new iOS device.                       
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
      Apple Retail Store - Genius Bar

  • Control playback of embedded MP3 using AxAcroPDF

    I have a PDF file that has an embedded MP3.  I would like to be able to control it (mainly pause and play) from the AxAcroPDF control.  The documentation doesn't really tell how this might be done.  There is an execCommand function for the control, but I can't find any documentation on how to use it.
    Dan

    I don't mean to be obtuse here, but I downloaded the SDK and looked at the documentation and can't find anywhere where it references how to do this.  Is there someone who actually knows how to do this (not vague references, but the actual nuts and bolts of how to accomplish it)?  Again, I've got a VB.Net app, I want to be able to show a PDF with an embedded MP3 and control (just pause and play) the audio.  I tried the AxAcroPDF control, but then at the suggestion of someone here I used the WebBrowser control.  Both display the PDF and allow the use the start/pause/play the audio through the on document control, but I want to be able to do this programmatically.
    So anyone actually know how this is done?  An example would be great.
    Dan

  • Programati​cally change control focus to generate and Event.....​.

    I'm adding some user enhancement (anti-screw-it-up functions) to insure the desired process is executed.
    Primary question:  If I have an event that is handles by a value change in a text control, (event happens when you hit Enter or exit control with mouse) will the event also occur if you exit the control by programatically changing the focus to another control ?
    I'm going to try and set up a temp vi to test this but wanted to see if anyone had tried this and if it works or not.  My other option is to set up multiple event cases but I was hoping to use a single case to handle everything.
    A few details,  I have a test system that tests a product automatically when the product is placed in a cradle and the cradle is moved into position and activates a prox sensor.  At end of test, system waits for prox sensor to de-activate before resetting the system.
    If a unit fails, there are rework options and the unit can be retested.  When it fails, a label prints defining the failure modes and provides a failing serial number.  When the unit is retested, the failing serial number is entered into a text control. I want the re-test sequence (queued up in the Event) to occur when either 1, a failing serial number is entered or two a button is pressed (with mouse)  I'm pretty sure pressing a button would in turn automatically create the text control change event so my button can probably be a dummy button just for appearances.
    Where the hole is if the user enters a failed serial # and doesn't exit the control and then engages a pump to start the test.  I can use a 'Empty Path/String' function but the control will continue to show empty as if nothing was entered until the Enter key is pressed or the mouse is used to exit the control.
    If I can generate the event by changing the focus, then it will insure that if a failing s/n is entered, the re-test sequence occurs and if nothing exists in that field, it performs a first time test.
    A little long winded for sure but any thoughts are appreciated.
    Can't really post any simple code as this feature is in my top level vi and I have a really big app that doesn't warrant uploading.
    Doug
    Doug
    "My only wish is that I am capable of learning each and every day until my last breath."
    Solved!
    Go to Solution.

    Actually, changing the focus alone did not trigger the event but I was able to then utilize the Empty Path/String function to drive a Value(Signaling) node for the control.
    Doug
    "My only wish is that I am capable of learning each and every day until my last breath."
    Attachments:
    Event_Structure_Trials.vi ‏29 KB

  • Playback Control

    I have made an Interactive PDF in InDesign with a soundfile that starts playback when clicking a button. I now need to control playback in Acrobat (Stop, Rewind, etc) Is there a Toolbar in Acrobat for that?

    [ moved to the Rich Media forum ]
    There's no "toolbar" to control playback of rich media annotations, but the annotation itself should display a set of playhead controls. If you're not able to use them, you will have to add buttons to the PDF page in Acrobat, and use the custom "Multimedia operation (Acrobat 9 and later)" action type on each button to send a play/pause/seek command to the annotation.

  • Remote iPad/iPhone control

    Hi,
    Need a little help. 
    Have just bought Beosound 8, which Can dock iPod, iPad and iphones.
    However, I cannot control the units Remote by Apple Remote app. It is the iPad/iPhone which Can control iTunes Remote on my MacBook.
    How do I Remote control the iPad/iPhone from my MacBook so When I am using my beosound 8, I Can create playlists and etc etc ???

    You don't.
    Remote app is only for controlling playback on a Mac.
    There are no apps to remote control iOS devices.

  • Your thoughts.. lack of functionality Apple Universal Dock Remote Control

    Most of us that toy around with the a/v out capabilities of the Touch are aware that standard remote control functionality is not currently available with the Apple Universal Dock remote. I can understand how mapping the multi-touch functionality to the remote's 'standard iPod wheel' functionality is like mapping apples (no pun intended) to oranges. But, I would imagine a firmware update could do the trick. However, I think it would be really cool (and expensive) to create a mini multi-touch remote.
    I'd love to hear everyone's thoughts on this.
    I have posted my enhancement request, firmware upgrade first.. new remote second... to Apple's feedback site... please send in your comments if you feel the same way I do... they do listen...
    http://www.apple.com/feedback/ipodtouch.html

    mikeyg54 wrote:
    Most of us that toy around with the a/v out capabilities of the Touch are aware that standard remote control functionality is not currently available with the Apple Universal Dock remote.
    What happens when you try to use the remote with an iPod touch in an Apple Universal Dock? I'd been thinking of getting Apple's dock/remote, especially because the features guide says,
    You can connect iPod touch to your TV and watch your videos on the larger screen. Use the Apple Component AV Cable, Apple Composite AV Cable, or other iPod touch compatible cable. You can also use these cables with the Apple Universal Dock, available separately, to connect iPod touch to your TV. (The Apple Universal Dock includes a remote, which allows you to control playback from a distance.)
    Does the remote have only limited function, then? What does the remote do, or not do?

Maybe you are looking for

  • Setup SSO  for WEB AS 6.20  to SAP R/3 using NTLM or NT Password

    HI, I have installed ITS and configured SNC on SAP R.3 4.7 x 200. When i login from the web browser into the SAP R/3  thru ITS using this url: http://192.168.1.193:82/scripts/wgate/sapntauth/! i get the response like this: Error during authentication

  • Can constant values be accessed through EL?

    I am trying to redo some pages that have used a lot of embedded java and replace that with JSTL and EL. Does EL provide a way to access the value of a constant? If I have a class named MyDefines, and I want to access the value of the constant MY_VALU

  • How to Track the valuation for IC Stock Transfer

    Hi Folk, I have a requirement for Intercompany Stock Transfer Where Plant "A" place PO to Plant "B" and Plant "B" does the Stock Transfer to Plant "A". Both the plant belongs to differnet company code. But both the company code share the same Chart o

  • How Do you Edit the Zone Properties

    I am trying to edit the Zone Properties for my custom portlet. However I can't find the variables (Servlet Aliases and Aliased Servlet Init Parameters ) in the zone.properties file. Can you please explain? I am using Oracle 9iAs and Oracle Portal 3.0

  • Need help on Update query

    Hi, I have 2 tables A and B with below data and description, i want to update Table B when C1, C2 are equal and C3 is not equal by comparing with Table A. If A contains 2 records with same such condition then update any 1 record's different descripti