[OpenBox]"Moc Controller" Pipemenu script

Hey guys,
I really like Moc and I use Openbox. My aim was to use Rootmenu to control and see song played.
So, I decided to write a script with all fonctions I needed. I just wanna precise that I imagine there is already something like that, but i didn't find it.
And I'm proud to use my work for my system.
I will explain you how it works:
If you didn't launched Moc, it will show you a message and it won't show "Controls" section:
If you started Moc but not listening to music, it shows:
An optional info is "Bitrate", you can activate it (uncomment lines on script). Disabled by default:
When the track is paused, you'll see that info:
For wave files, there aren't id3 tags and it can't show a good tilte, so it shows a message:
I did many improvements under the script and I'll add for sure others informations (.ogg support). If you have some questions, you can ask me here.
Current version is 1.06. You can download it here: https://github.com/Ypnose/Openbox/blob/ … mocinfo.sh
I recently added a better support when the file (.mp3) has bad tags. That's why, I used to query title:
mocp -i | grep Title | sed -e 's/&/&/' -e 's/Title: //' -e '/^Song/d'
instead of:
mocp -i | grep SongTitle | sed -e 's/&/&/' -e 's/SongTitle: //'
Indeed, when the file has no tags except for Title, if you use 2nd command, you will have a strange name. With the first one, you have the entire title.
Cheers guys!
Last edited by Ypnose (2011-06-03 21:32:35)

