Web Scraping with AutoHotKey 104- Dealing with the dreaded Frames!

AutoHotkey Merchandise-White Stress ballWhen I’m web scraping info off the Internet and run into Frames I first cry and then say a prayer… The below video helps review the issue and offers some solutions on how to, reliably, grab data.

Just keep in mind that each frame is, in essence, it’s own page and you’ll have to add additional values to your handle to navigate to it.

A copy of the syntax writer for Web Scraping with AutoHotkey can be found here.

Troubleshooting Web Scraping frames with AutoHotkey

Two women in an office smiling at a computer screen, one pointing at it while the other sits beside a green bottle on a desk.

select multiple items on a form (in mass)

AutoHotkey Merchandise-White Stress ball

In order to speed-up our page load times I like to archive items to an old folder.  Unfortunately there is no easy way to select some, but not all, items.   What I really wanted to do is automate select multiple items from a list.

Web scraping with AutoHotKey to the rescue!!! This simple looper is fast, flexible and a life saver. It simply sends tabs and the space key to my browser window saving me a lot of time and mundane work.  Below is the AutoHotKey code which is set to work in Chrome

 
WinActivate, ahk_class Chrome_WidgetWin_1 ;activate chrome window- lightning fast compared to IE
Loop, 25
{
Send, {Tab 2} ;sends two tabs
	sleep, 5
Send, {Space} ;selects / deselects item
}
return

And here is a video in case you’re not getting the value.

Select multiple items from a list

A black AutoHotkey branded water bottle on a desk beside a laptop, with a person reading a newspaper in the background

Text Expander with AutoHotkey for HotStrings with Long Replacement Text


HotStrings / Text Expansion
Text Expander windows autocorrectHotStrings with AutoHotkey are a Text Expander that:

  • Quickly get you to be more efficient
  • Reduce likelihood of Carpal Tunnel
  • Improve Accuracy/Reliability you use correct content

While HotStrings are very easy to add and use, I take a little different approach when the text I’m inserting is long (over a couple of lines).   Using the Join command for long text can greatly help readability of your code as well as do some fun manipulation.  Here is the code I work through in the below video

And this Text Expander with AutoHotkey for HotStrings with Long Replacement Text