Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 02/06/2012 in all areas

  1. chibill, It is nice to see that you are learning AutoIt, but please do not post any more scripts taken directly from the Help file. But do post any scripts you have coded yourself in this thread - we encourage members to show off their own work. M23
    1 point
  2. wraithdu wrote that allows you to toggle the highlighting on and off, although it doesn't allow you to only highlight it when the text is selected, it does allow you to only highlight it when you want to.
    1 point
  3. rover

    New email notification

    enaiman Check the message filtering options of the mail clients you looked at, some can run an application as a filter option. The FiltaQuilla Thunderbird extension adds new message filter options. Run or Launch a file, Save Message as File (use with Move Later option if moving messages from InBox), run javascript, etc. http://mesquilla.com/extensions/filtaquilla/ It has a filter option to run a file with command line params - Subject, Sender, Date, etc, but header only info, apparently there is an issue with mozilla core code not supporting streaming the message. http://mesquilla.com/forum/filtaquilla/h...ess-body-of-email-with-externa) http://mesquilla.com/forum/filtaquilla/how-to-get-message-body/ http://mesquilla.com/forum/filtaquilla/run-file/ You can check a filter option to save the message as an eml file in the folder of your choice, the file is named with the subject line (duplicates have subject line with added number) You could then read the message from the script instance using something like @TempDir & "\MyMsgFolder\" & $CmdLine[X] & ".eml" delete the file, then parse the message to remove the header. example InBox filter: check sender field, run script with subject,sender and date strings, save message to eml file Run File: thunderbird-runtest.exe,@SUBJECT@,@AUTHOR@,@DATE@ Save Message as File: "your message folder" #include <Array.au3> Local $sMsg = FileRead(@TempDir & "\MyMsgFolder\" & $CmdLine[1] & ".eml") FileDelete(@TempDir & "\MyMsgFolder\" & $CmdLine[1] & ".eml") Local $aCmd = $CmdLine Local $aArray = StringSplit($sMsg, @CRLF, 3) _ArrayConcatenate($aCmd, $aArray) _ArrayDisplay($aCmd)
    1 point
  4. water

    New email notification

    Hi enaiman, I don't know anything about Thunderbird. But a quick Google search led me to the assumtion that Thunderbird supports events by a construct called "listeners" as well. Maybe this is a good start: Subscribe to new mail event in Thunderbird or Getting notified when new mail arrives in Thunderbird.
    1 point
  5. First things first. Do you know what a function is?
    1 point
  6. One alternate way I have found. The below is a concept: In multiple columns, each subitem is differentiated by it's item index. To uniquely identify a subitem we have to use "$tagNMITEMACTIVATE", we can retrive the below information from this structure. Case $NM_CLICK ; Sent by a list-view control when the user clicks an item with the left mouse button $tInfo = DllStructCreate($tagNMITEMACTIVATE, $ilParam) _DebugPrint("$NM_CLICK" & @LF & "--> hWndFrom:" & @TAB & $hWndFrom & @LF & _ "-->IDFrom:" & @TAB & $iIDFrom & @LF & _ "-->Code:" & @TAB & $iCode & @LF & _ "-->Index:" & @TAB & DllStructGetData($tInfo, "Index") & @LF & _ "-->SubItem:" & @TAB & DllStructGetData($tInfo, "SubItem") & @LF & _ "-->NewState:" & @TAB & DllStructGetData($tInfo, "NewState") & @LF & _ "-->OldState:" & @TAB & DllStructGetData($tInfo, "OldState") & @LF & _ "-->Changed:" & @TAB & DllStructGetData($tInfo, "Changed") & @LF & _ "-->ActionX:" & @TAB & DllStructGetData($tInfo, "ActionX") & @LF & _ "-->ActionY:" & @TAB & DllStructGetData($tInfo, "ActionY") & @LF & _ "-->lParam:" & @TAB & DllStructGetData($tInfo, "lParam") & @LF & _ "-->KeyFlags:" & @TAB & DllStructGetData($tInfo, "KeyFlags")) For more details, refer the help: "_GUICtrlListView_HitTest"
    1 point
×
×
  • Create New...