Scraping an Outlook archive

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
jackshafer
Posts: 1
Joined: 06 Aug 2022, 20:55

Scraping an Outlook archive

Post by jackshafer » 01 Jun 2023, 15:26

I'm trying to scrape a large Outlook archive. I can forward individual emails but the administrator has turned off export. I wrote this script that works 2/3 of the time to copy , but the other 1/3 it doesn't send, it is just left in draft form. Any ideas on how to fix?

Code: Select all

^4::
#SingleInstance, Force
#NoEnv
SendMode Input

Loop, 500
{
    Send, {Ctrl down}{Shift down}f{Shift up}{Ctrl up}
    Sleep, 500
    SendInput, [email protected]
    Sleep, 500
    Send, {Tab}	
    Sleep, 5000
    Send, {Tab}
    Sleep, 500	
    Send, {Ctrl down}{Enter}{Ctrl up}
    Sleep, 1000
    Send, {Esc}
    Sleep, 1000
    Send, {Down}
    Sleep, 500		
}
[Mod edit: Moved topic to AHK v1 help, since this is not v2 code.]

Return to “Ask for Help (v1)”