INSTALL DATE: <input type="hidden" name="txtCustom3DB" id="txtCustom3DB" value="same day larry">
ACC#: claimID=
INTERNET: <input type="hidden" name="cmbCustom7DDDB" id="cmbCustom7DDDB" value="No">
PREVIOUS PROVIDER: <input type="hidden" name="cmbCustom14DDDB" id="cmbCustom14DDDB" value="DISH">
AUTO PAY: <input type="hidden" name="cmbCustom17DDDB" id="cmbCustom17DDDB" value="No">
PROTECTION PLAN: <input type="hidden" name="cmbCustom18DDDB" id="cmbCustom18DDDB" value="no">
The all caps are words to help you understand what the code refers to. For example INSTALL DATE: <input type="hidden" name="txtCustom3DB" id="txtCustom3DB" value="same day larry"> means that Larry, is going to do a same day install. So the only useful information from the HTML code is the last bit that says value="same day larry". And even then, only the between the quotes information is needed. What i want this code to do is extract the information from the HTML raw source code, and paste it in a certain format. For example: With the code *INTERNET: <input type="hidden" name="cmbCustom7DDDB" id="cmbCustom7DDDB" value="No">* I want it to search from my clipboard for the <input type="hidden" name="cmbCustom7DDDB" id="cmbCustom7DDDB" value="No"> string, truncate all data except for the word/words between the last " ", and put out "internet: no".
So my code will do this:
Code: Select all
^F1:: ;HotKey CTRL+F1
Send, {lcontrol Down}{lshift Down}{i}{lcontrol Up}{lshift Up} ;CTRL+SHIFT+i opens the inspect source code box in google chrome
sleep, 300 ;wait for the box to load
Send, {lcontrol Down}{c}{lcontrol Up} ;by default google chrome selects everything when nothing is specifically selected.
sleep, 100
Send, {lcontrol Down}{lshift Down}{i}{lcontrol Up}{lshift Up} ;close the inspect source code box
INSTALL DATE: <input type="hidden" name="txtCustom3DB" id="txtCustom3DB" value="same day larry">
ACC#: claimID=123456789
INTERNET: <input type="hidden" name="cmbCustom7DDDB" id="cmbCustom7DDDB" value="No">
PREVIOUS PROVIDER: <input type="hidden" name="cmbCustom14DDDB" id="cmbCustom14DDDB" value="DISH">
AUTO PAY: <input type="hidden" name="cmbCustom17DDDB" id="cmbCustom17DDDB" value="No">
PROTECTION PLAN: <input type="hidden" name="cmbCustom18DDDB" id="cmbCustom18DDDB" value="no">
and then store the information below in the clipboard to be pasted anywhere needed:
install date: same day larry
acc#: 123456789
internet: no
prev prov: dish
auto pay: no
pp:no
I feel this would be relatively easy, once you have one search function down. That is because every single page has only exactly one line of those HTML code. And each page has the exact same line of code, with different input as the value="". Any other questions, or need further explanation, id love to help. Thanks!