Script that can choose to play different tracks????

I'm clueless on how to do this but here is the question...
How do I write and place a script that will select a certain track when coming from a transition?
In other words, from the main menu (still menu) if you choose a button it jumps to a transition track. The transition then jumps to the track selected from the menu.
If the same transition is to be used for every button, is there a script to do this utillizing only one transition track instead of having to have one for every button on the menu?
Joel

Most of this is in the manual.
You have 8 registers/variables to play with, GPRMs, in dvdsp. Dvdsp uses the other 8 for it's coding. You can re-name these 8 GPRMs to what you like eg. Button Value or whatever.
The DVD player holds values, SPRMs, in memory that can be read (& some wrtten too). SPRM8 holds the current highlighted button value. B1 = 1024, B2 =2048, B3 = 3072 etc.
Line 1 moves the current value stored in the players memory for SPRM 8 to the register you choose. I chose GPRM 0 but you could choose whatever you want.
Line 2 divides the value now stored in the register (GPRM 0) by 1024. This will give you easier values for you to play with. 1, 2, 3 etc as oppse to 1024, 2048, 3072 etc.
Now the following lines just mean Jump to the track if the value stored in the register equals whatever. If this condition is not met then the next line is read. The last line has no 'if' so the script has an out,
-Jake

Similar Messages

  • Is there dvd software out there that allows you to create a dvd menu in which the viewer can choose to play different sequences of the videos offered?

    Is there dvd software out there that allows you to create a dvd menu in which the viewer can choose to play different sequences of the videos offered? It was described to me as a dvd matrix menu but I can't find anything like it for mac. The idea is that there are multiple videos on the dvd menu and you can choose to play "video A, then B, then C" or "video B, then C, then A", etc, in different orders each time. And it would play the sequence that you choose.

    meghanica wrote:
    I think that's on the right track but I'm wanting something that allows the viewer to choose the sequence when they're looking at the DVD menu. I only see how the creator of the DVD can make different sequences. It's a yoga tutorial DVD and we are wanting the viewer to be able to pick a sequence from the menu items as such: pick one of the 3 warm-up videos, then pick one of the 2 yoga practices and then pick 1 of the 3 cool-down videos and then the dvd will play the sequence of selected warm up, practice, then cool down. And it can be differently chosen every time the viewer uses the menu.
    You can do this on a DVD with DVD Studio Pro.
    DVD's have some very basic storage called SPRM/GPRM scripting IIRC.
    There are a few tutorials around for DVDSP…
    http://www.kenstone.net/fcp_homepage/dvd_language_nattress.html
    http://www.digitalproducer.com/article/DVD-Studio-Pro-Scripting-Part-4-28784
    You use scripts to set values that are stored in a tiny amount of memory on the player & then have to use additional scripts to respond to the values set, so that at the end of a sequence it will jump to the one a user previously chosen.
    Some things to consider…
    DVD's have limits on the number of chapters & titles, you need to plan around that.
    Some DVD players are terrible to navigate, the settings that a user selects will be forgotten when the player is powered off. Users will need to make the choices over & over, every time they use the DVD (computers may remember it - I haven't tested this in years).
    You will also need to setup many variations of menus to be able to indicate what selections they chose.
    It is not a trivial task, you may want to hire a programmer to set it all up.
    Testing is also a lot of work - too many combinations can quickly cause issues for testing, different players can also do odd things too.
    I have used scripting for basic, 'play all' or 'play chapter' menus where the video is encoded once on the DVD & the scripts will either play through, or simply play a chapter & return to the same menu.
    You may find that it would be better to invest in setting up a website with this. On a custom site it would be possible for users to save a playlist or several, they can also share playlists etc, it would be more flexible & usable IMO.
    See roaring apps for info on others who have used DVD Studio Pro with various OS's…
    http://roaringapps.com/app/dvd-studio-pro …it looks like 10.8 may be the last OS to work correctly with DVDSP.
    Other DVD authoring apps may be able to do GPRM scripting too, but you will have to search for them.
    I think the registers are part of the DVD spec, so devices should support them, https://en.wikipedia.org/wiki/DVD-Video

  • How can I get 2 different track from iTunes playing on 2 different stereos?

    We are remodeling a part of our home and decided that this would be the time to install a whole house audio system. We would like to use our iTunes library as a source and be able to play different tracks in different parts of the house (also called zones)
    To put it in a slightly different fashion. I could have a dedicated Mac Mini with my iTunes library and it would feed tracks with meta data to 3 stereos in various parts of the house. Each stereo independently select tracks or playlists.
    iTunes purchased tracks need to work as well.
    Thank you all....

    What you need is to use one Mac (or PC) as a server (and storing all the music) and then one of the following in each room connected to that rooms HiFi system.
    Sonos ZonePlayer see http://www.sonos.com this is the most expensive option but is regarded as the premier multi-room solution.
    Roku SoundBridge see http://www.rokulabs.com (I have three M2000 SoundBridges myself)
    Slim Devices Squeezebox see http://www.slimdevices.com
    Apple TV see http://www.apple.com/appletv (unlike all the above this will require the use of a TV)
    With these, different rooms can play different tracks at the same time with them all stored on the single computer.

  • A script that can be used to track text content changes in indesign?

    Is there a possibility a script that can be used to track text content changes in indesign. My Indesign software's version is CS3. As you can see below, I have deleted some texts and added some. I did it in another software.
    I have been searched for a long time. Because of my poor English, I still can't come up with any Object Model related to the script yet.
    Here is some idea of mine:
    Use the script tracking my revising texts. When I  add some new texts, the texts will be underlined. When I delete some texts, the position of the first character of the removed text will be added a small red triangle or something.
    Thanks in advance.

    Hidden dragon, what does that mean?
    I can't comprehend fully what you said.
    Is IDML short for Indeisgn Markup Language?
    I think you are telling me that I can open the Indeisgn document by using the software InCopy. Then I have change some contents. InCopy will help me tracking the revision.
    getZinger. Do I get your point?

  • I want to know how to create a new script that can be run in batch proces in Photoshop Element 11 ?

    I want to know how to create a new script that can be run in batch proces in Photoshop Element 11 ?

    Have a look at the menu file/process multiple files. You can choose to add your signature (or the caption) to the image and export the new files.
    If that solution is not flexible enough, consider using the very affordable (12$)  Elements+ add-on which offers a 'meta stamp' script :
    http://elementsplus.net/v5/en/meta-stamp.htm
    Otherwise, have a look at other free and good solutions like Faststone Photoresizer, Xnview...

  • Request - Perl script that can parse an ACE config from a VIP

    Has anyone ever written a Perl script that can take the VIP from an ACE config and parse it out into the component parts of the config, ACLs, NATs, Class-map, policy-map, etc. ?
    This seems like something someone must have written already.
    Thanks in advance!

    Any reason you dont want to use XML instead of doing just PERL ?  Its lot easier to do with XML scripts as ACE has a XML interface to query whatever is needed. So that said, you can use a perl to interface ACE via XML. Here's a simple Perl that uses LibCurl:
    #!/usr/bin/perl
    use WWW::Curl::Easy;
    my $numArgs = $#ARGV + 1;
    if ($numArgs<4)
    die("Usage: shusers.pl ip_address username password command\n");
    my $ip = @ARGV[0];
    my $uname = @ARGV[1];
    my $pwd = @ARGV[2];
    my $cmd = @ARGV[3];
    my $curl = new WWW::Curl::Easy;
    my $posturl = "http://$ip/bin/xml_agent/";
    my $xml_cmd = "xml_cmd=<$cmd/>";
    $curl->setopt(CURLOPT_HEADER, 0);
    $curl->setopt(CURLOPT_FRESH_CONNECT, 1);
    $curl->setopt(CURLOPT_URL, $posturl);
    $curl->setopt(CURLOPT_RETURNTRANSFER,1);
    $curl->setopt(CURLOPT_USERPWD,"$uname:$pwd");
    $curl->setopt(CURLOPT_POST,1);
    $curl->setopt(CURLOPT_POSTFIELDS, $xml_cmd);
    $curl->perform;
    my $info = $curl->getinfo(CURLINFO_RESPONSE_CODE);
    print $info;
    Hope this helps.
    Cheers
    V.K

  • What is available on new Windows servers that allow you to write scripts that can work directly with Windows, SQL Server, and Exchange Server?

    What is available on new Windows servers that allow you to write scripts that can work directly with Windows, SQL Server, and Exchange Server?
    a. PowerShell
    b. isql
    c. osql
    d. sqlcmd

    All questions seem to be from the interview or a test. I think I even took this test once, it's KForce test.
    For every expert, there is an equal and opposite expert. - Becker's Law
    My blog
    My TechNet articles

  • I bought 2 songs that can not be played or copied

    Yesterday I bought 2 songs but one can not be played at all and the other you can listen just a few seconds. You can not even play them in itunes. I've previously buy other songs that don't have any problems. When you see the files they seem complete because they are more than 2 minutes long as the songs.
    If I download them again do I have to pay another time? I don´t have any error messages...

    This script will relink dead tracks if they are still n the iTunes folder.
    -> iTunes Track CPR v1.3
    "This script attempts to locate the files of so-called "dead tracks"--iTunes tracks designated with (!)--that you assume are not actually missing but are still located in the iTunes Music folder in their "iTunes File Order" (Music -> Artist -> Album -> file.xxx). Any correct files found will be added to iTunes and will replace the "dead track" in each playlist it appears in (except Smart Playlists). "
    This script will identify songs that iTunes cannot find.
    -> List MIAs v1.2
    "This script checks your iTunes Library for missing (and presumed "dead") tracks--those that iTunes is unable to associate with a local file and which are listed in iTunes with a "!"."

  • I need a script that can save images in whatever directory they reside in

    I am working on a project where I have over 1500 directories that have multiple .TIF images in each one. I am looking for a solution where I can run a script (which may or may not call on actions) that allows me to save each .TIF as a .PSD and again as a .PNG (with specific optimization settings) in the same directory as the original .TIF. The main idea here is I need to be able to run the script and walk away. So I'm looking for a one press option for each directory.
    I can create an action that saves the files in the proper format but when I record the action it saves the file in "folder 1". When I run this action again on "folder 2" it saves the images in "folder 1."  I could certainly make adjustments in the "Batch" dialog box by choosing the over ride "save as" function but the goal is to not have to do that 1500 times.
    So, my question is, is there a single script out there that can save images next to the original .TIFFS regardless of what directory the reside in? I'm no scripting guru, but perhaps the code uses something with a "this" command to specify the folder to save images to? Is this even possible? If so, are there web sites I can buy this from? Is there a scripting community that can provide these services?
    Any help to point me in the right direction is much appreciated.
    Mike

    You could try my Picture Processor ...
    http://www.ps-scripts.com/bb/viewtopic.php?f=10&t=3409&sid=3925f7039423a428ed082feba2c0aee 9
    Use the second download.

  • Duplicate songs on Iphone that can't be played

    Hi all,
    I have 11 songs on my iphone 4s that are duplicates of songs I have, although these duplicates seem to be corrupt because they can't be played.  I can't swipe left to right to delete these songs on the iphone, and under itunes on my mac, I only see one copy of the song.  I've been a little confused so what I did was go to itunes and under iphone, I unchecked sync music.  Ideally, now all the music should be gone, but these 11 useless songs are still there.  I'm not sure what's causing the problem here, and I'm not sure how to delete these 11 songs since I can't delete them from my phone and I can't find them on my computer.  They seem like they don't exist as music files except they show up under my song list.  How do I delete them?
    Thanks!

    Problem fixed.

  • Create a script that can create entire schema with data when run

    Hi,
    I need to create a script that creates the entire schema on a database when the script is run. the need is that the script should be capable of creating all schema objects with grants and all, including the table data.
    The same objective can be achived through export / import.But we don't want to deliver the dump files instead a script which will be executed on a database created with same database stucture of tablespaces etc.
    I have serched the net but yet to achive the goal.
    Is there any oracle utility / script file that can do this for me ?
    Can Oracle import be used to create the same, the way it is used to create index File ?
    Please suggest !!
    Regards

    You should look at the package dbms_metadata to be able to extract all ddl to recreate a schema. To load the data, you could write scripts that will generate insert statements and spool these to a file (sql generating sql), or you could write scripts that generates a delimited file and use sql loader to load the data into the target system. There are lots of little gotchas in either of these 2 solutions. The biggest 2 right away. 1 - picking a delimiter, 2 - dealing with carriage returns in text data. SQL Developer is able to do some extraction, so before you go writing this stuff yourself, I would check it out to see if it does what you are looking for before you reinvent the wheel.

  • Does anyone have a terminal script that can bind Macs to AD?

    Looking to use terminal to bind our Macs to AD. Is there anyone who has done this process before?
    Thanks for the help!

    Personally, we use Casper Suite and that works well especially since it's a 'set and forget' sort of thing.  But I did find this.  I've used some of these commands and this looks thorough. 
    PLEASE BE SURE TO TEST IN YOUR TEST AD ENVIRONMENT!! 
    #!/bin/sh
    ############################ AD_Bind_ARD ###########################
    # Patrick Gallagher | [email protected]
    # http://macadmincorner.com/bind-to-ad-using-apple-remote-desktop/
    # This is a script that will bind a Mac to AD from ARD.
    # Modified from Mike Bombich's ad-bind-login-tiger.sh script
    # which can be found at http://www.bombich.com/mactips/scripts.html
    # Needs to be modified for your enviornment
    computerid=`/usr/sbin/scutil --get LocalHostName`
    # Standard parameters
    domain="domain.school.edu"               # fully qualified DNS name of Active Directory Domain
    udn="username"               # username of a privileged network user
    password="password"                         # password of a privileged network user
    ou="CN=Computers,DC=domain,DC=school,DC=edu"          # Distinguished name of container for the computer
    # Advanced options
    alldomains="enable"               # 'enable' or 'disable' automatic multi-domain authentication
    localhome="enable"               # 'enable' or 'disable' force home directory to local drive
    protocol="smb"                    # 'afp' or 'smb' change how home is mounted from server
    mobile="enable"               # 'enable' or 'disable' mobile account support for offline logon
    mobileconfirm="disable"          # 'enable' or 'disable' warn the user that a mobile acct will be created
    useuncpath="disable"               # 'enable' or 'disable' use AD SMBHome attribute to determine the home dir
    user_shell="/bin/bash"          # e.g., /bin/bash or "none"
    preferred="-nopreferred"     # Use the specified server for all Directory lookups and authentication
    # (e.g. "-nopreferred" or "-preferred ad.server.edu")
    admingroups="YOURDOMAIN\domain admins"     # These comma-separated AD groups may administer the machine (e.g. "" or "APPLE\mac admins")
    # Login hook setting -- specify the path to a login hook that you want to run instead of this script
    ### End of configuration
    # Activate the AD plugin
    defaults write /Library/Preferences/DirectoryService/DirectoryService "Active Directory" "Active"
    plutil -convert xml1 /Library/Preferences/DirectoryService/DirectoryService.plist
    sleep 5
    # Bind to AD
    dsconfigad -f -a $computerid -domain $domain -u $udn -p "$password" -ou "$ou"
    # Configure advanced AD plugin options
    if [ "$admingroups" = "" ]; then
    dsconfigad -nogroups
    else
    dsconfigad -groups "$admingroups"
    fi
    dsconfigad -alldomains $alldomains -localhome $localhome -protocol $protocol \
    -mobile $mobile -mobileconfirm $mobileconfirm -useuncpath $useuncpath \
    -shell $user_shell $preferred
    # Restart DirectoryService (necessary to reload AD plugin activation settings)
    killall DirectoryService
    # Add the AD node to the search path
    if [ "$alldomains" = "enable" ]; then
    csp="/Active Directory/All Domains"
    else
    csp="/Active Directory/$domain"
    fi
    #dscl /Search -create / SearchPolicy CSPSearchPath
    #dscl /Search -append / CSPSearchPath "/Active Directory/All Domains"
    #dscl /Search/Contacts -create / SearchPolicy CSPSearchPath
    #dscl /Search/Contacts -append / CSPSearchPath "/Active Directory/All Domains"
    # This works in a pinch if the above code does not
    defaults write /Library/Preferences/DirectoryService/SearchNodeConfig "Search Node Custom Path Array" -array "/Active Directory/All Domains"
    defaults write /Library/Preferences/DirectoryService/SearchNodeConfig "Search Policy" -int 3
    defaults write /Library/Preferences/DirectoryService/ContactsNodeConfig "Search Node Custom Path Array" -array "/Active Directory/All Domains"
    defaults write /Library/Preferences/DirectoryService/ContactsNodeConfig "Search Policy" -int 3
    plutil -convert xml1 /Library/Preferences/DirectoryService/SearchNodeConfig.plist

  • PS-script that can list all clients in a specific collection and if possible, point out direct members...

    CM2012Sp1Cu1 
    Need a powershell-function that can list all the clients in a specific collection, and then somehow define which of them are direct members. The most important thing for me is to list all the members but it would also be great if I could know which ones are
    direct / query members. 
    Very grateful for all the help I can get!
    TWP

    Here is a very simple example via PowerShell and WMI. It requires your collection id, site code and site server as input. It writes as output the collectionmember plus query, or direct.
    $CollectionId = ""
    $SiteCode = ""
    $SiteServer = ""
    $CollectionMembers = Get-WmiObject -Class SMS_FullCollectionMembership -Namespace root/SMS/site_$($SiteCode) -ComputerName $SiteServer -Filter "CollectionId='$CollectionId'"
    foreach ($Member in $CollectionMembers) {
    if ($Collection.IsDirect -eq "True"){
    $MembershipType = "Direct"
    } else {
    $MembershipType = "Query"
    Write-Host $Member.Name $MembershipType
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • I need a script that can delete duplicate songs within iTunesMedia but not shown on iTunes GUI

    I copied entire music in itunes library A and paste it in itunes library B. I subsequently experimented with import playlist and import .XML files of itunes library A to itunes library B. I notice songs in music folder have been duplicated i.e. the gigabyte of music folder greated than gigabyte shown on itunes GUI.
    Wow, I never knew importing .XML file (through import playlist) will import the songs, the metadata, the artwork and the entire playlist which i never created in the first place (I dont know what else had been imported).
    Anyway, the songs are not duplicated on the iTunes GUI. They are duplicated within iTunesMedia\Music... folders. Can someone provide me a Script to delete these approx. 100GB duplicates. The DeDuper Script I have can only delete duplicate songs displayed on iTunes GUI.
    Thanks for your help as usual.

    The script is only intended to work on things that iTunes would treat as "Exact Duplicates" and it only works on files that are connected to the iTunes library. Before starting all files in your media folders should be added to the iTunes library.
    In the context of the earlier thread, type 1 or logical duplicates are multiple entries to the same file and type 2 or physical duplicates are multiple copies of the same file. Type 2 dupes will have identical tag information (at least they will unless you edit one of them) and the same file size so will thus display as "Exact Duplicates" if present.
    The script avoids the more complex problem of trying to detect and selectively remove what I called type 3 duplicates, that is alternate recordings or rips of the same tune, principally because that is a much harder problem to automate, but also because "best track to keep" from a set of potential candiates will be a subjective matter.
    The current version of the DeDuper script is 1.0.1.2 dated 2nd December 2011. I've just downloaded and run it on a test library. I had 35 tracks that I first duplicated by copying the Music folder into Automatically Add to iTunes. I then renamed Music as Music1, selected each file in turn so that iTunes would "know" the files were missing, renamed the folder back to Music and then dragged & dropped the folder into the library. This created a library of 140 tracks, 35 originals, 35 physical dupes and 70 logical dupes . The script ran as designed and reduced the library back down to 35 tracks with the 35 physical dupes being sent to the recycle bin.
    tt2

  • Is there a script that can prevent videos to work?

    I have a template from template monster , and for some reason
    videos wont play in it , its like it totally ignores the video, so
    i was wondering if template monster put a script somewhere that
    disables video.
    Thanks

    I highly doubt that. I have seen several templates from
    template monster (from people sending me them in order to help
    them), and I have to say that those templates are crap. The code
    they use seems like it came from Flash 5. They are WAY over-coded
    and almost impossible to trace their logic in order to add or
    subtract elements from the template.
    Anyway, I'm sure the video not playing has something to do
    with your code and/or how you are applying it. Can you post
    something to look at (maybe yet another crappy template)...
    lol

Maybe you are looking for

  • Standard Forms messages won't display

    I developed 6i forms using the standard template on Oracle 11.5.4. When I run the form within Apps 11i environment I cannot get the standard messages to display. example: '1 record(s) saved' Any help would be appreciated. Phil

  • R12.1.3:  Post/Request Comments for the Change Order/Change Request API

    Hi Gurus, R12.1.3 Release , Products : ENG / EGO Basically Change management business events represent an activity or task that can be extended or customized. From the user interface we can review and track the Action Log for any Change Management/Ch

  • Facetime won't work

    Usually Facetime worked for me, but lately, it refuses to work. A while ago, Facetime signed off by itself. I tried signing back in, but it kept saying "Facetime Activation: An error occurred during activation. Try again." I tried to change my passwo

  • Cant drag and drop in Mac mail

    So in Mac Mail, I used to be able to drag an email address from the to: line to the cc: line.  I can no longer do this.  Also, I can no longer drag an attachment from the body of an email to the desktop.  I can drag from the desktop to an email but n

  • Play & Pause issue in Captivate 6

    I have created an animation using Flash ( AS3) with some frames and has navigation buttons to go from one frame to another. It works fine when I play it directly. After loading the same file in Captivate 6, when the pause & play button of the Captiva