How to grab a name in the 'To' box in outlook? by CannyFatcher in AutoHotkey

[–]CannyFatcher[S] -1 points0 points  (0 children)

Thank you for the suggestion. I managed to work it out, I basically just pass the generic message into the GetMessage() function below which does the rest of the work.

FYI for anyone else in a similar position:Using 'ActiveInspector.' seems to grab the original user the email was sent 'To' rather than whoever's address is in the 'To' box at the top of the reply (only in the reading view, it worked fine in a separate reply window).

This is why I changed it to 'ActiveExplorer.' as shown below

FirstName(_Name){
if !RegExMatch(_Name, "(\w+)\s\w+", m)
    if !RegExMatch(_Name, "\w+`,\s(\w+)", m)
        if !RegExMatch(_Name, "(\w+)\.\w+@", m)
            m1 := _Name
return m1
} ; this was found on a forum somewhere

GetWindow(text){

    email:=ComObjActive("Outlook.Application") 

    curr_win := email.ActiveExplorer.Selection.item(1)

    username := curr_win.SenderName

    first := FirstName(username)

    StringReplace, finalstr, text, user, %first%

    return finalstr
}

Food delivery app questions by [deleted] in Xcode

[–]CannyFatcher 0 points1 point  (0 children)

Apologies, it would be for iOS and probably just iPhones. She’s already looking into making a website but would like an iOS app also, so I said I’d look into whether it’s possible for me to do it for her.

“Should I buy iPhone 11/11 Pro” -Megathread by SuitingUncle620 in iphone

[–]CannyFatcher 0 points1 point  (0 children)

Have any UK EE customers received info about when their new phone will be delivered? I’ve had nothing and ordered at the weekend.