ACTIVATE SUBTITLES USING SCRIPT

Creating subtitle script in Apple's DVD Studio Pro.
To anyone who can help, this is what we are trying to accomplish in Apple's DVD Studio Pro.
We want to create a script that will allow us to turn on / activate subtitles using some type of memory register that will remember that the user turned on subtitles even after switching to different menus or tracks ( a global setting that can be changed via subtitles on or off buttons).
Please keep in mind that even if you set up a menu with buttons for turning on or off subtitles, you will eventually have a "target" set for that button and if that target is another button that plays a program. That targeted button will likely play a track and that button also must be assigned a value that will either play a subtitle stream on or off.
To further be more specific, what we are doing is setting up 2 identical sets of menus. One set of menus has all of its buttons set to turn on subtitle stream 1 when playing a video track. The second set is programmed not play any subtitle stream. You are directed to either set of menus from either a "subtitles on" or "subtitles off" button (by way of targeting to either set of menus from the subtitles on of off buttons).
The only problem is that when you get to the end of a track being played, there has to be an "end jump" at the end of that track. If that track was currently being played let's say from the subtitles on set of menus, where ( what set of menus - the "on" or "off" set ) do you end jump to? There is no one ideal answer. There has to be some type of memory register that a script could point to that would have recorded (remembers) if the user had turned the subtitles on or off.
For now we have the end jumps set to go back to the set of menus for subtitles off. The only problem is the user has to go back to the subtitles on button again to to turn them back on after viewing each track. (Kind of a pain in the neck).
What we are looking for is a script that will allow us to turn on / activate subtitles using some type of memory register that will act globally and allow us to also get rid of the dual sets of menus.
If anyone can help we sure would appreciate it.
thanks,
michael

Hi Michael
To turn on or off your subtitles this can be done easily in the button inspector. Set your subtitle stream then set where you want that button to go. This will set your stream globally and will remain that way until you change it or eject the disc.
No reason to have dual menus..or am I missing something. It can be hard determining what someone is looking for without being there or seeing a flow chart of the title
Eric

