Dashcode: How do I get the name of an image in a website?

I'm making a widget that gets the filename of an image on a website and it changes the value of some parts of the widget if the filename has a certain name. The only problem is that I don't know how to get the name of this image in the widget. Could somebody please help me?

If I understand well, I think that the XMLHttpRequest object may help you. Please check the following link:
http://developer.apple.com/internet/webcontent/xmlhttpreq.html
Also, if you can program in Perl (or some other scripting language), you can use an external script to read the filename and send it to your Widget.
Mihalis.

Similar Messages

  • I name each photo buy replacing the jpeg number with the name. when I burn to disk and open disk the name is not shown. how do I get the name given to show on the burn disk?.

    after I burn the files to dvd and load to view the name does not appear. How do I get the name listed to appear on the burn disk instead of the file number?

    Naming the Photo - or giving it a title - is not the same as naming  file.
    How are you burning to dvd? With iPhoto? If so then the Title will be available in any app that understands basic metadata.
    If you want the title available in the Finder - which does not understand photo metadata  - then you'll need to export the file
    File -> Export
    In the resulting dialogue you'll see a heading for 'File Name'. Choose 'Use Title' from the drop down.
    Regards
    TD

  • How do I get the names of tracks I type in Adobe Audition 3 to copy to the Sony CD-RW CRX217E in myD

    How do I get the names of tracks I type in Adobe Audition 3 to copy to the Sony CD-RW CRX217E in my Dell Precision Workstation 670?
    I have recorded 10 tracks of voice with music using Adobe Audition 3 and Sony CD-RW CRX217E with no problem.
    The problem is, however, that the names I type in Audition 3 for each of the tracks and artist do not copy to the CD I have recorded. This means that when I play the tracks on any playback equipment that shows the names of the tracks and artists, etc. all that appears on the screen is the track number, such as Track 1, Track 2, etc.
    I am using a Dell Precision Workstation 670
    Inter®Xeon
    CPU3.2GHz
    3.19GHz,2.00GB RAM
    SYSTEM
    Professional x64 Edition
    V2003
    SP 2, v.4354
    Thank you
    NoPro

    Well, there is one possibility, but I can't absolutely confirm this. I had a look at the specification for the drive on the Dell website:
    http://support.dell.com/support/edocs/storage/P89087/en/index.htm
    and nowhere does it say that the drive supports CD-Text, I'm afraid. Even though all drives can in theory write this, a lot have the header hard-coded, and simply can't. Yours may be one of them, but I think you'll have to ask Dell to confirm this.

  • How can I get the name of a output module template

    Hey guys,
         SDK newbie here.
         How can I get the name of every output module template?
         Thanks
    Zhiqiang Li

    Ok. Bravo
    Please mark this as 'Answered' - it will help others on the forum -

  • Network : How can I get  the name of all computers in the lan ?

    Hi.
    Network : How can I get the name or the IP of all computers in the lan ?

    Easiest way to find all IPs would be to scan the network. Ping every possible IP in the network and all IPs that replied to the ping exist.
    Since I don't know how to do a ping in Java, I would scan for some Ports used by OS Services.
    Since I don't know which ports are used by windows, I think you should look for a ping class (or library).
    Scanning all ports for every IP in a class C network shouldn't take too long. And after finding one port you don't have to try the other ports for that IP, since it has to be online ;)

  • How do I get the name of my network to show up first in the dropdown menu?

    how do I get the name of my network to show up first in the dropdown menu?

    Hi Ellen,
    Is your Router brodcasting it's SSID?
    If not, try this, click on the Airport icon, choose Other, fill in the info.

  • How can I get the resolution of an image file in JSP?

    how can I get the resolution of an image file like jpg,gif,png in JSP ?

    Hii,
    If by the resolution, u mean size..this is how u can come to know....
    String add = "path/to/some.jpeg";
    javax.swing.ImageIcon chain = new javax.swing.ImageIcon(add);
    int height = chain.getIconHeight();
    int width = chain.getIconWidth();
    Hope that helps.
    regards
                   

  • How can I get the name of an Array Item in LabVIEW

    Hi,
    I would need to display the name of the items in the Step.Result.Measurement array in a VI. I can access these properties using the index, but I don't know how to get the name of them like Step.Result.Measurement[0] .
    Is there any suggestions to do it in an elegant way?
    Andras

    Hi Andras,
    look here.
    Regards, Guenter

  • How can I get the name of weblogic.Server

    Hi all,
    in my EJBs I want to know, on which server instance I´m running. I need this for
    logging info. How can I get the servers name?
    When I load the JNDI tree and select java:comp, an error occurs and a lot of information
    is printed. One is weblogic.Server and that is what I´m searching for.
    I use WLS 6.1 SP1
    Any ideas? Thanks,
    Nicole

    Use JMX. See http://dima.dhs.org.
    Peace,
    Cameron Purdy
    Tangosol, Inc.
    Clustering Weblogic? You're either using Coherence, or you should be!
    Download a Tangosol Coherence eval today at http://www.tangosol.com/
    "Nicole" <[email protected]> wrote in message
    news:3c4d6daa$[email protected]..
    >
    Hi all,
    in my EJBs I want to know, on which server instance I´m running. I needthis for
    logging info. How can I get the servers name?
    When I load the JNDI tree and select java:comp, an error occurs and a lotof information
    is printed. One is weblogic.Server and that is what I´m searching for.
    I use WLS 6.1 SP1
    Any ideas? Thanks,
    Nicole

  • How can i get the name of a method

    i have a method which is calling another method.
    how can this submethod get the name from the main method?
    Thanks
    Thorsten

    There was a post about this a while ago, but I can't find it.
    Check out the getStackTrace method of Throwable (not the printStackTrace method). getStackTrace returns a StackTraceElement array. Each StackTraceElement has a getMethodName() method. In the returned array, the StackTraceElement at index 0 is the stack frame that the Throwable was created in, and the element at index 1 is the stack frame that your method was called from.
        public String getCurrentMethodName () {
            StackTraceElement[] st = (new Throwable()).getStackTrace();
            // Index 0 is the stack frame of "getCurrentMethodName"
            // Index 1 is the stack frame of the method that called this.
            // Index 2 is the stack frame of the method that called THAT.
            // Note that st[1] should always exist because this method
            // will always be called from another method (main, at very
            // least).  
            return st[1].getMethodName();
        public void myMethod () {
            System.out.println("The name of this method is " + getCurrentMethodName());
        };Hope that helps. I didn't test it, but it should work.
    Jason

  • How do I get the name of a file in Xcode in a Cocoa-Applescript application?

    I'm trying ot create an app in Xcode using applescriptObjC. I need to get the names of files, but every time I run the app and trigger the part where the script is supposed to get the name, Xcode gives me an error saying "Can not get name of "/Users/xxxx/xxxx/xxxx.xxx" I have tried everything.
    Any help is appreciated

    can you post some relevant code?

  • How can i get the name of the lan that the task is in from a bean

    I'm using jdeveloper ps6 and i wan to get the name of the lane that the my task now is on to display on a page and to disable and enable some
    user fields depending on the name of the lane, as i've 4 organizations and i want to know the name the current organization to disable some fields.

    did you try to get it from the task payload? In the task payload we will have swimlane role. I think, you can get it from the payload.
    Thank you,
    Keshav CH

  • How can I get the name of the column in Cursor

    hi,
    how can i derive the name of the columns in cursor
    e.g
    suppose I have a cursor
    cursor c is select * from emp;
    c1 c%rowtype.
    for c1 in c
    I want to display the name of the column how can I do. i don't
    remember the name, but i need it to be displayed tooo.
    thanx in advance
    Sreekant

    You can only do this by DESCing the tables in the cursor and
    then coding eg. v_no := c1.empno;
    APC

  • How can I get the name of an internal table in a textfield?

    Hi,
    I have defined an internal table in a program. Now I need the name of thist table (<u>NOT</u> the components!!!) in a textfield.
    Example for Data-Definitions in my Program:
    data: begin of it_tab occurs 0,
            feld1  like icon-id,
            feld2  like icon-name,
          end of it_tab.
    data: tabname(30) type c.
    How can I transfer the name "IT_TAB" into the field tabname?
    Thanks in andvance!

    No, it has to by 'dynamic'. I don't want to transfer it hard, because it should work for any internal table name.
    The requirement is: There are many function modules that have an input field TABLENAME. I have to give the tablename in the Form 'IT_TAB'.
    But I look for a possibiltity not to write:
    tabname = 'IT_TAB'.
    For DDIC-Tables its not a problem, but I dont know a way for internal tables.

  • How can i get the name of a symbol and pass to a variable?

    Hello! Is posible to get the name of a symbol and pass to a variable??
    Thanks
    Sonia

    Ok. Bravo
    Please mark this as 'Answered' - it will help others on the forum -

Maybe you are looking for

  • The old "backup disk cannot be found" conundrum

    i've seen this message a few times before but the resolution has always been as simple as checking the connection. but not this time. time machine is not seeing the external drive at all. it shows up in disk utility and these are the messages i recei

  • How to import CSV file which exists in specific directory

    Hi, There is one directory and new csv file is put there in daily batch. And the files have to be imported to DB. I tried to use DBMS_LOB package, but it doesn't work.. So, if anybody know some good sample code, please tell me.

  • Stmsboot on Solaris 10 x86

    Does the stmsboot command exist on Solaris 10 x86 Update 3? Do I still need to run 'stmsboot -e' to allow multipathing to a SAN? The man page is out there, but no sign on the executable. I've looked on the CD and didn't see it there either. Since stm

  • Print, properties, -error- prop res DLL not loaded, what do I do to fix it

    ''duplicate of https://support.mozilla.com/en-US/questions/902663'' When I need to print in black only, I click on Print than on Properties, error will come up - prop res DLL not loaded, what do I need to do to fix this

  • Drag from Lightroom 3 to Photodex Producer

    I use to be able drag from Media Expressions/Ivew Media Pro to Photodex Producer when building slideshows, it worked fine. I tried using Lightroom 3 from library module to producer and it did not work. Is there a way to do this in Lightroom3? I wante