![]() |
|
||||
|
Re: need utility for web login when required
you can't really do that with a batch file... but you might be able to do it with a Firefox addon.
But having said that... I've never written a FireFox addon, so you'll have to go over to the Firefox site and poke around.
__________________
HTPC BTV ◦ Phenom x4 9850 ◦ Gigabyte GA-78GM Mobo ◦ 4 GB ◦ XP SP2 ◦ 1TB SATA, 250GB SATA, 80GB EIDE ◦ HVR 2250 (QAM+Analog) ◦ 2x HVR-1950 ◦ SA 4250 cable box ◦ GeForce 9600 ◦ 32" LCD TV ◦ Lite-On SATA DVD-RW ◦ Gyration Media Remote & Mini Wireless KB ◦ Via 7.1 sound card w/SP-DIF |
|
|||
|
Re: need utility for web login when required
Autoit would probably be a better choice to automate this process. You should be able to do all that you need and the scripting for Autoit isn't hard to learn, plus they have tons of example scripts out there already. You can even compile the script into a standalone exe file, if you need to.
http://www.autoitscript.com/
__________________
BeyondTV 4.9.2 Server (Hardware Updated Sept 2009) : Intel Core2Quad Q9550 | 4 GB RAM | Nvidia 7600GS - Hauppauge WinTV 500 MCE Dual Tuner (x2) - 2 Tuners for Analog Cable, 1 Tuner for Cable Box - Pinnacle PCTV HD USB Stick (x4) - Over the Air HD - HDHomeRun (x2) - Clear QAM - 52" Sony HD LCD TV BTV Link: Acer AspireRevo 1600 - 32" LCD HD TV |
|
|||
|
Re: need utility for web login when required
This is simple with something like Autoit.
But its a full language. There will be a steep learning curve. But its well worth it. I've written a few apps that interact with web pages. But web pages are only a small part. If you do look at it, you will want to look at the ie.au3 functions to interact with web pages. However, what your looking for may be doable with just a few of the basic windows commands. It sounds simple enough. I used the basic stuff for some simple web stuff before learning the more advanced ie functions. A simple select/copy to clipboard of the screen. parse for text. a couple send keystrokes and your done. then look at the ie functions after to learn how to interact fully and directly with the web without having to rely on keystrokes or macros or anything even showing on the screen. and one last thing. Its completely .... Free.
__________________
Dedicated BTV 4.9.2, XP pro SP2 running on a P4 3.05, 2.5GB Ram, 300GBx3 Drives (Raid 5), Quad Recording via 2 PVR250 cards and an Nvidia DualTV Card, VBR, 9800pro USB-UIRT, UltraVNC, Bell ExpressVu. |
|
|||
|
Re: need utility for web login when required
Basic authentication (dialog box prompt for username and password) or forms-based authentication (username and password on the webpage itself)?
If the site uses basic authentication, you can probably automate using CURL in a batch file, launched by task scheduler. http://en.wikipedia.org/wiki/CURL If not, you may still be able to use CURL to retreive the response HTML, parse it, and build a HTTP POST or other reply to the challange. Last edited by Mike DiBella; 02-10-2009 at 10:53 AM. |
|
||||
|
Re: need utility for web login when required
The Mind Reels.....
Great food for thought.
__________________
Thx, Nick XP Pro 32b ASUS P6T 1366 X58 MOBO Intel QUAD Core i7 920 2.66GHz 3g DDR3 (XP Pro max) ATI HD 4650 PCIe graphics HVR 1600 (ATSC & QAM/Analog) HVR 1600 (ATSC & QAM/Analog) HVR 1950 (USB QAM/Analog) HVR 2250 (QAM/Analog) 1t SATA and 750g SATA in addition to 160g PATA system drive BTV 4.9.2 BTVNegociator ![]() BTVLink/BM on two Dell Optiplex GX620 USFF
|
|
||||
|
Re: need utility for web login when required
Have you tried passing the username/password in the url all the time? IE no longer supports this (unless it's a setting that can be changed), but Firefox does. the format would be:
http://username:password@website If the website works with that, it would essentially log you in each time whether you need to or not. Then the rest can be taken care of as needed.
__________________
Case: HD160XT|PSU: CMPSU-520HX 520W|MB: Fatal1ty F-I90HD|OS HD: Seagate 160GB EIDE (WinXPSP3)|HDD: WD 750GB (x4 RAID0+1)|Intel E6420|Cooler: CNPS7700-CU|Mem: 2GB TWIN2X1024-6400C4 PC2-6400|ODD: LH-20A1H-185|Tuners (7OTA): (1) WINTV-HVR-1600 / (3) HDHomeRuns [8-way CVT-2/8PIA II]|Remotes: Harmony 1 / 880 BTV:v4.6.1 - 08/20/2007 BTV:v4.7.1 - 01/19/2008 BTV:v4.8.1 - 03/21/2008 BTV:v4.8.2 - 07/10/2008 BTV:v4.9.2 - 06/14/2009 |
|
||||
|
Re: need utility for web login when required
Quote:
I found this @ Microsoft: How to disable the new default behavior for handling user information in HTTP or HTTPS URLs To disable the new default behavior in Windows Explorer and Internet Explorer, create iexplore.exe and explorer.exe DWORD values in one of the following registry keys and set their value data to 0. For all users of the program, set the value in the following registry key: HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_HTTP_USERNAME _PASSWORD_DISABLE For the current user of the program only, set the value in the following registry key: HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_HTTP_USERNAME _PASSWORD_DISABLE I will give it a try, later.
__________________
Thx, Nick XP Pro 32b ASUS P6T 1366 X58 MOBO Intel QUAD Core i7 920 2.66GHz 3g DDR3 (XP Pro max) ATI HD 4650 PCIe graphics HVR 1600 (ATSC & QAM/Analog) HVR 1600 (ATSC & QAM/Analog) HVR 1950 (USB QAM/Analog) HVR 2250 (QAM/Analog) 1t SATA and 750g SATA in addition to 160g PATA system drive BTV 4.9.2 BTVNegociator ![]() BTVLink/BM on two Dell Optiplex GX620 USFF
|
|
|||
|
Re: need utility for web login when required
I'm pretty sure the password passing URL format only works for basic authentication, which is standardized and passed in the HTTP headers. Forms authentication is not standardized and each web publisher will use different names for the values passed from the authentication form.
|
|
||||
|
Re: need utility for web login when required
Quote:
__________________
Case: HD160XT|PSU: CMPSU-520HX 520W|MB: Fatal1ty F-I90HD|OS HD: Seagate 160GB EIDE (WinXPSP3)|HDD: WD 750GB (x4 RAID0+1)|Intel E6420|Cooler: CNPS7700-CU|Mem: 2GB TWIN2X1024-6400C4 PC2-6400|ODD: LH-20A1H-185|Tuners (7OTA): (1) WINTV-HVR-1600 / (3) HDHomeRuns [8-way CVT-2/8PIA II]|Remotes: Harmony 1 / 880 BTV:v4.6.1 - 08/20/2007 BTV:v4.7.1 - 01/19/2008 BTV:v4.8.1 - 03/21/2008 BTV:v4.8.2 - 07/10/2008 BTV:v4.9.2 - 06/14/2009 |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Uninstall Utility? | The Newest Newb | Beyond TV and Beyond TV Link | 3 | 02-01-2007 04:29 PM |
| Notification utility. | StephaneM | SnapStream Discussion | 0 | 08-29-2004 02:30 PM |
| Utility to cut files | MJC | Development Discussion | 1 | 05-01-2004 09:35 AM |
| XMLTV and the import utility | Asher | Beyond TV and Beyond TV Link User-to-User Troubleshooting & Support Forum | 4 | 07-21-2003 05:42 AM |
| MSI Cooler XP Utility | Matt_W | Beyond TV and Beyond TV Link User-to-User Troubleshooting & Support Forum | 1 | 06-03-2003 02:36 PM |