Similar Messages

  • How to activate subtitles using Sony Movies Apps?

    I would like to use the Sony Movies App to watch movies with subs, but when I activate it, no subs appear. Using Movies App ver 7.0.A.0.8

    If you have the subtitle file,try to name it like the movie.But it would be best to use a 3rd party apps like BS player or MX player.
    All we have to decide is what to do with the time that is given to us - J.R.R. Tolkien

  • Activate windows using powershell

    I am after a PowerShell script which can check for OS ,check channel for example if it is on MAK then replace it with a KMS channel and then update windows with a generic KMS key and then activate windows . From command prompt I achieve it
    using
    slmgr /dlv - >to check for channel, If its set to MAK then replace it to KMS using
    slmgr /ipk "KMS generic key as per OS Version "
    and then activate windows using
    slmgr /ato
    Faizan

    Hi Faizan,
    Please note you can also use the cmd "slmgr" in Windows Powershell.
    If you want to activate Windows via powershell script, please check the WMI class SoftwareLicensingService.
    The script below can install the appropriate KMS client key for the detected OS:
    $OSversion = (Get-WmiObject -class Win32_OperatingSystem).Caption
    switch -Regex ($OSversion) {
    'Windows 8.1 Professional N' {$key = 'HMCNV-VVBFX-7HMBH-CTY9B-B4FXY';break}
    'Windows 8.1 Professional' {$key = 'GCRJD-8NW9H-F2CDX-CCM8D-9D6T9';break}
    'Windows 8.1 Enterprise N' {$key = 'TT4HM-HN7YT-62K67-RGRQJ-JFFXW';break}
    'Windows 8.1 Enterprise' {$key = 'MHF9N-XY6XB-WVXMC-BTDCT-MKKG7';break}
    'Windows Server 2012 R2 Standard' {$key = 'D2N9P-3P6X9-2R39C-7RTCD-MDVJX';break}
    'Windows Server 2012 R2 Datacenter' {$key = 'W3GGN-FT8W3-Y4M27-J84CP-Q3VJ9';break}
    $KMSservice = Get-WMIObject -query "select * from SoftwareLicensingService"
    Write-Debug 'Activating Windows.'
    $null = $KMSservice.InstallProductKey($key)
    $null = $KMSservice.RefreshLicenseStatus()
    Refer to:
    Auto-activate a non-domain joined Windows OS using Powershell and a domain KMS host
    Activating Windows with PowerShell
    If there is anything else regarding this issue, please feel free to post back.
    Best Regards,
    Anna Wang
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • How to activate subtitles in DVD Studio Pro

    Hi there,
    So I have my subtitle track in DVD Studio Pro already done. I would like to know how I can make it so that when someone is watching the film, they can press the subtitle button and those subtitles will appear. I think I need to use scripts, but I've read numerous posts online and have yet to find one that explains it clearly enough. Can anyone help and give me a step by step guide through the process? Thanks in advance.

    http://www.kenstone.net/fcphomepage/subtitles_dvdspstone.html

  • Enable/Disable Reporting in OSB using script.

    Hi,
    I have to enable/disable reporting in OSB proxy service using script like python,etc..
    Each and every time we create a session in console and activate the session.
    But as per our requirement, we need to do this activity using script in back end.
    Can anyone help on this.
    Thanks
    Rajesh

    Hi,
    I have to enable/disable reporting in OSB proxy service using script like python,etc..
    Each and every time we create a session in console and activate the session.
    But as per our requirement, we need to do this activity using script in back end.
    Can anyone help on this.
    Thanks
    Rajesh

  • How do I activate a used iPhone 3 with no SIM card for use as an ipod touch?

    How do I activate a used iPhone 3G with no SIM card for use like an iPod Touch? It was apparently on AT&T previously and I have another iPhone 3 that is active on AT&T if that is helpful. Thanks!

    Copied from the link provided.
    Follow these steps to use your iPhone without a wireless service plan:
    Insert the SIM card from your new, activated iPhone or one that was previously used to activate the original iPhone.
    Connect the iPhone to iTunes on a computer connected to the Internet.
    Once iTunes activates the device, you're free to use the iPhone as if it were an iPod touch.

  • Using scripting with networking equipment under Windows

    It can be a challenge to use scripting to automate working with Cisco devices. The Cisco IOS does not seem to directly provide a command line interface. You are forced to find a way to automate interaction with a telnet or ssh session.
    The PERL language provides a number of object-oriented methods to help manage an interactive session, most notably Net::SSH::Expect and Net::Appliance::Session. These options can work well in a Unix environment, but not under MS Windows.
    There are PERL for Windows options, the best probably being Strawberry PERL. There is also a Unix under Windows option known as CYGWIN that is freely available. Unfortunately none of these will work well with the way Windows manages low-level terminal I/O. The curious can google "windows pseudo terminal" to see all the technical details.
    One way that does work under Windows is Tcl.  It was initially named Tool Command Language. It is sometimes shown as Tcl/Tk.
    Interestingly enough, Tcl is included within Cisco IOS as tclsh. There is no interaction with the tclsh and this example. It is just a bit of a curious coincidence.
    A Tcl port to Windows can be downloaded from http://www.activestate.com/activetcl/downloads. Select Download ActiveTCL for Windows. A direct link to the download that worked at the time of writing is Download ActiveTcl 8.5.14 for Windows (x86)
    Once base Tcl has been downloaded and installed there is one other component that will need to be installed from the Tcl Extension Archive, the expect package.
    The teacup program that is installed with the base Tcl package makes this easy. The teacup program will work with a proxy.
    You can set these Windows environment variables to specify proxy details:
    set http_proxy=
    set http_proxy_user=
    set http_proxy_pass=
    Then run teacup install expect
    The plink tool from the PuTTY download is also needed. It can be obtained from http://www.putty.org/.
    The sample that follows assumes that the data files, script and plink.exe executable all reside in the same directory.
    A sample Tcl script follows that reads a file of devices and a file of commands. It will run the list of commands against each device in the device file. It has some basic error checking, but should best be considered a ‘beta’ version. You could do more complex interactions in the Tcl script by adding exp_send and expect command statements. In short, if you can type it you could script it!
    Change directory to where your script, plink.exe  and data is stored and run with  tclsh <script_name>
    devices.list
    # Comment lines are allowed if they start with a hash mark
    # <IP_Addr> <userid> <password> <ssh|telnet> <timeout_in_secs>
    nnn.nnn.nnn.nnn    <userid>    <password>  ssh         <timeout_in_secs>
    nnn.nnn.nnn.nnn    <userid>    <password>  telnet      30
    commands.list
    # term length 0 needed or else IOS will wait for an enter to be pressed at the  --More-- prompts
    term length 0
    show run
    exit
    Script:
    # Run batch commands against one or more devices
    package require Expect
    exp_log_user 0
    set exp_internal 0
    set exp::nt_debug 0
    set prompt "(#\s*$|>\s*$)"
    set env(TERM) dumb
    set file_channel  [open "devices.list" r]
    set DEVICES      [read $file_channel]
    close $file_channel
    set file_channel  [open "commands.list" r]
    set COMMANDS      [read $file_channel]
    close $file_channel
    set command_entries [split $COMMANDS "\n"]
    set device_entries  [split $DEVICES "\n"]
    proc timedout {{msg {none}}} {
          send_user "Timed out (reason: $msg)\n"
          if {[info exists ::expect_out]} { parray ::expect_out }
          exit 1
    foreach device_entry $device_entries {
          if {[string length $device_entry] == 0 || [regexp {[ \t]*#} $device_entry]} { continue }
          set device  [lindex $device_entry 0]
          set user    [lindex $device_entry 1]
          set pass    [lindex $device_entry 2]
          set mode    [lindex $device_entry 3]
          set wait    [lindex $device_entry 4]
          set serial  [lindex $device_entry 5]
          # puts "Device=$device"
          # puts "User=$user"
          # puts "Mode=$mode"
          # puts "Wait=$wait"
          set timeout $wait
          # Spawning the Session
          # If you are logging on to the remote machine using "ssh", "slogin" or "rlogin", the information
          # gets processed in a slightly different manner. With any of these methods, it is necessary to
          # include an additional -l option to specify a username.
          # Next, the $spawn_id variable is captured, storing information about this spawn session in
          # memory for future reference.
          # If you are logging in via Telnet, the final code block in this section is required to pass the
          # username to Telnet. If the login is completed before the script times out, the exp_send command
          # passes the username.
          switch -exact $mode {
                "telnet" { set pid [spawn plink -telnet -l $user $device] }
                "ssh"   { set pid [spawn plink -ssh -l $user -pw $pass $device] }
                "serial" { set pid [spawn plink -serial $serial -l $user -pw $pass $device] }
          set id $spawn_id
          if {$mode == "telnet"} {
                expect -i $id timeout {
                timedout "in user login"
                } eof {
                timedout "spawn failed with eof on login"
                } -re "(login|Username):.*" {
                exp_send -i $id -- "$user\r"
          # Handling Errors
          # The error-handling section of the script is a while loop that anticipates a number of problems
          # that could occur during login. This section is not exhaustive. For example, you could also add
          # provisions for invalid usernames and passwords.
          # If the login is not completed during the allotted time frame, which is set from the devices.list file
          # and specified with expect -i $id timeout, the program displays an appropriate error message.
          # The remainder of this loop makes use of the exp_send command to allow for other scenarios, such
          # as the user typing "yes" when prompted to proceed with the connection, entering a password, or
          # resetting the terminal mode.
          set logged_in 0
          while {!$logged_in} {
                expect -i $id timeout {
                timedout "in while loop"
                break
                } eof {
                timedout "spawn failed with eof"
                break
                } "Store key in cache? (y/n)" {
                exp_send -i $id -- "y\r"
                } -re "\[Pp\]assword:.*" {
                exp_send -i $id -- "$pass\r"
                } "TERM = (*) " {
                exp_send -i $id -- "$env(TERM)\r"
                } -re $prompt {
                set logged_in 1
          foreach command $command_entries {
                if {[string length $command] == 0 || [regexp {[ \t]*#} $command]} { continue }
                # Sending the Request
                # If the login is successful, the code in the if statement below is used to send the "cmd" request
                # to display files and directories. After the request is sent with exp_send, the resulting output
                # is captured in the dir variable, which is set on the fourth line of the code shown below.
                if {$logged_in} {
                      exp_send -i $id -- "$command\r"
                      expect -i $id timeout {timedout "on prompt"} -re $prompt
                      puts "$expect_out(buffer)"
                # Closing the Spawned Session
                # The exp_close command ends the session spawned earlier. Just to be sure that session
                # does indeed close, the exp_wait command causes the script to continue running until a result is
                # obtained from the system processes. If the system hangs, it is likely because exp_close was not
                # able to close the spawned process, and you may need to kill it manually.
          catch { exp_close -i $id }
          exp_wait -i $id
          set logged_in 0
    *** End of Document ***

    Your friend will have to save the templates as CS6, which he can do.

  • I got an iPad mini from a friend who is now passed away and I'm trying to activate it using my Apple ID but it won't let me because I have to contact the previous owner, what do I do!?

    I got an iPad mini from a friend who is now passed away and I'm trying to activate it using my Apple ID but it won't let me because I have to contact the previous owner, what do I do!?

    Take it, the original purchase receipt, and the friend's death certificate to a physical Apple Store and see what they say.
    (110829)

  • How to call text file using Script in Data Integrator

    Dear All,
    Can any one assit me in how to call a text file using script with the help of Data Integrator.
    and one question ?
    M having 32 csv files i want to club thos 32 csv files into one table with the help of Data Integrator, can
    any one assist me.

    mary,
    since you knew the file name ,when clicked in name send to server,read the file and write to servlet outputstream.
    I think this would help you.
    If anything wrong in mycode ..forums will help you further
    BufferedInputStream bis=null;
    BufferedOutputStream bos=null;
    int bytesRead=0;
    byte buff[]=new byte[1024];
    File f=new File(test.txt);
    try{
         bis= new BufferedInputStream(new FileInputStream(f));
         bytesRead=bis.read(buff,0,buff.length);
         if(bytesRead!=-1){
              // create a BufferedOutputStream from ServletOutputStream
              bos=new BufferedInputStream(response.getOutputStream());
              do{
                   bos.write(buff,0,bytesRead);
              }while((bytesRead=bis.read(buff,0,buff.length))!=-1)
    }catch(Exception e){
         ////error handling
         }

  • Create a counter for the rows in a table using script editor?

    Hi ,
    I want to add afield in a particular table  with first field is its serial number . How to use scripting editor to fill the serial number ?
    How to create a counter ?
    Edited by: Rajan.Dexter9 on Jan 30, 2012 9:40 PM

    Hello Rajan,
    Create a field in the table and name it as 'SERIAL'.  Create a variable called 'count' with default value as 0.  Now in script editor, for javascript language and calculate event, write the following script.
    var fields = xfa.layout.pageContent(xfa.layout.page(this)-1, "field", 0);
    for (var i=0; i <= fields.length-1; i++)
         if (fields.item(i).name == "SERIAL")
              count.value = count.value + 1;
                     this.rawValue = count.value;     

  • Change BG color of Panel using script (AS3)

    Dear, all
    I am a newbies in Flex. Now I have some trouble with thw
    sample thing.
    That is how can I change BackgroungColor of panel using
    script(AS3)
    I can do it by mxml BUT!! I really need to change it using
    AS3. Does you know what should I do NEXT.

    When you lookup a component in FB3 help sys, if you see it
    under styles, then you need to use setStyle() in AS, if you see it
    as a property, just use dot notation.

  • Using script to automatically arrange timeline and sceneline workspaces.

    This is a simple demonstration of using VB Script to adjust panels in PE3.
    In PE3, when you adjust the height of the timeline, the height of the sceneline is also adjusted the same amount, and vice versa. You could use script to automatically adjust the height of the sceneline or the timeline whenever you switch respective modes. The script below does that.
    This is for those who are familiar with script writing and the Windows Script Host. The vb script below includes properties and methods from the AutoItX library (free download).
    Option Explicit
    Dim oAutoit, strWinText, strLastTime, lngX, lngY
    Set oAutoIt = WScript.CreateObject("AutoItX3.Control")
    oAutoit.WinWaitActive "Adobe Premiere Elements -"
    strLastTime = "start"
    Do
    ' Quit the script if mousepointer put in upper left corner (0,0).
    lngX = oAutoIt.MouseGetPosX
    lngY = oAutoIt.MouseGetPosY
    if lngX = 0 and lngY = 0 then
    set oAutoIt = nothing
    Wscript.Echo "Your script has ended."
    Wscript.Quit
    end if
    ' Read the text of the window so we can determine the workspace setup.
    strWinText = oAutoIt.WinGetText("Adobe Premiere Elements -")
    ' If DVD Menu tab selected, then don't do anything, otherwise
    ' check if in Sceneline or Timeline mode.
    if instr(strWinText, "DVD Menu") = 0 then
    if instr(strWinText,"EditTimeControl") <> 0 then
    if strLastTime <> "timeline" then
    ' Reset the Edit Workspace and then adjust the timeline panel height
    oAutoit.Send "{alt}wke"
    oAutoit.Sleep 250
    oAutoit.MouseMove 1078, 646
    oAutoit.MouseDown "left"
    oAutoit.MouseMove 1078,400
    oAutoit.MouseUp "left"
    strLastTime = "timeline"
    end if
    else
    if strLastTime <> "sceneline" then
    ' Reset the Edit Workspace and then adjust the sceneline panel height.
    oAutoit.Send "{alt}wke"
    oAutoit.Sleep 250
    oAutoit.MouseMove 1078, 646
    oAutoit.MouseDown "left"
    oAutoit.MouseMove 1078,762
    oAutoit.MouseUp "left"
    strLastTime = "sceneline"
    end if
    end if
    end if
    WScript.Sleep 2000
    loop
    The script might work as-is if your screen is set for 1280 x 1024 and the Premiere Elements 3 window is maximized. Save the script in a text file with a .VBS extension, and then run it. Afterwards click on the Sceneline or Timeline buttons in PE3. It may take up to 2 seconds before the mouse starts moving on it's own. The screen coordinates were ascertained using the AutoIt Info tool.

    You shouldn't make assumptions about what the names of the volumes are - both the Finder and System Events have terminology to determine if a disk is the startup volume (or a local volume, for that matter), for example:
    tell application "System Events"
      repeat with someDisk in (get disks whose startup is false and local volume is true)
        set someDisk to POSIX path of someDisk
        do shell script "diskutil umount " & quoted form of someDisk & " &> /dev/null &"
      end repeat
    end tell
    Note that if you are unmounting a disk from a standard account you will be prompted for administrator authentication.

  • I used scripting brigde to add a movie that has size bigger than 5GB, exactly after two minutes iTunes return a failed, but the processing of the file is actually added to iTunes Library successfully. The copying take more than 5 minutes to complete. Why?

    I used scripting brigde to add a movie that has size bigger than 5GB, exactly after two minutes iTunes return a failed, but the processing of the file is actually added to iTunes Library successfully. The copying take more than 5 minutes to complete. Why the iTunes Scripting Brigde returned failed when it is actually success? It occurred exactly 2 minutes after submit the request to Scripting Brigde. Is this 2 minutes related to the Apple Event time out? if it does, how do I get around this problem? thx

    I can tell you that this is some of the absolutely worst customer service I have ever dealt with. I found out from a store employee that when they are really busy with calls, they have third party companies taking overflow calls. One of those companies is Xerox. What can a Xerox call center rep possibly be able to authorize on a Verizon account?  I'm Sure there is a ton of misinformation out there due to this. They don't note the accounts properly or so everyone can see them. I have been transferred before and have asked if they work for Verizon or a third party also and was refused an answer so, apparently they aren't required to disclose that information. I spent a long time in the store on my last visit and it's not just customers that get the runaround. It happens to the store employees as well and it's beyond frustrating.

  • How to get the handle of all text fields in the subforms, using script

    Hi Friends,
    I have around 20 fields in a subform, how can i get the names of all the fields using script.
    I wish to enhance the following script where the field names are hard coded
    thereby the script itself will get the names of the field names.
    var f1 = this.parent.somExpression + ".TextField2" + ",";
    var f2 = f1 + this.parent.somExpression + ".DropDownList1" + ",";
    var f3 = f2 + this.parent.somExpression + ".NumericField1";
    xfa.host.resetData(f3);
    Any help will be greatly appreciated..
    Thanks
    JJ

    Hi Paul,
    Thanks for your comments.
    I achieved the clear contents by resetting, by taking input from your thoughts..
    form1.sub1.sub2.sub3.table_1.addDelete_Top.addDelete.deleteRow::click - (JavaScript, client)
    //Here is my code finally look like..
    //row 1, table_1 are also subforms
    for (var i=1;i<10;i++){
    var myRow = this.resolveNode("table_1.row1[" + i + "]");
    if(myRow.presence == "hidden"){
    i = i-1;
    var myRowDelete = this.resolveNode("table_1.row1[" + i + "]");
    if(i!=0){
    xfa.host.resetData(myRowDelete.somExpression);
    myRowDelete.presence = "hidden";
    break;
    if(i==9){
    xfa.host.resetData(myRow.somExpression);
    myRow.presence = "hidden";
    break;
    Thanks
    JJ

  • Why do vector lines appear different in my Photoshop document compared to the PDF that was created using "Scripts Layer Comps to PDF"? And how do I get them to look the same?

    Why do vector lines appear different in my Photoshop document compared to the PDF that was created using "Scripts > Layer Comps to PDF"? And how do I get them to look the same?

    BOILERPLATE TEXT:
    If you give complete and detailed information about your setup and the issue at hand, such as your platform (Mac or Win), exact versions of your OS, of Photoshop and of Bridge, machine specs, what troubleshooting steps you have taken so far, what error message(s) you receive, if having issues opening raw files also the exact camera make and model that generated them, etc., someone may be able to help you.
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

Maybe you are looking for