• Intro to AutoHotkey HotStrings with AutoHotkey Intermediate AutoHotkey GUIs are Easy with AutoHotkey Intro to DOS & AutoHotkey AutoHotkey FAQ AutoHotkey FAQ

How I used Google Translate to save the client both time and money

In this session of “what I’ve automated with AutoHotkey” I explain how I saved my client a ton of time and money by using the Google Translate API.

How I used Google Translate to save the client both time and money

Below is the code I used in the code to Google Translate to save the client both time and money.  Make sure you put my Excel function library and Maestrith’s Notify function in your library.

Connecting to an IE window to send API calls (XMLHTTP Requests)

In the below AutoHotkey Podcast we discussed how to send API calls from an active IE window.  A subscriber asked me to share the code so below is the example code I mentioned in the recording

Make sure you get our Web Scraping syntax writer

Connecting to active IE window and sending an API call

Use Fiddler to monitor network traffic

Use Fiddler to monitor network trafficBeing able to easily monitor your network traffic is very helpful when working with APIs as well as Web Scraping.

In these two videos I demonstrate how to use Fiddler to monitor network traffic.  Fiddler is a great, free, tool that can help you see what traffic is going on behind the scenes from browsers, programs, apps, and AutoHotkey.  FYI- If you don’t care to use Fiddler / an external tool, a lot of this can be done with the developer tools inside a browser however they are somewhat limited in functionality.  I’ve tried other network monitoring tools but they are ridiculously complex.

Use Fiddler to monitor network traffic

Intro to using Fiddler to peek at traffic

Use AutoHotkey to easily clear network traffic in Fiddler

;*********************Clear traffic in Fiddler   Need to uncomment**********************************
;~ #IfWinActive ahk_exe Fiddler.exe  ;Uncomment this if you want to only do it when Fiddler is Active
^+c:: ;Hotkey to clear traffic
ControlFocus,WindowsForms10.SysListView32.app.0.2bf8098_r6_ad12 ;Control where Traffic is (must be active)
Send ^x ;Clear Traffic
;~ #IfWinActive ;Uncomment this if you uncommend the above #IfWinactive




Using Filters in Fiddler to clean-up what Fiddler is tracking



AutoHotkey webinar: Connect to running scripts from Explorer Context Menu

webnar 300x200

Video Hour 1:  High Level: Connect to running scripts from Explorer Context Menu

  1. Context menus at work
    1. Quick Access Popup real life example
  2. Pieces of the puzzle (Here is a link to the below files)
    1. Receiver (script or compiled): Receiver.ahk
    2. Messenger (compiled): Messenger.exe
    3. Testing at command line: Test.bat
    4. Setup context menus: RegEdit import InstallContextMenus.reg
    5. Remove context menus: RemoveContextMenus.bat
    6. Questions

Video Hour 2: Coding and Q&A

Squishy Ball 2

Script Highlight: Random code generator.ahk by Maestrith (Author of AHK Studio)

  • Generate a list of random characters
  • Control what is in the unique list
  • How many unique “Keys” are generated
for a,b in StrSplit("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz") ;put whatever characters you want in here
	Random.Push(b) ;Add each character to Random Array
InputBox,Count,How Many Codes,How Many Codes do you want?
InputBox,Length,How Long For Each Code,How Long?
While(Items.MaxIndex()<Count){ ;Keep iterating until you have enough "keys"
	Out:=""  ;Clear out variable
		Random,Digit,0,% Random.MaxIndex() ;keep max lenght of random at right level
		Out.=Random[Digit] ;append the Random digit to out.
		Items.Push(Out),Dup[Out]:=1 ;Add key to object
for a,b in Items ;Iterate over list
	Total.=b "`n" ;Add to total with new line

msgbox % Clipboard:=Total

AutoHotkey Bottle 3