Hello,
I have ported it to Python 3 and to not generate XML by hand. But it seems that Gio has problems on Python 3. On my machine it Segfaults (see comment in the code).
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from xml.etree import ElementTree as ET
from gi.repository import Gio
def main():
sub_id = 0
_volmon = Gio.VolumeMonitor()
# The next line gives a Segfault on my up-to-date ArchLinux system
drives = _volmon.get_connected_drives()
root = ET.Element('openbox_pipe_menu')
for drive in drives:
volumes = drive.get_volumes()
if volumes:
drive_name = drive.get_name()
_id = 'drives-sub-menu-{}'.format(sub_id)
menu = ET.SubElement(root, 'menu',
attrib={'id': _id, 'label': drive_name})
for volume in volumes:
volume_name = volume.get_name()
volume_id = volume.get_identifier('unix-device')
mount = volume.get_mount()
icon = volume.get_icon()
if isinstance(icon, Gio.ThemedIcon):
icon_name = icon.get_names()[0]
else:
icon_name = ''
if mount:
volume_name = '[{}]'.format(volume_name)
item = ET.SubElement(
menu, 'item', attrib={'label': volume_name,
'icon': icon_name}
action = ET.SubElement(item, 'action',
attrib={'name': 'Execute'})
command = ET.SubElement(action, 'command')
_mnt = 'un' if mount else ''
command.text = 'udisksctl {}mount -b {}'.format(_mnt, volume_id)
sub_id += 1
return root
if __name__ == '__main__':
root = main()
print(ET.dump(root))
Maybe I am missing a package.
Whitie

Similar Messages

  • Openbox not launching shell scripts

    So I have some shell scripts, more specifically scripts that launch some games [AtomZombieSmasher, VVVVVV, the humble indie bundles basically]. They just don't launch. They work via terminal launch, but they don't work when I add to them to the Openbox menu. I've even tried adding "xterm -e /path/to/game/AtomZombieSmasher" and an xterm window just flashes on screen. VVVVVV just flashes on screen regardless of the changes I make.
    I'm not sure what the cause of this is, and googling hasn't helped much either. So, any ideas?

    It doesn't do anything, I don't even see my CPU usage rise when I click on the menu item. It just launches right away when I launch the "AtomZombieSmasher" file via terminal with './AtomZombieSmasher'
    Here's the script for Atom Zombie Smasher:
    #!/bin/bash
    # enter the game directory.
    cd ./data
    # execute the game.
    ./atomzombiesmasher "$@"
    AtomZombieSmasher directory:
    -rwxr-xr-x 1 squid users 99 Aug 23 23:45 AtomZombieSmasher
    drwxr-xr-x 3 squid users 4096 Aug 23 23:45 data
    -rw-r--r-- 1 squid users 0 Aug 24 16:54 directory
    -rwxr-xr-x 1 squid users 29169 Aug 23 23:45 readme.htm
    Other games like VVVVVV and World of Goo do the same. World of Goo even changes my resolution and then quits. VVVVVV just flashes in a window on screen and promptly quits.
    VVVVVV:
    #!/bin/sh
    # Change to game directory
    CANONPATH=`readlink -f "$0"`
    cd "`dirname "$CANONPATH"`"
    # Check resource folders exist
    if [ ! -e data ]
    then
    echo "You are missing games resources `pwd`"
    echo "Your installation is incomplete!"
    echo 1
    fi
    MACHINE=`uname -m`
    if [ "$MACHINE" = x86_64 ]
    then
    LIBS=./LIB64
    BIN=./VVVVVV_64
    else
    LIBS=./LIB32
    BIN=./VVVVVV_32
    fi
    # Run the game:
    export LD_LIBRARY_PATH=$LIBS:"$LD_LIBRARY_PATH"
    $BIN $@
    VVVVVV Directory:
    drwxr-xr-x 6 squid users 4096 Aug 23 23:45 data
    -rw-r--r-- 1 squid users 0 Aug 24 16:52 directory
    drwxr-xr-x 2 squid users 4096 Aug 23 23:45 LIB32
    drwxr-xr-x 2 squid users 4096 Aug 23 23:45 LIB64
    -rwxr-xr-x 1 squid users 445 Aug 23 23:45 VVVVVV
    -rwxr-xr-x 1 squid users 4499732 Aug 23 23:45 VVVVVV_32
    -rwxr-xr-x 1 squid users 4370080 Aug 23 23:45 VVVVVV_64
    NOTE: I've been editing the menu with Obmenu, I find it easier to use that than to go in and manually edit the menu.xml
    I can also ls -lR the directories if you'd like
    Last edited by Squiddles (2011-08-24 20:56:08)

  • Photoshop brush size controller AutoHotKey script

    Hi,
    I've made a free utility for Photoshop (Windows-only) written with AutoHotKey that allows to adjust the brush size while drawing by pressing CTRL+right button and dragging the mouse to the left/right, in a way similar to Photoshop CS4. It also allows to change the opacity and flow values by moving the mouse up and down.
    All the information and the download link can be found here:
    http://www.carbodydesign.com/archive/2008/09/30-photoshop-brush-controller/
    Any feedback is welcome!
    Thank you,
    Marco Traverso
    Car Body Design

    In my opinion, there's nothing wrong with your choice of Spot Healing Brush for this image. I cropped your screenshot to the "BEFORE" image, removed the "BEFORE" type (with the SHB) and scaled to 600% to match your original document.
    A dab of a 0% hardness 500 pixel Spot Healing Brush in Ps CS5.1 on OS X 10.6.8 worked perfectly. However, I would have made a vertical stroke with the brush at about 80% hardness and about 200 pixels, which also works for me.
    Maybe your SHB is working in "Create Texture" mode despite specifying "Proximity Match" in Options bar. Try resetting the SHB by right-clicking its icon at left of Options bar and picking "Reset Tool" from the menu that appears.

  • Bash script workaround for intel backlight problems

    Hi all,
    I have LXDE with kernel 2.6.30, xf86-video-intel-newest (2.8 rc) on my Samsung NC10, and like many people I have been unable to change the backlight settings in X with kms turned on.
    I have tried the various solutions on the forum and none of them work for me, so here are two little bash scripts that use the setpci command to change the backlight.
    Note 1: I have a little file .backlight in my home dir that I store the backlight setting because I don't know how to read the value back from the pci address. So if you use this script you need to do this first:
    echo FF > ~/.backlight
    Note 2: These scripts also requre bc from extra to do the hex conversion & maths.
    sudo pacman -Sy bc
    It's only 240 K in size, but if you are trying to keep the number of installed packages low, then you won't like this
    Here is the package details from pacman:
    Name : bc
    Version : 1.06-5
    URL : None
    Licenses : GPL
    Groups : None
    Provides : None
    Depends On : readline
    Optional Deps : None
    Required By : None
    Conflicts With : bc-readline
    Replaces : bc-readline
    Installed Size : 240.00 K
    Packager : Allan McRae <[email protected]>
    Architecture : i686
    Build Date : Sat 02 Aug 2008 14:18:04 IST
    Install Date : Thu 25 Jun 2009 16:06:53 IST
    Install Reason : Explicitly installed
    Install Script : No
    Description : An arbitrary precision calculator language
    bc /usr/
    bc /usr/bin/
    bc /usr/bin/bc
    bc /usr/bin/dc
    bc /usr/share/
    bc /usr/share/info/
    bc /usr/share/info/bc.info
    bc /usr/share/info/dc.info
    bc /usr/share/man/
    bc /usr/share/man/man1/
    bc /usr/share/man/man1/bc.1.gz
    bc /usr/share/man/man1/dc.1.gz
    You also need to know the address of you graphics card:
    lspci | grep Display
    For me this returns:
    00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
    This is needed for this command in the scripts:
    sudo setpci -s 00:02.1 F4.B=$var3
    Note the 00:02.1 is the address for my laptop screen, 00:02.0 is the address for the vga out controller for me.
    Increase backlight:
    #!/bin/bash
    var1=`cat ~/.backlight`
    var2=`echo "16 i $var1 F + p"|dc`
    if (( ( "$var2" \> "-1") && ( "$var2" \< "256" ) ));
    then
    var3=`echo "10 i 16 o $var2 p"|dc`
    echo $var3 > ~/.backlight
    sudo setpci -s 00:02.1 F4.B=$var3
    fi
    Decrease backlight:
    #!/bin/bash
    var1=`cat ~/.backlight`
    var2=`echo "16 i $var1 F - p"|dc`
    if (( ( "$var2" \> "-1") && ( "$var2" \< "256" ) ));
    then
    var3=`echo "10 i 16 o $var2 p"|dc`
    echo $var3 > ~/.backlight
    sudo setpci -s 00:02.1 F4.B=$var3
    fi
    Obviously someone else can write a much smarter/better set of scripts than me, but I hope is can be of use for someone!
    Edit:Here are my openbox bindings for the scripts:
    <keybind key="XF86MonBrightnessUp">
    <action name="Execute">
    <command>~/bin/blightu.sh</command>
    </action>
    </keybind>
    <keybind key="XF86MonBrightnessDown">
    <action name="Execute">
    <command>~/bin/blightd.sh</command>
    </action>
    </keybind>
    Last edited by makimaki (2009-07-11 14:26:08)

    FYI: The new xf86-video-intel (2.9) has just been released:
    http://article.gmane.org/gmane.comp.fre … xorg/40733
    According to the release announcement, the new driver fixes the backlight issue with KMS:
    * Add support for BACKLIGHT property when using kernel modesetting
      (KMS). This allows backlight adjustment with programs such as
      "xbacklight -set <percentage>" or "xrandr --set BACKLIGHT <value>".

  • Front Controller in Web Logic

    I am currently working on a front controller.
    WHat i whant to do is pass all call to object on my server through this controller
    like this
    a get for /Info.jsp is caught by the /* servlet url pattern
    next i will handle and check things.
    Finally a want t pass the user the Page.
    This causes a loop.
    Anybody any ideas on how to solve this in web logic

    I think what you need to do is make sure that your scripts are not stored in the root path of your application.
    In your example you are using the root context to trap all requests incoming, processing that request and then presumably trying to forward or redirect to the /login.jsp page after initial processing. Unfortunately requests sent to /* are intercepted and passed to your controller so the attempt to forward to /login.jsp loops back through your server repeatedly.
    Perhaps if you map your controller servlet to a different context to the one where you store your scripts you will then be able to forward successfully
    e.g map the context /members/* to your controller, but store your scripts in the /private context - /private/login.jsp . Then provide a mapping in your controller between script name and actual script location, do a lookup and forward accordingly.
    if you make sure that all your links within your application point through /members/ they will always be processed through your controller. For example the login page would be accessed as /members/login.jsp but after processing in your controller you do a look up and see that login.jsp is in private so you forward your request to /private/login.jsp .
    Well, thats how I would approach it anyway ....

  • Triggerring new page in the script

    Hi
    can anybody tell me how to trigger a new page in the script on condition.
    my problem is i want to print material & its discription based on the MRP controller using scripts.
    if the MRP controller changes then it has to trigger a new page in the script.
    page 1.
    MRP controller 102
    material1  material1-discription.
    material2 material2-discritpion.
    new page shoud trigger here
    page 2
    MRP Controller 103
    material1  material1-discription.
    material2 material2-discritpion.
    Thanks in advance

    Hi,
    First Call That text Element Were U Used New-page Coomand.
    SAPscript automatically inserts a page break when the main window of a page (MAIN) is full. You can use the NEW-PAGE command to force a page break in the text at any point you want one. The text following this command then appears on a new page. The page break is always performed (it is an unconditional page break).
    The NEW-PAGE command completes the current page. This means that all the windows that are still on the page are printed immediately. If you use the NEW-PAGE command without parameters, the page defined in the current form as the next page will be taken next. If, however, your form contains a number of different pages, then you can specify any one of these as the next page to be used.
    Syntax:
    /: NEW-PAGE page_name
    /: NEW-PAGE
    The current page will be completed and the text in the following lines will be written to the page specified in the form.
    /: NEW-PAGE S1
    As above, except that the page S1 will be taken as the next page.
    If, in a NEW-PAGE command, you specify a page not contained in the form, the specification is ignored.
    Take care that there are no blank lines immediately before a NEW-PAGE command. If an implicit page break occurs within the blank lines, an unexpected blank page may be printed.
    2.it can be set in two way
    1 using SE71 ur Script transaction
    u can create new page by clicking page tab in Se71 and goto edit->create Element.. that will create a new page..
    2 Using ur SE38 itself by setting a flag variable = X u can create a new page..
    if page = ' X '.
    new-page.
    endif.
    reward if helpful
    Shiva Kumar

  • Ie9 flash object not showing when wmode is set

    I'm searching and searching but do not find any solution for this.
    We're having a flex web application that is working fine until now. We're using until recently the google maps flash api, unfortunately this is already deprecated and will disappear completely in september 2014. Therefor we moved the whole integration to the js v3 api, which is working fine. The whole thing is an overlay over the application, since everything is moved to js, I added the property wmode to the object in html and set it to opaque in order to be able to layer everything. It's working fine for most people, but some (including my boss) are seeing a blank screen. Seems that nothing happens (although the swf loads), and I can not figure out why. Same browser (ie 9 or 10), same flash player version (11.6.xxx). Browser cache cleared, flash player cache cleared...
    Somebody having a clue? Removing the wmode-property solves the issue, but then I'm not be able to get my map on top of the application.
    The swf is definetly loading since I see calls made to the server in order to login etc. It's also not a flash player issue. The swf-file is directly accessable and rendering if done so.
    Thanks
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <!-- saved from url=(0014)about:internet -->
    <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
    <!--
    Smart developers always View Source.
    This application was built using Adobe Flex, an open source framework
    for building rich Internet applications that get delivered via the
    Flash Player or to desktops via Adobe AIR.
    Learn more about Flex at http://flex.org
    // -->
    <head>
        <title>${title}</title>
        <meta name="google" value="notranslate" />  
        <meta http-equiv="X-UA-Compatible" content="IE=10; IE=9;"/>     
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <!-- Include CSS to eliminate any default margins/padding and set the height of the html element and
             the body element to 100%, because Firefox, or any Gecko based browser, interprets percentage as
             the percentage of the height of its parent container, which has to be set explicitly.  Fix for
             Firefox 3.6 focus border issues.  Initially, don't display flashContent div so it won't show
             if JavaScript disabled.
        -->
        <style type="text/css" media="screen">
            html, body  { height:100%; }
            body { margin:0; padding:0; overflow:hidden; text-align:center;
                   background-color: ${bgcolor}; }  
            object:focus { outline:none; }
            #flashContent { display:none;}
        </style>
        <!-- Enable Browser History by replacing useBrowserHistory tokens with two hyphens -->
        <!-- BEGIN Browser History required section ${useBrowserHistory}>
        <link rel="stylesheet" type="text/css" href="history/history.css" />
        <script type="text/javascript" src="history/history.js"></script>
        <!${useBrowserHistory} END Browser History required section --> 
        <!--  BEGIN OogScreening -->
        <script src="PlusOptixSync.js" language="javascript"></script>
        <!--  END OogScreening -->
         <script language="javascript">
            function getEIDxml()
              var strXML = document.MirageApplet.readCardAsXMLString() + " ";
              return strXML;
            function setOuterSize()
                var nomWidth = 1280;
                var nomHeight = 800; // 786 viewable in fullscreen
                var actWidth = nomWidth;
                var actHeight = nomHeight + 150 - 30; // fullscreen change coeff (ruimte die we winnen door f11) - taakbalk
                window.resizeTo(actWidth, actHeight);
                //window.outerWidth = actWidth;
                //window.outerHeight = actHeight;
                //script die de F1 help functionaliteit van de browser afzet. Dit is nodig omdat IE de F1 functionaliteit van de flex applicatie onderdrukt
                document.onhelp=new Function("return false");
                window.onhelp=new Function("return false");
        </script>  
        <script type="text/javascript" src="swfobject.js"></script>
        <script type="text/javascript">
            // For version detection, set to min. required Flash Player version, or 0 (or 0.0.0), for no version detection.
            var swfVersionStr = "${version_major}.${version_minor}.${version_revision}";
            // To use express install, set to playerProductInstall.swf, otherwise the empty string.
            var xiSwfUrlStr = "${expressInstallSwf}";
            var flashvars = {};
            var params = {};
            params.quality = "high";
            params.bgcolor = "${bgcolor}";
            params.allowscriptaccess = "sameDomain";
            params.allowfullscreen = "true";
            params.wmode = "transparent";
            var attributes = {};
            attributes.id = "${application}";
            attributes.name = "${application}";
            attributes.align = "middle";
            swfobject.embedSWF(
                "${swf}.swf", "flashContent",
                "${width}", "${height}",
                swfVersionStr, xiSwfUrlStr,
                flashvars, params, attributes);
            // JavaScript enabled so display the flashContent div in case it is not replaced with a swf object.
            swfobject.createCSS("#flashContent", "display:block;text-align:left;");
        </script>
          <!-- Groeicurven 5.0 scripts -->
          <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>
          <script src="http://code.highcharts.com/highcharts.js"></script>
          <script src="http://code.highcharts.com/modules/exporting.js"></script>
          <script type="text/javascript" src="../js/util/Namespace.js"></script> 
          <script type="text/javascript" src="../js/util/mirage-services.js"></script>
          <script type="text/javascript" src="../js/util/mirage-binding-utils.js"></script>
          <script type="text/javascript" src="../js/util/mirage-event-dispatcher.js"></script>
          <script type="text/javascript" src="../js/util/groeicurven-highcharts-constants.js"></script>
          <script type="text/javascript" src="../js/util/groeicurven-highcharts-theme.js"></script> 
          <script type="text/javascript" src="../js/util/groeicurven-highcharts-config.js"></script>
          <script type="text/javascript" src="../js/util/groeicurven-highcharts-factory.js"></script> 
          <script type="text/javascript" src="../js/util/groeicurven-highcharts-zoomer.js"></script>
          <script type="text/javascript" src="../js/util/groeicurven-highcharts-formatter.js"></script>      
          <script type="text/javascript" src="../js/util/groeicurven-highcharts-prototype.js"></script>
          <script type="text/javascript" src="../js/groeicurven-events.js"></script>             
          <script type="text/javascript" src="../js/groeicurven-controller.js"></script>
          <script type="text/javascript" src="../js/groeicurven-flex-bridge.js"></script>
          <script language="javascript">
                initGroeicurvenFlexBridge("${application}");
          </script>           
        <!--  BEGIN GoogleMaps -->
        <link rel="stylesheet" href="../css/google-maps.css">
        <script src="http://maps.googleapis.com/maps/api/js?sensor=false"></script>
        <script type="text/javascript" src="http://google-maps-utility-library-v3.googlecode.com/svn/trunk/styledmarker/src/StyledMarker.js"></script>
        <script type="text/javascript" src="../js/util/cvi_busy_lib.js"></script>
        <script type="text/javascript" src="../js/google-maps-events.js"></script>
        <script type="text/javascript" src="../js/google-maps-controller.js"></script>
        <script type="text/javascript" src="../js/google-maps-mediator.js"></script>
        <script language="javascript">
            function openMaps(data)
                document.getElementById('mapsContent').style.visibility ="visible";
                document.getElementById('optionsList').style.visibility ="visible";
                document.getElementById('activeCheckboxDiv').style.visibility ="visible";
                document.getElementById('mapsContent').style.zIndex = 100;
                onLoadHandler(data);
            function adresFoundHandler(marker, filtereEnabled){
                document.getElementById('mapsContent').style.visibility ="hidden";
                document.getElementById('optionsList').style.visibility ="hidden";
                document.getElementById('activeCheckboxDiv').style.visibility ="hidden";
                document.getElementById('activeCheckbox').style.visibility ="hidden";
                document.getElementById('mapsContent').style.zIndex = 0;
                clearLocations();
                ${application}.responseGoogleMaps(marker, filtereEnabled);
        </script>         
        <!--  END GoogleMaps -->   
    </head>
    <body scroll="no" onLoad="setOuterSize();">
        <!-- SWFObject's dynamic embed method replaces this alternative HTML content with Flash content when enough
             JavaScript and Flash plug-in support is available. The div is initially hidden so that it doesn't show
             when JavaScript is disabled.
        -->
        <div id="flashContent">
            <p>
                To view this page ensure that Adobe Flash Player version
                ${version_major}.${version_minor}.${version_revision} or greater is installed.
            </p>
            <script type="text/javascript">
                document.write("<a href='http://www.adobe.com/go/getflashplayer'><img src='get_flash_player.gif' alt='Get Adobe Flash player' /></a>" );
            </script>
        </div>
        <noscript>
            <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="${width}" height="${height}" id="${application}">
                <param name="movie" value="${swf}.swf" />
                <param name="quality" value="high" />
                <param name="bgcolor" value="${bgcolor}" />
                <param name="allowScriptAccess" value="sameDomain" />
                <param name="allowFullScreen" value="true" />
                <param name="wmode" value="transparent" />
                <!--[if !IE]>-->
                <object type="application/x-shockwave-flash" data="${swf}.swf" width="${width}" height="${height}">
                    <param name="quality" value="high" />
                    <param name="bgcolor" value="${bgcolor}" />
                    <param name="allowScriptAccess" value="sameDomain" />
                    <param name="allowFullScreen" value="true" />
                <!--<![endif]-->
                <!--[if gte IE 6]>-->
                    <p>
                        Either scripts and active content are not permitted to run or Adobe Flash Player version
                        ${version_major}.${version_minor}.${version_revision} or greater is not installed.
                    </p>
                <!--<![endif]-->
                    <a href="http://www.adobe.com/go/getflashplayer">
                        <img src="get_flash_player.gif" alt="Get Adobe Flash Player" />
                    </a>
                <!--[if !IE]>-->
                </object>
                <!--<![endif]-->
            </object>
        </noscript> 
        <noscript>Your browser does not support JavaScript!</noscript>
        <applet
          id ="MirageApplet"
          codebase = "AppletLibs"
          archive  = "kg-eid-tools-2.6.jar,beidlib-1.1.jar,jdom-1.0.jar,joda-time-1.6.jar,commons-lang-2.4.jar"
          code     = "be.kg.mirage.MirageApplet.class"
          name     = "MirageApplet"
          hspace   = "0"
          vspace   = "0"
          style="width: 0px; height: 0px;">
            <param name="Reader" value="">
            <param name="OCSP" value="0">
            <param name="CRL" value="0">
            <param name="DisableWarning" value="true">
        </applet>
        <div id ="mapsContent">
            <h3 id="typeLabel">Google Maps</h3>
            <select id="optionsList"></select>
            <input id="searchInput" type="text"></input>
            <div id="activeCheckboxDiv">
                <input id="activeCheckbox" type="checkbox"></input>
                <label for="activeCheckbox">Toon enkel actieve locaties</label>
            </div>
            <button id="searchButton" type="button" class="secondElementButton">Zoeken</button>
            <button id="annuleerButton" type="button" class="annuleerButton">Annuleer</button>
            <ul id="locations" class="thirdElement"></ul>
            <div id="canvasMap"></div>
        </div>

    This means that the SWF is written so that it only works when
    embedded in a web page. When you add the SWF to the stage as a
    stand-alone display object using addChild() it is not being hosted
    in the web page.
    You have 2 options:
    1. Modify the SWF code (if possible) to remove the
    ExternalInterface requirement. You can write code in your AIR
    application javascript to subscribe directly to events from the SWF
    using addListener() and call functions directly on the SWF object
    (Flash/Actionscript is not my primary development environment... so
    if I have gotten the terminology wrong I apologize, but I HAVE
    written a flash application that worked as I describe). My SWF
    actually works embedded in HTML or not using the code "if
    (ExternalInterface.available) {
    ExternalInterface.addCallback("setIsPlaying", setIsPlaying ); }"
    2) Somehow add a HTMLLoader in a new child window (with
    transparent = false) to the stage as a new child. I have not yet
    figured out exactly how to do this, so If anyone can provide
    information on how to do this, I too would be appreciative.

  • Embedded QT in IE

    I have embedded QT movies in web pages for years, using both EMBED and OBJECT.
    Now there is a problem with IE. The EMBED tag doesn't work in it, it requires use of the ActiveX Control (Object). But now in IE7, ActiveX Objects will not play by default. One sees a message at tha top that the content is blocked--one has to click and choose to accept the content, then one gets another warning message, one has to confirm again, etc. It is a hassle, and would scare some users from using the content at all.
    So--I read with interest a post by Kirk, pointing to an Apple support page, about this problem (http://developer.apple.com/internet/ieembedprep.html). The page suggests using Javascript instead of the Embed and Object tags, to call up the QT content. I surmised that with the Javascript the content would open automatically with the default IE7 settings, not requiring the confirmation of the ActiveX content.
    I tried to follow the directions on that page, which including downloading the AC_QuickTime.js file, and putting it in the same folder as the web page and content (on my hard drive, not yet uploaded to web). I made the changes to the code described in the article.
    I saved the changed .html file, and opened it in IE. I once again got the message at the top about blocked active content. (I assume the Javascript this time.)
    If both ActiveX and Javascript are blocked by default in IE7, what advantage is there in switching to Javascript?
    (It would sure be simpler if IE could read the EMBED tag, like all other browsers!)

    Thanks again for your reply, Kirk,
    Yes, I see that on your page one has to click the image to start the movie, which then opens in QT Player full screen.
    My question is--is that the only way to do it, to solve the IE7 problem, to have the movie open on a separate page with QT Player? Or--can it be embedded in the web page? Can it function just the same as the page I referenced in my last post, but solving the IE7 problem?
    As said, I experimented a little with that wewish.htm page (on my hard drive, not yet online) to try to get it run that way, and it didn't work. I'll paste the code below that I used, so you can tell me what is wrong with it.
    I use FrontPage 2003 for my web pages. I put in the code below directly in the "Code" tab. Then I switched to the "Preview" tab, and I got multiple messages about errors in the script, especially on Line 2 and Line 39. I tried opening the page in IE, and just as with the prior (non-jscript) version, got the message about active content being blocked. I clicked on the options to allow blocked content, but it still did not play.
    Anyhow---I'll post the code I used below, so you can hopefully tell me what is wrong with it.
    In the Head section I added the following code:
    <script src="AC_QuickTime.js" language="JavaScript" type="text/javascript"></script>
    (note--I placed the .js file in the same folder as the .htm file, so therefore I don't think I need to include a path for the file.)
    In the Body section of the code, I used the following code, to replace the Object and Embed codes that were there previously:
    <script language="JavaScript" type="text/javascript">
    QTWriteOBJECTXHTML('wewish.mov', '600', '168', '',
    'autoplay', 'true',
    'scale', 'tofit',
    'controller', 'true');
    </script>
    As described, didn't work.
    I tried PageOT, and had it create the Javascript code, from my original Embed and Object codes. It came up with:
    <script language="JavaScript" type="text/javascript"><!--
    QT_WriteOBJECT('wewish.mov', '600', '168','','controller','true','scale','tofit','autoplay','true','volume','100',' showlogo','true','cache','false');
    // --></script>
    I put that in the page's code, replacing the code in the Body described previously.
    It also didn't work. Same error message in Frontpage Preview tab, and also didn't work when I tried to open it in IE7, exactly the same problems as with the prior code.
    How can I fix it?
    Thanks again.

  • AddEventListener is not working first time(initial request).

    Hi All,
        It is behaving strangely; I’m having below code in ActionScript and .MXML file.
       Very first request it is not displaying inquiry_id in confirmation page but it is displaying this value in later requests. In first request also it is displaying value correctly in getNewInquiryResultHandler in controller but when it comes to newReportSucEventHandler it is displaying null value in BroadModel.inquiryConsumer.inquiry_id
    -------------------- NewReportEvent.as(Begin) ---------------------------
    package com.broad.events
      import flash.events.Event;
      import com.broad.beans.Inquiry;
      import com.broad.beans.InquiryConsumer;
      // This custom event should be dispatched if the user
      // successfully logs into the application.
      public class NewReportEvent extends Event{   
        public static const REPORT:String = "report";
        public function NewReportEvent(){
          super(NewReportEvent.REPORT,true,true); //bubble by default     
        override public function clone():Event{
                return new NewReportEvent(); // bubbling support inside
    -------------------- NewReportEvent.as(End) ---------------------------
    In my controller(action script) I added below code for dispatching this event
    public function NewReportEvent():void
          ro = new RemoteObject();
          setUpAmfChannel();
          ro.destination = "manageInquiryService";
          ro.addEventListener("fault", faultHandler);     
          ro.createInquiry.addEventListener("result", getNewInquiryResultHandler);
          Alert.show("Before addNewInquiry");     
              ro.createInquiry(BroadModel.inquiryConsumer);
    }//End of NewReportEvent
    public function getNewInquiryResultHandler(event:ResultEvent):void
          BroadModel.inquiryConsumer.inquiry_id = event.result as String;     
          Alert.show("getNewInquiryResultHandler:"+BroadModel.inquiryConsumer.inquiry_id);
    }//End of getNewInquiryResultHandler
    In Report.mxml file is having following code
    ---------------Report.mxml (Begin) ---------------
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" height="100%">
    <mx:Script>
          <![CDATA[
          import mx.controls.Alert;
          import com.broad.controller.BroadController;
          import com.broad.model.BroadModel;
          import com.broad.events.*;   
          [Bindable]
          public var mainLableText:String="NEW REPORT";
          [Bindable]
          public var titleText:String="Create A New Report";
        public function init():void{
          Alert.show("Inside newreport init mxml");
          myViewStack.selectedChild = newReport;
          Confirmation.visible=false;       
          broad.selectedItem.label = "Yes";
          // Reset the value too.
          first_name.text = "";       
          last_name.text = "";
          street_address.text = "";
          street_address2.text = "";
          city.text = "";
          state.text = "";
          zip.text = "";         
        private function initHandler():void
          Alert.show("Inside initHandler");
          addEventListener(NewReportEvent.REPORT,newReportSucEventHandler);
          private function newReportSucEventHandler(event:NewReportEvent):void{ 
                Alert.show("Inside newReportEventHandler mxml");
                myViewStack.selectedChild = Confirmation;
                newReport.visible=false;
                Alert.show("Inside newReportEventHandler inquiryId:"+BroadModel.inquiryConsumer.inquiry_id);
                inquiryIdVal.text = BroadModel.inquiryConsumer.inquiry_id;
                public function submitInquiry(evt:Event):void{
                BroadModel.inquiryConsumer.first_name = first_name.text;
                BroadModel.inquiryConsumer.last_name = last_name.text;
                BroadModel.inquiryConsumer.street_address = street_address.text;
                BroadModel.inquiryConsumer.street_address2 = street_address2.text;
                BroadModel.inquiryConsumer.city = city.text;
                BroadModel.inquiryConsumer.state = state.text;
                BroadModel.inquiryConsumer.zip = zip.text;
                Alert.show("Inside submitInquiry state:",currentStateVal);
                this.dispatchEvent(new NewReportEvent());     
          ]]>
    </mx:Script>
          <mx:ViewStack id="myViewStack" width="100%" height="100%" creationPolicy="all" >
          <mx:Canvas id="newReport" height="100%" width="100%" visible="true">
          <mx:Label x="10" y="10" text="{mainLableText}" fontSize="18" fontWeight="bold" color="#F07012"/>
          <mx:LinkButton id="viewEditLink" right="10"  styleName="htmlLink" label="{pageMode}" click="setPageMode(event);"
                visible="{pageMode != null}" includeInLayout="{pageMode != null}" />
          <mx:TitleWindow width="100%" height="100%" layout="absolute" title="{titleText}" fontWeight="normal" fontSize="13" y="38" x="0">
          <mx:Canvas height="100%" width="100%">
          <mx:VBox width="100%" height="100%">
              <mx:HBox>
                    <mx:Label text="Consumer Information: " fontSize="12" fontWeight="bold" color="#34B05D"/>
              </mx:HBox>
              <mx:HBox>
                    <mx:Label text="Report Type: " fontWeight="normal"/>
                    <mx:Label text="Phone" fontWeight="bold"/>
              </mx:HBox>
              <mx:HBox width="100%">
                    <mx:Label width="25%"  text="First Name:" fontWeight="normal"/>
                    <mx:TextInput width="25%" id="first_name" editable="{pageModeStat}" />
                    <mx:Label  width="25%

    Previously, when I'm calling below line in Report.mxml file
    this.dispatchEvent(new NewReportEvent());
    In Controller, I'm having following line in init() method
    private function init( event:Event ):void{
          systemManager.addEventListener(LoginEvent.LOGIN, login, true);
          systemManager.addEventListener(LoginSuccessEvent.LOGIN_SUCCESS, handleLogin, true);
          systemManager.addEventListener(LoginFailureEvent.LOGIN_FAILURE, handleLogin, true);
          systemManager.addEventListener(ValidateLoginEvent.LOGIN_VALIDATE, checkLogin, true);
          systemManager.addEventListener(HomeEvent.HOME, home, true);
          systemManager.addEventListener(SearchEvent.SEARCH, search, true);
          systemManager.addEventListener(NewReportEvent.REPORT, newInquiry, true);
          login(new LoginEvent(LoginEvent.LOGIN));
    public function newInquiry(evt:NewReportEvent):void{
            Alert.show("Inside newInquiry", evt.type);
            addNewInquiry();  
        }//End of newInquiry
    public function addNewInquiry():void
            ro = new RemoteObject();
            setUpAmfChannel();
            ro.destination = "manageInquiryService";
            ro.addEventListener("fault", faultHandler);      
            ro.createInquiry.addEventListener("result", getNewInquiryResultHandler);
            Alert.show("Before addNewInquiry");      
            ro.createInquiry(BroadModel.inquiryConsumer);
        }//End of addNewInquiry
    public function getNewInquiryResultHandler(event:ResultEvent):void
           BroadModel.inquiryConsumer.inquiry_id = event.result as String;      
           Alert.show("getNewInquiryResultHandler:"+BroadModel.inquiryConsumer.inquiry_id);
        }//End of getNewInquiryResultHandler
    Did following changes
    In Controller:
        // systemManager.addEventListener(NewReportEvent.REPORT, newInquiry, true);  COMMENTED
    Report.mxml:
         public function submitInquiry(evt:Event):void{
            var controller:BroadController = new BroadController();
            controller.addNewInquiry();
              this.dispatchEvent(new NewReportEvent(NewReportEvent.REPORT));
        Still I'm having same issue, it is calling this.addEventListener(NewReportEvent.REPORT,newReportSucEventHandler); before dispathEvent and it is showing null value in confirmation page.
        Can you please check this code and let me know what I'm doing wrong. Why addEventListerner is firing before dispatchEvent?
    Thanks,
    Sharath.

  • Why won't AngularJS pages display from DW browse?

    I am learning AngularJS, a JavaScript based framework, and when I create a page with the AngularJS library called the page doesn't work when browsed. Why would this happen? It works fine when viewed directly from the server or using Sublime. The code is very simple:
    <html ng-app>
    <head>
    <title>First AngularJS App with Controller</title>
    <script type="text/javascript" src="scripts/angular.js"></script>
    <script>
    function CostCtrl($scope) {
      $scope.cost = 1000.1;
    </script>
    </head>
    <body ng-controller="CostCtrl">
    Cost: <input type="text" id="cost" ng-model="cost" placeholder="cost" />
    <p>
    This is your cost: {{cost|currency}}
    </p>
    </body>
    </html>

    What do you mean by "from DW browse"?
    Do you mean from within Design View, Live View or while previewing local files in the actual browsers via the Preview In Browser button?

  • Tree List Error

    I get the following error any time I click on a folder in my
    tree list:
    Error: Unable to load ''.
    at mx.controls::SWFLoader/::loadContent()
    at mx.controls::SWFLoader/load()
    at
    mx.controls::SWFLoader/mx.controls:SWFLoader::commitProperties()
    at mx.core::UIComponent/validateProperties()
    at mx.managers::LayoutManager/::validateProperties()
    at mx.managers::LayoutManager/::doPhasedInstantiation()
    at Function/
    http://adobe.com/AS3/2006/builtin::apply()
    at mx.core::UIComponent/::callLaterDispatcher2()
    at mx.core::UIComponent/::callLaterDispatcher()
    <b>Here's my code:</b>
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute" creationComplete="dirListSvc.send();">
    <mx:Script>
    <![CDATA[
    import mx.controls.Alert;
    import mx.rpc.events.FaultEvent;
    import mx.rpc.events.ResultEvent;
    import flash.net.FileReference;
    private var fileRef:FileReference;
    [Bindable]
    private var dirList:XML;
    [Bindable]
    public var selectedNode:XML;
    //file browse function
    private function fileBrowse():void {
    this.fileRef = new FileReference();
    fileRef.addEventListener(Event.SELECT, selectHandler);
    fileRef.browse();
    private function selectHandler(event:Event):void {
    var request:URLRequest = new URLRequest("
    http://localhost:8300/");
    fileRef.upload(request);
    // Event handler for the Tree control change event.
    public function treeChanged(event:Event):void {
    selectedNode=Tree(event.target).selectedItem as XML;
    private function
    directoryResultHandler(event:ResultEvent):void {
    dirList = event.result as XML;
    // Fault handler - displays the error
    private function
    directoryFaultHandler(event:FaultEvent):void {
    Alert.show(event.fault.message, "Could not load dirList");
    ]]>
    </mx:Script>
    <mx:HTTPService
    id="dirListSvc"
    url="
    http://localhost/iqAssets/scripts/directory.php"
    resultFormat="e4x"
    result="directoryResultHandler(event);"
    fault="directoryFaultHandler(event);"
    />
    <mx:HDividedBox>
    <mx:VBox>
    <mx:Tree x="10" y="10" labelField="@label"
    dataProvider="{dirList}" width="250"
    change="treeChanged(event)"/>
    <mx:Button label="Upload A File"
    click="fileBrowse()"/>
    </mx:VBox>
    <mx:Panel height="300" width="400"
    title="{selectedNode.@label}">
    <mx:Text text="{selectedNode.@path}" />
    <mx:Image source="{selectedNode.@path}" />
    </mx:Panel>
    </mx:HDividedBox>
    </mx:Application>
    And here's my php:
    <?php
    function getDirectory( $path = '.', $level = 0 ){
    $ignore = array( 'cgi-bin', '.', '..' );
    // Directories to ignore when listing output. Many hosts
    // will deny PHP access to the cgi-bin.
    $dh = @opendir( $path );
    // Open the directory to the handle $dh
    while( false !== ( $file = readdir( $dh ) ) ){
    // Loop through the directory
    if( !in_array( $file, $ignore ) ){
    // Check that this file is not to be ignored
    $spaces = str_repeat( ' ', ( $level * 4 ) );
    // Just to add spacing to the list, to better
    // show the directory tree.
    if( is_dir( "$path/$file" ) ){
    // Its a directory, so we need to keep reading down...
    echo '<node label="'.$file.'">';
    getDirectory( "$path/$file", ($level+1) );
    // Re-call this same function but on a new directory.
    // this is what makes function recursive.
    echo '</node>';
    } else {
    $filename = strtolower($file) ;
    $exts = split("[/\\.]", $filename) ;
    $n = count($exts)-1;
    $exts = $exts[$n];
    $imageExt = array ('gif', 'jpg', 'swf', 'png');
    if ( !in_array($exts, $imageExt))
    echo '<node label="'.$file.'" path=""/>';
    else
    $imgPath = substr($path, 1);
    echo '<node label="'.$file.'" path="'."
    http://localhost/iqAssets/scripts$imgPath/$file".'"/>';
    closedir( $dh );
    // Close the directory handle
    echo '<node label="assets">';
    getDirectory( "." );
    echo '</node>';
    ?>

    For what it's worth, I have the exact same error message:
    quote:
    Error: Unable to load ''.
    at mx.controls::SWFLoader/::loadContent()
    at mx.controls::SWFLoader/load()
    at
    mx.controls::SWFLoader/mx.controls:SWFLoader::commitProperties()
    at mx.core::UIComponent/validateProperties()
    at mx.managers::LayoutManager/::validateProperties()
    at mx.managers::LayoutManager/::doPhasedInstantiation()
    at Function/
    http://adobe.com/AS3/2006/builtin::apply()
    at mx.core::UIComponent/::callLaterDispatcher2()
    at mx.core::UIComponent/::callLaterDispatcher()
    Here's my code:
    quote:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    horizontalAlign="center" verticalAlign="middle"
    creationComplete="photoService.send();" >
    <mx:HTTPService
    id="photoService"
    url="data.xml"
    resultFormat="e4x"
    result="photoResultHandler(event);"
    fault="photoFaultHandler(event);"
    />
    <!-- Controller -->
    <mx:Script>
    <![CDATA[
    import flash.net.navigateToURL;
    import mx.controls.Alert;
    import mx.rpc.events.FaultEvent;
    import mx.rpc.events.ResultEvent;
    [Bindable]
    private var photoFeed:XML;
    private function photoResultHandler(event:ResultEvent):void{
    // Result handler - gets called after xml is loaded.
    //Alert.show("Loaded xml!");
    photoFeed = event.result as XML;
    private function photoFaultHandler(event:FaultEvent):void{
    // Fault handler - if the xml can't be loaded
    Alert.show(event.fault.message, "Could not load photo xml");
    ]]>
    </mx:Script>
    <mx:Panel paddingTop="10" paddingBottom="10"
    paddingLeft="10" paddingRight="10" title="phlex quick pic gallery
    v0.8" fontWeight="bold" horizontalAlign="center" id="container">
    <mx:Tile width="100%" height="100%">
    <mx:Repeater id="photos"
    dataProvider="{photoFeed.pic}">
    <mx:VBox
    xmlns:mx="
    http://www.adobe.com/2006/mxml"
    horizontalAlign="center"
    >
    <mx:Image
    id="currentpic"
    source="{photos.currentItem.attributes.url}"
    />
    <mx:Text text="{photos.currentItem.attributes.title} by
    {photos.currentItem.attributes.author}"/>
    </mx:VBox>
    </mx:Repeater>
    </mx:Tile>
    <mx:ControlBar id="nav" horizontalAlign="center"
    verticalAlign="middle">
    <mx:LinkButton label="previous" id="previous" />
    <mx:Label text="3/18" fontWeight="normal" id="page" />
    <mx:LinkButton label="next" id="next" />
    </mx:ControlBar>
    </mx:Panel>
    </mx:Application>

  • Xorg Black Screen [SOLVED]

    When I installed xorg and openbox using MarshviperX's script ( http://pastebin.com/f406f16ba ), when it boots, it just is a black-screen with 2 small white bars at the top, about 2 mm wide.
    Says "Starting Simple Login Manager", then black screen.
    Here's a list from lspci:
    http://sprunge.us/DKFJ
    and xorg.0.log:
    http://sprunge.us/SUXW
    and xorg.conf:
    http://sprunge.us/fKgH
    Thanks!
    Last edited by lolwutaf2 (2010-03-24 06:34:00)

    I didn't install any specific drivers, I don't think...... I have Mobile Intel, look @ my lspci paste, it should be in there.
    Edit: installed xf86-video-intel, still doesn't work.
    Edit2: Solved it, changed the driver in xorg.conf
    Last edited by lolwutaf2 (2010-03-24 06:33:40)

  • Datagrid, XML and HttpService

    Hi,
    I am getting the following xml from a Http service. I am
    struggling to show it in a Datagrid. Please help.
    <results>
    <result>
    <row >
    <cell name="CLASS_GROUP">Cash and
    Equivalents</cell>
    <cell name="CLASS">Cash</cell>
    <cell name="STYLE">Cash</cell>
    </row>
    <row>
    <cell name="CLASS_GROUP">Cash and
    Equivalents</cell>
    <cell name="CLASS">Cash</cell>
    <cell name="STYLE">Sweep Fund</cell>
    </row>
    <row>
    <cell name="CLASS_GROUP">Equity</cell>
    <cell name="CLASS">Asia Equity</cell>
    <cell name="STYLE">Asia Pacific ex Japan
    Equity</cell>
    </row>
    </result>
    </results>
    The code to get the xml is:
    <mx:HTTPService
    id="photoService"
    url="
    http://somehttpservice"
    resultFormat="e4x"
    result="photoResultHandler(event);"
    fault="photoFaultHandler(event);"
    />
    <mx:XMLListCollection id="myXC"
    source="{photoService.lastResult.result.row}"/>

    Here is the full code.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application
    xmlns:mx="
    http://www.adobe.com/2006/mxml"
    xmlns:aral="*"
    creationComplete="photoService.send({_format:
    'XML',_metadata: 'false'});"
    viewSourceURL="src/HTTPServiceConsumingFlickrRSSFeed/index.html"
    >
    <!-- Model -->
    <!-- Define the HTTP service -->
    <mx:HTTPService
    id="photoService"
    url="
    http://someService"
    resultFormat="e4x"
    result="photoResultHandler(event);"
    fault="photoFaultHandler(event);"
    />
    <!-- Controller -->
    <mx:Script>
    <![CDATA[
    import flash.net.navigateToURL;
    import mx.controls.Alert;
    import mx.rpc.events.FaultEvent;
    import mx.rpc.events.ResultEvent;
    import mx.utils.ArrayUtil;
    import mx.collections.*;
    private function photoResultHandler(event:ResultEvent):void
    Alert.show(event.result.toString());
    // Fault handler - displays the error.
    private function photoFaultHandler(event:FaultEvent):void
    Alert.show(event.fault.message, "Could not load photo
    feed");
    ]]>
    </mx:Script>
    <mx:Fade id="fadeIn" duration="3000" alphaFrom="0"
    alphaTo="1"/>
    <mx:Fade id="fadeOut" duration="3000" alphaFrom="1"
    alphaTo="0"/>
    <mx:XMLListCollection id="myXC"
    source="{photoService.lastResult.result.row}"/>
    <!-- User Interface -->
    <mx:Panel title="Public photos" width="100%"
    height="100%">
    <mx:List id="prodList" dataProvider="{myXC}" width="595"
    height="174"/>
    <mx:DataGrid dataProvider="{myXC}">
    </mx:DataGrid>
    </mx:Panel>
    </mx:Application>

  • AD Database and Log Bogus Free Space Alerts

    For some reason one of our Domain Controllers is generating a SCOM alert for "AD Database and Log : Free space (KB) on drive C: is lower than the required reserved space for AD Database and Log file. It should be at least 700000 KBytes."  The
    thing is that drive has 111 Gig free.  We are running SCOM 2012 SP1 with CU3.  AD MP version is 6.0.8228.0 and the offending DC is running Server 2012 R2.  We have other 2012 R2 DCs that don't have this issue so I'm a bit puzzled.  Thought
    I'd see if anyone else is having the issue.

    Hi
    SCOm do not see the size of the drive it looks size of AD DB and log file refer below link for more information on monitor
    http://technet.microsoft.com/en-us/library/dd262025.aspx
    Regards
    sridhar v
    According to your link it does look at the size of the drive.  There was a bit in there that struck me though, it said
    "During this initial replication cycle, the database and log file sizes are expected to grow significantly. This growth is not reported by the script as an error. However, for a new domain controller, the script still reports any low-disk-space conditions."
     I'm guessing this is what happened.  Thanks for pointing me in the right direction.

  • About streaming through Web page

    Hi ,
    I have win Xp . when I use this code :
    <object CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="320" height="256"
    CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab">
    <param name="src" value="sample.mov">
    <param name="qtsrc" value="rtsp://XX.X.X.XX/sample_300kbit.mov">
    <param name="autoplay" value="true">
    <param name="loop" value="false">
    <param name="controller" value="true">
    </object>
    I can see the streming
    but when I use :
    <script src="AC_QuickTime.js"
    language="JavaScript" type="text/javascript">
    </script>
    <script language="JavaScript"
    type="text/javascript">
    QTWriteOBJECT('rtsp://XX.X.X.XX/sample300kbit.mov',
    '320','256','',
    'src','sample.mov',
    'qtsrch','rtsp://XX.X.X.XX/sample_300kbit.mov',
    'autoplay','true',
    'controller','true' );
    </script>
    All I can see is a question mark
    can anyone please help me

    'qtsrch','rtsp://XX.X.X.XX/sample_300kbit.mov'
    Do you see the spelling error?
    'qtsrc' (not 'qtsrch')

Maybe you are looking for

  • Batch wise inventory for FG

    Requirement: There are 2 plants AAAA-Manufacturing Plant, BBBB-Central Warehouse. Plant BBBB is procuring FG from AAAA. Its intercompany sale between 2 company codes. Batch (B1) of FG u2018Xu2019 with qty 100 is procured from AAAA with cost 1000. Bat

  • Crop tool won't drag with CC Photoshop 2014

    I have searched everywhere and talked with Adobe support through chat (they ended that abruptly??!), and Twitter and still have not had any resolution to this. I hope someone can help. I'm trying to do a simple crop. I've done it a million times with

  • Oracle 10g Forms

    Can i get any reading material on Oracle 10g Forms to prepare for OCP? Need help. Thanks in advance. AG

  • "The requested resource (/hello) is not available"  Error of Servlet

    Hello all, I get HTTP STATUS 404 Error which states "The requested resource (/hello) is not available" even thought according to me I am doing everything perfectly. Here is more information. If you can find out where the proble might be please let me

  • BD64 Model View - Wrong Maintenance System

    Hello. We refreshed our QA system from Production.  Production is in a different CUA than our test systems.  The QA system still thinks that it is in the production model view n BD64 and I cannot get it to accept the new distribution model from the C