08-29-2005, 06:26 PM
Thanks for your reply Gintaras. Would it be possible for an example of the 'search for text in a web page' thing? I've had a go but it doesn't seem to work :?
Thanks.
Thanks.
Gintaras Wrote:This function runs all the time and launches macro "Macro150" whenever Outlook Express has new email. The function periodically looks for "You have new e-mail" tray icon. Works on Windows XP.
Function OE_new_mail_trigger:
int is
rep
,1
,Acc a=acc("You have new e-mail" "PUSHBUTTON" "+Shell_TrayWnd" "ToolbarWindow32")
,if(a.a)
,,if(!is)
,,,is=1
,,,mac "Macro150"
,else is=0
To run this function when QM starts, insert this in function init2:
mac "OE_new_mail_trigger"
Alternatively, you can create a function that checks for new messages on POP3 server.
Similarly you can create a "text in a web page" trigger. Instead of looking for tray icon (acc), look for particular text in web page (htm).
