Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
Another way to proceed would be to hack on the browser side. If you're using Firefox, an Autofill extension might help.

If you're using Windows, you might be able to use the Win32::CtrlGUI modules to get the handle of the javascript pop-up, and fill in the fields that way. ( I have no idea if the same kind of thing can be done in X.)

If you are using, or are allowed to look at the source code for the AMANDA backup software, it has a complete and working implementation of using the changer's built-in bar code reader to determine which tapes are in which slots. (Overland's web site says that bar code support is built in.)

I checked the Overland web site, but couldn't find any reference to an API.

If you go the packet-sniffing route, be prepared for at least some encryption. The "BrowserID" parameter looks like a session ID or possibly part of an encryption key. Check to see if it changes from time to time, always increases, etc.

Of all these options, I think your best bet is to talk to the changer as a SCSI device if possible. (I'm assuming the device is connected to a server via SCSI.)

Spring: Forces, Coiled Again!

In reply to Re: How to screen-scrape a page that uses a Java applet for authentication? by paulbort
in thread How to screen-scrape a page that uses a Java applet for authentication? by grinder

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

    What's my password?
    Create A New User
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others drinking their drinks and smoking their pipes about the Monastery: (2)
    As of 2019-08-26 06:50 GMT
    Find Nodes?
      Voting Booth?

      No recent polls found