Anyone got this script?

anyone have a script or technique where when you insert a dvd it prompts you for "DTS, Dolby 5.1 or Dolby Stereo" and plays that selected file for the main program from then on out until re-inserted?
DUAL 2 G5   Mac OS X (10.4.3)  

Are you trying to get the user to make a choice, or find out what their DVD player is set up for?
If the former, you can do this with branching menus and setting the audio stream in the property inspector for the menu buttons, no need to script it.
If you want to find out about their player, you'll need to look at SPRM15, I think. Whether or not you can make use of what you find in it is another matter - the player may well be capable of outputting 5.1 (all are, AFAIK), and be set up to do so in a menu somewhere within it, but the user could have conected it to a standard TV only... I would proceed with caution here, since you may only end up with a headache!
Best solution is to present the user with a menu choice to select their preferred audio, then branch into duplicate sets of menus where the buttons activate the correct audio stream.
If you want to set a flag in a GPRM and use scripting within a single set of menus, you would do something like this:
[at the audio menu prompt, when the user selects their audio type]
mov GPRM0, 1 //AC3 selected
Jump main menu
Change the value for each button the user can select (i.e. for each audio type), then at the main menu, every button needs to go to a script before playing the track:
Set System Stream Au(Audio Stream 1)
Jump Trackname
You would set up similar scripts for the different audio types, and in this way only use a single set of menus rather than duplicating a branching set.

