Skip to content

Instantly share code, notes, and snippets.

@bigjosh
Created August 7, 2024 05:00
Show Gist options
  • Save bigjosh/40476018f661a131bc427c03ff3803e7 to your computer and use it in GitHub Desktop.
Save bigjosh/40476018f661a131bc427c03ff3803e7 to your computer and use it in GitHub Desktop.
A horrible AutoHotKey script to semi-automate the extraction of a directory full of Blackberry IPD backup files using BlackBerry Extractor.
#Requires AutoHotkey v2.0
^j::
{
WinActivate "BlackBerry Backup Extractor"
WinWaitActive "BlackBerry Backup Extractor"
ControlClick "WindowsForms10.BUTTON.app.0.282af8c_r12_ad11"
Sleep 100
Send A_LoopFileFullPath
Send "{Enter}"
}
Loop Files, "D:\Documents\Share\bbb\in\*.ipd"
{
r:=MsgBox( "Filename = " A_LoopFileFullPath , , "YesNo" )
If r = "No"
{
break
}
WinActivate "BlackBerry Backup Extractor"
WinWaitActive "BlackBerry Backup Extractor"
ControlClick "WindowsForms10.BUTTON.app.0.282af8c_r12_ad11"
WinWaitActive "Open a BlackBerry"
Sleep 100
Send A_LoopFileFullPath
Send "{Enter}"
WinWaitActive "BlackBerry Backup Extractor", "Select an output"
Sleep 100
ControlClick "WindowsForms10.BUTTON.app.0.282af8c_r12_ad12"
WinWaitActive "Browse For Folder"
SLeep 1000
Send "!m"
Sleep 1000
Send "BBB" A_LoopFileName
Send "{Enter}"
Sleep 10000
Send "{Enter}"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment