Jump to content

Friedel2k

Active Members
  • Posts

    27
  • Joined

  • Last visited

Everything posted by Friedel2k

  1. OK thats a tough nut... If i try just to rename the Recipient Cache - it gets filled up again by IPM.COnfigurationAutocomplete. Is there an option to export import that hidden "msg" or to rename the value of the class of the table? Currently I cant not access there any element. Seems that this is a not solved problem - I find some threads but no solution.
  2. NK2Edit works only for old outlook versions. current versions are saving the data in ur pst / ost file - so u need direct access. All the "nk2" and "cache file" ways are wrong - cause outlook just updates it. one way. The stackoverflow way seems to be the right direction, I will check it 🙂 Also I will try to automate MFCMAPI - maybe I can handle it hidden so that no one can "see" / "feel" it.
  3. Dear all, Dear Water 😉 I know the MFCMAPI Tool and there are no known silent switches. Or I just cant find theme. If I try to find the hidden IPM.COnfigurationAutocomplete (list) at the *\Inbox I get no result with ur function _OL_ItemFind. Did somebody know if IPM.COnfigurationAutocomplete is really a message? Seems to be a table with relations? Is there any option to export the IPM.COnfigurationAutocomplete as in the MFCMAPI tool as *.msg (unicode)? And also to reimport it? Alternativ: under *\contacts there is the folder Recipient Cache - Is there an option to export / import that folder? Alternativ2: I would also use ps oder other to export / import that data. Thx for help for that interresting topic
  4. Dear Water, I have read it 🙂 Thx a lot for ur help. Now it works for me.
  5. Wow great: Some fields are translated and some not. So I have so "try" if the field is nativ EN or if there is an translation. For example subject in germen "betreff" - translated full. Nickname is not translatet.... Now I get results like expected. I try now to delete the contacts "directly"
  6. same errror. But: if I try the field subject - I get an result. I try other fields. Maybe some fields not searchable from deleted items or not accessable. I will try...
  7. My mistake: @error: 5 - @extended: -2147352567 regarding OutlookEX.au3: ; |5 - Error filtering items. @extended is set to the COM error
  8. in both cases no error: If I use it with filter: $aResultOutlookBestand = _OL_ItemFind($oOL, "*\Gelöschte Elemente", $olContact, "[nickname]='RecuraAutoImport'", "", "", "EntryID,FirstName,Lastname,BusinessTelephoneNumber,Email1Address,CompanyName,MobileTelephoneNumber,JobTitle,nickname,Title", "") $iRowsOutlookBestand = UBound($aResultOutlookBestand, $UBOUND_ROWS) $iRowsOutlookBestand = ($iRowsOutlookBestand - "1") ;MsgBox($MB_SYSTEMMODAL, "Title", "INITIAL: "&$iRowsOutlookBestand, 10) _ArrayDisplay($aResultOutlookBestand) No item gets found. And interresting: The array will not show up. If I use no filter: $aResultOutlookBestand = _OL_ItemFind($oOL, "*\Gelöschte Elemente", $olContact, "", "", "", "EntryID,FirstName,Lastname,BusinessTelephoneNumber,Email1Address,CompanyName,MobileTelephoneNumber,JobTitle,nickname,Title", "") $iRowsOutlookBestand = UBound($aResultOutlookBestand, $UBOUND_ROWS) $iRowsOutlookBestand = ($iRowsOutlookBestand - "1") ;MsgBox($MB_SYSTEMMODAL, "Title", "INITIAL: "&$iRowsOutlookBestand, 10) _ArrayDisplay($aResultOutlookBestand) The Items gets found and the array shows up. in both cases autoit ends correct: +>Setting Hotkeys...--> Press Ctrl+Alt+Break to Restart or Ctrl+BREAK to Stop. +>10:10:48 AutoIt3.exe ended.rc:0 +>10:10:48 AutoIt3Wrapper Finished. >Exit code: 0 Time: 40.35
  9. *\Gelöschte Elemente --> result with Filter = 0; without Filter = currently 4 --> thats right. I can reproduce it. Iam not sure - but no field can be selected / founded
  10. OK, thats I have seen 🙂 Than my problem keeps when i filter with / try to get results from the deleted folder: $aResultOutlookBestand = _OL_ItemFind($oOL, "*\Deleted item", $olContact, "[nickname]='RecuraAutoImport'", "", "", "EntryID,FirstName,Lastname,BusinessTelephoneNumber,Email1Address,CompanyName,MobileTelephoneNumber,JobTitle,nickname,Title", "") If I use [nickname]='RecuraAutoImport' = result = 0 If I use no selection / filter, "", I can find my Items. Does I have to search with other options at deleted folder? Does I have understand something wrong hat helpfile? Thx!
  11. Ive read the help for the function and other threads. does I unterstand permanend wrong? permanend means for me "direct delete without getting into "deleted elements"". iam wrong? Currently I tried everything but my contacts still land in "deleted elements": _OL_ItemDelete($oOL, $aResultOutlookBestand[1][0],"",TRUE) Interresting: When I use the search function I cant with elements in deleted objects with a filter --> without filter I can found elements. Is there a special handling for that folder? My idea was to research the deleted elements --> and delete them again. But my result is always empty because the "selection" works not for me.
  12. Tested. works fine: if $iRowsOutlookBestand >0 Then While $k <= $iRowsOutlookBestand _OL_ItemDelete($oOL, $aResultOutlookBestand[1][0]) If @error Then ExitLoop global $aErrors Global $iFlag $aResultOutlookBestand = _OL_ItemFind($oOL, "*\Kontakte", $olContact, "[nickname]='RecuraAutoImport'", "", "", "@ItemObject") $aErrors = _OL_ItemBulk($oOL, $aResultOutlookBestand, Default, Default, 2, Default, Default, 1) $aResultOutlookBestand = ($aResultOutlookBestand - 2) If @error <> 0 Then MsgBox(16, "_OL_ItemBulk", "Fehler beim Outlookkontakte synchronisieren. @error = " & @error & ", @extended = " & @extended) If $iFlag = 1 Then _ArrayDisplay($aErrors) EndIf Sorry but my last question. If I use Global $bPermanent Global $sStoreID _OL_ItemDelete($oOL, $aResultOutlookBestand[1][0],$sStoreID = Default,$bPermanent = TRUE) Outlook deletes the contact elements from my contacts --> great. But it keeps them at the deletet object. I have found threats were u say thats not possible but with a trick is possible. Could you tell me that trick? Than its fine.
  13. $aResultOutlookBestand = _OL_ItemFind($oOL, "*\Kontakte", $olContact, "[nickname]='RecuraAutoImport'", "", "", "EntryID,FirstName,Lastname,BusinessTelephoneNumber,Email1Address,CompanyName,MobileTelephoneNumber,JobTitle,nickname,Title", "") This I use to search for existing contacts. I get an Array with all data. At that moment I understand what u mean with "time" at deleting 🙂 If I use: While $k <= $iRowsOutlookBestand _OL_ItemDelete($oOL, $aResultOutlookBestand[1][0]) $aResultOutlookBestand = _OL_ItemFind($oOL, "*\Kontakte", $olContact, "[nickname]='RecuraAutoImport'", "", "", "EntryID,FirstName,Lastname,BusinessTelephoneNumber,Email1Address,CompanyName,MobileTelephoneNumber,JobTitle,nickname,Title", "") $iRowsOutlookBestand = UBound($aResultOutlookBestand, $UBOUND_ROWS) ; Zähle die Array Einträge für die Manipulation "Recura Export for Outlook". $iRowsOutlookBestand = ($iRowsOutlookBestand - "1"); Wichtig ist -1 weil das Array ja "zu groß" für die Lösch-Routine ist! Display Array vergleichen mit ResultCount! WEnd I "rescan" the contacts to get the current Entry ID. That progress is time intensive. Is it possible to delete all "findings" / the whole array with all entry IDs at once? Outlook seems here problematic.
  14. OK. I got it. I will post the result asap.
  15. Hello Water, thats right. I "get" them with the flag at the body fild. currently I have first success with the array with all contacts with: $aResult = _OL_ItemFind($oOL, "*\Kontakte", $olContact, "", "", "", "FirstName,Lastname,BusinessTelephoneNumber,Email1Address,CompanyName,MobileTelephoneNumber,JobTitle,body,Title", "") next I try to implement the filter "body" - so I recieve just the wanted contacts. next I need just to delete them. Than its ready.
  16. PAP: 1. Del all contacts with "select where xzy autoimport at filed body" 2. Import "new" list Existing accounts / overlapping does not exist / will have no effect.
  17. IAm sure, cause I will filter / select with my "body filed" - so iam fine. Existing "local" account get not touched. So I update only "my" import list.
  18. Hello Water, thx for re. For both ways: Could you help me with a code snippet? I just revieve syntax Error with the "appointment" sample wich I have found from u.
  19. Hello Water, thx for re my import list contains: FirstName,Lastname,BusinessTelephoneNumber,Email1Address,CompanyName,MobileTelephoneNumber,JobTitle,body,Title When I import my import list I have "3000 contacts" in outlook. Works fine. When something is changing in my import list I would have 6000 contacts in my outlook. My idia was at the filed body to at "autoimport generated" or something like that. Idia: 1. search in outlook for all contacts with body "autoimport generated". 2. delete the "search result" in outlook 3. import a "freh "updated" import list". If available / possible I would also use a sync method. My current need ist to search with my "body" filter and delete the results in outlook. This would be great.
  20. Hello Forum, I want to use the OutlookEX.au3 to add und to remove contacts to my Outlook. An contact add works fine for me. But from time to time I have some duplicate contacts, regarding the help file and forum a synchronization is currently not available. So far my idea: 1. Very first run: I add contacts with a "special tag" in the outlook field "body". for example "IwasaddedbyAutoIT". 2. Next run: I search and delete all contacts with the "special tag" 3. normal import / reimport. So I can get sure I will not have duplicate contacts. and currently Iam not able to search with the OutlookEX.au3 - I have found examples with calenders but nothing with contacts und with a "select". Could maybe anyone spend a tip? Thx a lot!
  21. Thx a lot! Thats it! Works fine for me. Thank you all!
  22. Thank you, but it seems not that this will generate var´s. And also not the values for the var´s. If I "ask" autoit vor the vars and or var / result there are no values. Or is there a other option to import vars from a text file with there values? Thank you.
  23. Thank u ! I got it. Please one more question. Now I got the data in an array, but how to get these data into vars? Or to update existing vars? Thank you!
  24. Dear all, i just can not solve it. I hope u can give me a right tip. I just want to import a ini file, for example: [printer] $pool_1=1 $pool_2=2 $pool_3=3 with the function IniRead and I want to use direct $pool_1 as var, and the var should have the value 1 and of course has the ini file later n entrys for N vars. I have tryed evey help / refference / forum, but Iam just not able to get it. Thanks for feedback!
×
×
  • Create New...