Similar Messages

  • Has anyone got a script to read a list of email addresses from a Mail message and put them into a group in Contacts?

    Has anyone got a script to read a list of email addresses from a Mail message header and put them into a group in Contacts?

    Now Tony, I know you can't hear my tone on a forum post but I was not complaining, simply stating facts . This change brought several people in my office to a grinding halt in a long established workflow that is really rather simple (and I thought was already assumed from the original post above ):
    1) Select a set of records in FileMaker Pro 12 and export only their e-mail addresses as a CSV file.
    2) Open that CSV file in Excel.
    3) Copy the column of e-mail address.
    4) paste into the appropriate recipient field in Mail.
    5) Send
    If I were to complain it would be about Apple's typically opaque approach to updates. There is no granular explanation of why changes were made or even "what" changes were made.
    Complaining is futile since Apple is Apple and is unlikely to change, but sometimes it is cathartic to "shout into the void" .
    I had thought about doing something with a formula in Excel and your suggestion was simple and helpful. Again, however, it is only a workaround for a long established helpful behavior that Apple has inexplicably broken/removed in Mavericks Mail.
    I, and the other posters here, would love to have the capability back rather than have to add previously unneeded steps to our workflows.
    Ultimately we may add scripting steps to the FileMaker side to export the address lists with commas inserted already if Apple ends up having permanently removed this feature.

  • Anyone got this experience for SMS?

    Hi all,
    Today i got a serious problem that i've never come across for my SMS.
    When i went to press New Message, planning to write to my friend and after i have send the message, the whole previous chat of my friend's message went missing. And then i check my others previous chat message which is inbox it started to have some bug and after awhile it hangs for 2 seconds and all my inbox went missing, like a new phone.... What happen to my phone, anyone got this problem?
    Please kindly give me advice and help.
    Thank you!
    Regards

    And there's another bug which my message shown as One unread message but i cant find it no matter what or even restart my phone still could't find it.

  • RegisterAlarm - has anyone got this to work?

    I'm trying to get the registerAlarm function to work on a real phone, but it only works one time. I want the Midlet to be executed once every 30 sec, but after the first reschedule it stops rescheduling.
    Does anyone have a clue on what's wrong? I do everything according to the book as far as I know.
    I've looked everywhere, and have not been able to find anyone that actually has got this to work. Is it a bug in Midp 2.0? Does registerAlarm work more than once?
    Below is some of my code that SHOULD work (<My midlet...> is replaced with the full name of my midlet class)
    protected void startApp() throws MIDletStateChangeException {
    try {
    //some code...
    destroyApp(false);
    } catch (Exception e) {}
    protected void destroyApp(boolean unconditional) throws MIDletStateChangeException {
    try {
    scheduleAlarm(30000);
    notifyDestroyed();
    } catch (Exception e) {}
    protected void scheduleAlarm(long nextAlarmTime) throws ClassNotFoundException,ConnectionNotFoundException, SecurityException {
    long nextAlarm = new Date().getTime()+nextAlarmTime;
    try {
    long t = PushRegistry.registerAlarm("<My midlet...>", nextAlarm);
    } catch (Exception e) {}
    }

    ...even starting the Midlet manually to force a rescheduled task won't work, but what is strange, is that if I turn the phone completely off and back on again, I can get it to work one more time.
    I'm confused.

  • Anyone got this error message when going to the creative suite color settings from the bridge ?

    I got this error message saying :"BRIDGE'S PARENT APPLICATION IS NOT ACTIVE, Bridge requires that a qualifying product has to have been launched at least once to enable this feature.
    Plz anyone do you have any tips or help to fix this problem? thank you very much

    What do you have installed, in what form did you acquire it, and what kind of computer you're using please?
    So Bridge doesn't think you have any other Adobe programs installed properly.
    If this isn't a trial or cracked version you're using, you're entitled to free installation support from Adobe by phone.

  • Has anyone got this problem

    Has anyone else got this problem? I Can't open to see my photo's

    Double tap the home button to bring up the multitasking bar, close the Photos app by tapping & holding until it starts to wiggle, tap the red minus sign. Tap the home button when finished. See if doing that fixes things.

  • [Solved] KDE 4.4 Knetworkmanager, has anyone got this to work yet?

    Been trying to get knetworkmanager working on KDE 4.4 and haven't got it to work yet.  Well initially it did work.  Here's the steps I did.
    1) Had network running '/etc/rc.d/network start
    2) Installed 'kdeplasma-applets-networkmanagement'
    3) Commented out interfaces in '/etc/rc.conf' and defined dhcp:
    eth1="dhcp"
    INTERFACES=(!eth0 !eth1 !wlan0)
    4) Set hostname in '/etc/NetworkManager/nm-system-settings.conf':
    [main]
    plugins = keyfile
    [keyfile]
    hostname = pavilion
    5) Added 'networkmanager' to daemon array in '/etc/rc.conf'
    DAEMONS=(syslog-ng crond alsa hal kdm dnsmasq networkmanager cups netfs)
    6) Added 'network' group to user:
    gpasswd -a gen2ly network
    7) Stopped network '/etc/rc.d/network stop'
    8) Brought down interfaces 'ifconfig eth0 down && ifconfig eth1 down && ifconfig wlan0 down'
    9) Started networkmanager
    /etc/rc.d/networkmanager start
    10) Started networkmanager applet (seems to me it was already started but I guess not??)
    11) Got connected to network.
    After reboot however, the networkmanager applet is telling me 'Unmanaged' when I rollover it, and when I click it it says 'Network Management disabled'.  I've tried a couple things (like un-commenting the network devices on the interfaces line and restarting) to no effect.  Doesn't seem I'm able to get it up again.  Anyone else had luck with this?  Did I miss something?
    Last edited by Gen2ly (2010-02-23 22:51:57)

    Ah, anti-destin that is exactly what was needed to be done.  ... Thank you!  Threw be off a bit, it did .
    Off-topic somewhere here now, Ok, a good deal off-topic.. looking at the wiki page for configuring I think the wiki under section, 'Disable interfaces' is erroneous.  Does NetworkManager really parse rc.conf?  I can't think of any reason it would need to.  I'm thinking that NetworkManager would naturally scan and then do dhcp on wired, followed by wireless.  And for those that do a static ip, they can configure the applet.  To test, I put this in my rc.conf:
    #eth0="dhcp"
    #eth1="dhcp"
    #wlan0="dhcp"
    INTERFACES=(!eth0 !eth1 !wlan0)
    And it worked fine.  I'm thinking I could erase them and not have a problem.
    [wiki]Networkmanager#Disable_interfaces[/wiki]
    Last edited by Gen2ly (2010-02-23 06:03:45)

  • E4200 + Vigor 120 ADSL Modem. Has anyone got this to work?

    Hi. I am in the UK. I am using the Vigor 120 in its out of the box configuration which passes a PPPoA connection through as a PPPoE giving the router complete control. It works perfectly with my old DLink DIR 635 cable router.
    The E4200 cannot get an IP address from my ISP. I have tried many hard resets.
    Has anyone actually got these two working together with an ISP that uses PPPoA as it's native standard. If so could you let me know the modem and router settings you used.
    Many thanks.

    Hi, I'm Not in the UK but have the Draytek vigor120 and LinksysE4200 set up,
    Don't quote me on this but I am pretty sure the UK and the New Zealand(where I am) have the same firmware.
    What I did was plug the draytek into the wall jack then I plugged the ethernet cable into my computer for a time,
    When plugged in launch your browser, navigate to 192.168.1.1(default unless you've changed it) then there should be a page there called Internet options with a PPPoa option, make sure it is configured PPPoA, enter your logon info(optional, doesn't make a difference uless you plan to use the draytek by itself sometimes) then select passthrough on WAN link(or something similar) which is located down the bottom of that page (will grey out pretty much all options, then save it.
    Unplug the ethernet from the computer and plug it into the E4200(still connected to the WAN port of the draytek) then plug a ethernet cable(second one) from a computer into port 1. navigate to 192.168.1.1(default for linksys) and select PPPoE out of the options at the top of the page, then fill in your ISP details such as the username and password, click save and then test it(should work-did for me at least)
    dont forget to change the wireless security to manual as the defualt is not very secure, think about a MAC address filter if you dont have a huge number of electronics connecting to it.

  • CF9 and Amazon S3 - Has anyone got this to work?

    I've now sorted my other issues and thanks to everyone who helped me with them - I've now moved on to trying to create a set of services that will connect to the S3 cloud and post and retrieve pdf files in our buckets - We need to be able to supply vast amounts of files to client and the cost of that currently is exorbitant in server disk space compared to with using the cloud
    I've searched all over the net and picked up a number of ways of doing this - None of which seem to be able to generate the correct signature- I'm currently using the cf_hmac stuff from Adobe
    This is my code
    <cfobject component="AmazonWebServices.amazons3" name="amazonS3">
    <cfset s3ServiceKeys = structNew()/>
    <cfset s3ServiceKeys.accessKey = "<MyKey>"/>
    <cfset s3ServiceKeys.secret = "<MySecretKey>"/>
    <cfset s3ServiceKeys.bucket = "<MyBucketName>"/>
    <cfset s3serviceKeys.pdfContentType = "application/pdf"/>
    <cfset s3serviceKeys.gifContentType = "image/gif"/>
    <cfset s3serviceKeys.jpegContentType = "image/jpeg"/>
    <cfset s3serviceKeys.requestType = "cname"/>
    <cfset deliverDir = "<MyDeliverDir>"/>
    <cfset s3Service = amazonS3.init(awsKey="#s3ServiceKeys.accessKey#",awsSecret="#s3ServiceKeys.secret#")/>
    <cfdirectory action="list" directory="#deliverDir#" name="TheFileList" sort="dateLastModified" recurse="no" type="file">
    <cfoutput query="TheFileList">
    <cfset result = s3Service.putFileOnS3(localFilePath="#deliverDir#\#TheFileList.name#",
                                          contentType="#s3serviceKeys.pdfContentType#",
                                          requestType="#s3serviceKeys.requestType#",
                                          bucket="#s3serviceKeys.bucket#",
                                          objectKey="#TheFileList.name#")/>
    <cfdump var="#result#"/>
    </cfoutput>
    This is the AmazonS3Service - more or less a direct copy from here http://www.barneyb.com/barneyblog/projects/amazon-s3-cfc/
    <cffunction name="init" access="public" output="false" returntype="amazons3">
             <cfargument name="awsKey" type="string" required="true" />
             <cfargument name="awsSecret" type="string" required="true" />
             <cfargument name="localCacheDir" type="string" required="false"
                 hint="If omitted, no local caching is done.  If provided, this directory is used for local caching of S3 assets.  Note that if local caching is enabled, this CFC assumes it is the only entity managing the S3 storage and therefore that S3 never needs to be checked for updates (other than those made though this CFC).  If you update S3 via other means, you cannot safely use the local cache." />
             <cfset variables.awsKey = awsKey />
             <cfset variables.awsSecret = awsSecret />
             <cfset variables.useLocalCache = structKeyExists(arguments, "localCacheDir") />
             <cfif useLocalCache>
                 <cfset variables.localCacheDir = localCacheDir />
                 <cfif NOT directoryExists(localCacheDir)>
                     <cfdirectory action="create"
                         directory="#localCacheDir#" />
                 </cfif>
             </cfif>
             <cfreturn this />
         </cffunction>
    <cffunction name="putFileOnS3" access="public" output="false" returntype="struct"
                hint="I put a file on S3, and return the HTTP response from the PUT">
            <cfargument name="localFilePath" type="string" required="true" />
            <cfargument name="contentType" type="string" required="true"  />
            <cfargument name="bucket" type="string" required="true" />
            <cfargument name="objectKey" type="string" required="true" />
            <cfset var gmtNow = dateAdd("s", getTimeZoneInfo().utcTotalOffset, now()) />
            <cfset var dateValue = dateFormat(gmtNow, "ddd, dd mmm yyyy") & " " & timeFormat(gmtNow, "HH:mm:ss") & " GMT" />
            <cfset var signature = getRequestSignature(
                "PUT",
                bucket,
                objectKey,
                dateValue,
                contentType
            ) />
            <cfset var content = "" />
            <cfset var result = "" />
            <cffile action="readbinary"
                file="#localFilePath#"
                variable="content" />
            <cfhttp url="http://s3.amazonaws.com/#bucket#/#objectKey#"
                method="PUT"
                result="result">
                <cfhttpparam type="header" name="Date" value="#dateValue#" />
                <cfhttpparam type="header" name="Authorization" value="AWS #variables.awsKey#:#signature#" />
                <cfhttpparam type="header" name="Content-Type" value="#contentType#" />
                <cfhttpparam type="header" name="x-amz-acl" value="public-read">
                <cfhttpparam type="body" value="#content#" />
            </cfhttp>
            <cfset deleteCacheFor(bucket, objectKey) />
            <cfreturn result />
        </cffunction>
    <cffunction name="getRequestSignature" access="private" output="false" returntype="string">
            <cfargument name="verb" type="string" required="true" />
            <cfargument name="bucket" type="string" required="true" />
            <cfargument name="objectKey" type="string" required="true" />
            <cfargument name="dateOrExpiration" type="string" required="true" />
            <cfargument name="contentType" type="string" default="" />       
            <cfset stringToSign = "#trim(ucase(verb))#\n#contentType#\n#dateOrExpiration#\n/#bucket#/#objectKey#"/>
                <!--- Replace "\n" with "chr(10) to get a correct digest --->
                <cfset fixedData = replace(stringToSign,"\n","#chr(10)#","all")>
                <!--- Calculate the hash of the information --->
                <cf_hmac hash_function="sha1" data="#fixedData#" key="#variables.awsSecret#">
                <!--- fix the returned data to be a proper signature --->
                <cfset signature = ToBase64(binaryDecode(digest,"hex"))>
            <cfreturn signature>
        </cffunction>
    I don't appear to have any problems with what is being passed in - just the signature that is being created - All the code I've found is for earlier than CF9 and I'm therefore wondering if something has changed - although its more likely that I'm doing something I shouldn't be
    I need to be able to get stuff up there programatically before I start creating URL's so - this is a big first step to overcome

    I've actually found a work around for this problem - I took the Amazon S3 Library for Rest in Java http://developer.amazonwebservices.com/connect/entry.jspa?externalID=132&categoryID=47 and compiled the files below com into a jar - Which was dropped into the coldfusion server/lib
    I then used the examples to build the following coldfusion function
    <cffunction name="putFileOnS3" access="public" returntype="any">
            <cfargument name="localFilePath" type="string" required="true" />
            <cfargument name="contentType" type="string" required="true"  />
            <cfargument name="bucket" type="string" required="true" />
            <cfargument name="objectKey" type="string" required="true" />  
            <cffile action="read"
                file="#localFilePath#"
                variable="content" />  
            <cfscript>
                s3conn = CreateObject("java", "com.amazon.s3.AWSAuthConnection");
                s3conn.init("#variables.awsKey#","#variables.awsSecret#");
                s3object = CreateObject("java", "com.amazon.s3.S3Object");
                s3object.init(content.GetBytes());
                headers = createObject("java","java.util.TreeMap");
                contentTypeArray[1] = "#contentType#";
                headers.put("Content-Type",contentTypeArray);
                response = s3conn.put(bucket, objectKey, s3object, headers).connection.getResponseMessage();
                return response;
            </cfscript>  
        </cffunction>
    Which works perfectly - At last - I've just got to build the rest of the suite now so that we can upload, delete, create URLs etc
    Very relieved I found a work around and part of me is very pleased that good old Java provided the solution having spent 9 years as a Java programmer before starting work in Coldfusion

  • Has anyone got a script for displaying a message when attribute combo = 0 stock on hand

        Looking for a script to display the wording back order when stock = 0.
    I am currently using {tag_instock, true, Please choose your customisation,Back Order}
    but that onle displays back order when product disable
    dont want to disbale product

    http://www.acrobatusers.com/tutorials/2007/js_document_scripts/ Entering Document Scripts by Thom Parker
    http://www.adobe.com/devnet/acrobat/javascript.html JavaScript for Acrobat
    You can enter:
    this.getField("todaysDate").value = util.printd("mdyyyyHHMM", new Date());
    or
    function Initialize() { // define action
    this.getField("todaysDate").value = util.printd("mdyyyyHHMM", new Date());
    return true;
    } // end Initialize function
    Initialize(); // call action

  • Multiple AM in CPX file - anyone got this to work ?

    Hi,
    It seems impossible to use multiple application modules from the same CPX file.
    For convenience reasons, I have many AM definitions in my CPX - (which the CPX wizard allows perfectly).
    I can create a first app module and it works perfectly.
    But when I create a second App Module (of a different class) using this :
    pool = JUMetaObjectManager.getJUMom() .createPool("myCPX.secondModule", poolProps);
    // ... create pool session cookie with a unique session ID
    sessioncookie = pool .createSessionCookie(sessionId, sessionId, null);
    // .. then use the AM
    am = sessioncookie.useApplicationModule();
    The AM I get is always of the same class (the first AM I created).
    When decompiling the JUMom code, it appears that to create my pool, it only uses the first half of my definition (myCPX) instead of using the full definition (myCPX.secondModule).
    Is this a bug ? or is there another method to use CPX files containing multiple App Modules ?
    Thanks
    Brice

    This has in fact nothing to do with the CPX file (surely, it was easy to blame it).
    We finally tracked this down.
    In fact the JUMetaObjectManager uses the Application Module configuration name to identify the AM pool.
    If you have two application modules that both have a "TEST" configuration for instance, you will only ever instantiate the first module class.
    Clearly, this seems wrong, the pool should be identified both with the full package name and the configuration name.
    If this is not filed as a bug already, it would be good to see this fixed.
    If this is a feature, then please why but why would anyone benefit from such an implementation ???
    Regards
    Brice

  • JSTL  Has anyone got this working successfully

    Has anyone gotten JSTL or any third party tags to work successfully if so how?  I will award points for good answers

    Basically you can not work with jstl within sap portal. However, if you are willing to do some work, here is what i did:
    At first you have to understand the problem, so here a brief snippet of the generated java source
                 try {
                              int _jspx_eval_hbj_page_2 = _jspx_th_hbj_page_2.doStartTag();
                              if (_jspx_eval_hbj_page_2 == Tag.EVAL_BODY_INCLUDE)
                                throw new JspTagException("Since tag handler class com.sapportals.htmlb.taglib.PageTag implements BodyTag, it can't return Tag.EVAL_BODY_INCLUDE");
                               if (_jspx_eval_hbj_page_2 != Tag.SKIP_BODY) {
                                 try {
                                   if (_jspx_eval_hbj_page_2 != Tag.EVAL_BODY_INCLUDE) {
                                     out = pageContext.pushBody();
                                     _jspx_th_hbj_page_2.setBodyContent((BodyContent) out);
    snip some parts
                             } finally {
                                  if (_jspx_eval_hbj_page_2 != Tag.EVAL_BODY_INCLUDE)
                                       out = pageContext.popBody();
                        if (_jspx_th_hbj_page_2.doEndTag() == Tag.SKIP_PAGE)
                             return;
                   } finally {
                     _jspx_th_hbj_page_2.getBodyContent().close();
                     _jspx_th_hbj_page_2.release();
    The generated code is bad and not foolproof:
    1. sap wrongly assumes that EVERY tag implements BodyTag. This is just not the case
    2. If, for whatever reasons, doStart() throws an exception, the finally block will call getBodyContent().close(), and throw an NullPointerException...
    Basically i had to write wrappers of my own, that implemented BodyTag and replace the used classes in the tld-file to point my wrapper classes.
    Because of the deficiencies in doStart() your wrapper must not ever return null upon calls to getBodyContent(), even if it has not been initialized.
    Of course, this wont get you anywhere near reading your resource bundles within a tag, but thats another story.

  • Apply overrides (Can anyone «cook» this script for me?)

    Hi, everybody!
    Here I am again asking for something: I need a script that clears all overrides that exist in a certain style paragraph that was applied thousands of times in a very long Indesign document.
    Thank you in advance
    Maria

    If it's just one paragraph style: use Search and Replace. Put the same paragraph style in both Search and Replace formatting fields, and make sure there is no text at all in the text edit fields. It seems you want to replace the style with the exact same style ... but in this particular case, every manual override gets fried (to continue your cooking analogy ).

  • Since updating my I phone 5c to ios7.1 yesterday my HSBC fast balance ap will not work! Anyone got this problem ?

    Since updating my I phone 5c yesterday to ios7.1 my HSBC fast balance app has stopped working. Has this happened to anyone else? What's the fix?

    I had this problem and realised that after the update my Wi-Fi wasn;t connected.  Once I reconnected to Wi-Fi everything worked again.  Wouldn't work in 3G mode (at least when reinstalling the app and using the activation code).  Once I activated in Wi-Fi mode it started working...

  • ANyone got this "portfolio style" case?

    Found this at Hand Held and it looks OK but the stiching seems screwed up in the photos suggesting build is sloppy--if you've got one of these please do a review? Maybe with a close up picture or two?
    http://www.handhelditems.com/kroo-ipad-melrose-leather-case-black-preorder-only- 4302010-p-132542.html

    I wound up returning the Apple case because of its cheap build and difficulty getting the iPad in and out of it. Bought a Belkin "vue"-type case at BB for $15 less than the one on sale at the Apple store but hate slipping it in and out just to check an email or phone number. Never a good place to put the case once you have the iPad out.
    I found this one at Marware, ordered it and received it in two days. Total cost of $44.99 including shipping and no tax. I'm very happy with it. Build quality is great, it's stylish and compact. A little flip-out stand on the inside makes for a good typing angle. I'm still playing with how best to watch videos on airplanes but I can generally raise it up enough to make for a good movie experience.
    YMMV but this one is a keeper!
    http://www.marware.com/products/iPad/Eco-Vue-for-iPad

Maybe you are looking for

  • Avoiding the repaint of all components in an JApplet

    Hello everyone, Thannks to all who gave me advices for the two JComboBoxes I had...finally I found two "if" conditions in the actionPerformed of the first JComboo which restricted the list of elements posted in the second one. I have a much bigger pr

  • Photoshop Elements 8 has stopped working. Error 150:30

    I recently upgraded my Mac's operating system to Maverick 10.9. Now my Photo shop Element 8 is showing error 150:30 and not working. I think I need to download some thing but cannot see how or where to find how?

  • Virtual KF & CHA (RSR_OLAP_BADI )

    HI Gurus, I implemented the BAdI RSR_OLAP_BADI  to fill virtual keyfigures and characteristics. But somehow it does not work. I coded an endless loop in badi to check if and what it is doing. But apparently the BAdI is not executed when I run the que

  • Setting up WDS on DPC3825

    I have a DPC3825 from Shaw Cable in Canada. I'd like to use my Airport Extreme as a repeater using WDS. I've clicked the checkbox for "Allow wireless signal to be repeated by a repeater" and entered my Airport's MAC Address, but my Airport Base sta

  • BAPI - Sales document - Copy control issues

    Hi, I am creating a Credit memo referencing an invoice using the function "SD_SALESDOCUMENT_CREATE'. I get the invoice pricing details using RV_INVOICE_DOCUMENT_READ. Populate the inputs manually and pass those values to SD_SALESDOCUMENT_CREATE' with