31290 Posted February 11, 2016 Share Posted February 11, 2016 Hi Guys, Hope you're doing fine today. Well, I'm trying to achieve something I want to integrate to a tool I already created. At work, we deploy computers massively and we use the tool to perform automatic operations. Then, we have to update the BIOS to the latest version. To avoid a heavy tool, I'd like to automatically download the latest BIOS on the Dell Website but the thing is that the name of the fail change when a new version is published. Of course, I cannot know what version will be deployed by Dell but I have this when connecting to the website: Thus, I don't know if the FOLDERXXXXX of the download URL will change if a new version ins deployed. Here's one of the pages of a model we also use: http://www.dell.com/support/home/us/en/19/product-support/product/latitude-e5450-laptop/drivers/advanced Well, i'm kind of stuck here and maybe someone could point something out Thanks in advance ~~~ Doom Shall Never Die, Only The Players ~~~ Link to comment Share on other sites More sharing options...
Danyfirex Posted February 11, 2016 Share Posted February 11, 2016 Hi. You can do this. #include <String.au3> #include <Array.au3> Local $sRead = InetRead('http://downloads.dell.com/published/pages/optiplex-7010.html', 1) ConsoleWrite(BinaryToString($sRead) & @CRLF) Local $aData = _StringBetween(BinaryToString($sRead), 'Type: BIOS', 'Category:') Local $aLinks = _StringBetween($aData[0], '<A HREF="/', '"><IMG') For $i = 0 To UBound($aLinks) - 1 $aLinks[$i] = 'http://downloads.dell.com' & $aLinks[$i] Next ;~ _ArrayDisplay($aLinks) MsgBox(0, "Lastest Version BIOS", $aLinks[0]) Saludos 31290 1 Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut Link to comment Share on other sites More sharing options...
31290 Posted February 11, 2016 Author Share Posted February 11, 2016 Hi Danyfirex, That is so cool. I did not know about this page and what you proposed is working like a charm. I'm gonna play with it and propose something very useful for us! Thanks again! ~~~ Doom Shall Never Die, Only The Players ~~~ Link to comment Share on other sites More sharing options...
Danyfirex Posted February 11, 2016 Share Posted February 11, 2016 You're Wellcome. Saludos 31290 1 Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now