Jump to content

fschreiner

Members
  • Posts

    8
  • Joined

  • Last visited

fschreiner's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Hi, I'm actually planning to build a little tool that creates call and chat conversation history in an Outlook folder. Creating an item for every call and also an item for every chat conversation if you will. IPM.Note.Microsoft.Conversation get automatically a very nice conversation icon assigned when it's listed in Outlook whilst IPM.Note.Microsoft.Conversation.Voice is displayed with a nice speech bubble. I'd guess that there are only additional OlItemTypes required to make that work, I just don't know which numbers are behind those 2 types. Is that anything you guys can help me with? Thanks!
  2. Hi, I'm actually trying to create new items with a very specific ItemClass but I'm not able to get it to work. The following code creates a new Item in the given folder: Global $oOutlook = _OL_Open() $oItem = _OL_ItemCreate($oOutlook, $olMailItem, "*\TestFolder", "", _ 'Subject=TestItem', _ 'BodyFormat=' & $olFormatHTML, _ 'HTMLBody=This is the body message!') Looking at the ItemClass of those items it's always 'IPM.Note'. I'd like to create the items using ItemClass: 'IPM.Note.Microsoft.Conversation' and/or 'IPM.Note.Microsoft.Conversation.Voice' Is somebody able to point me into the right direction on how to set the ItemClass in this regard? Thanks!!!
  3. Hi, I'm currently trying a very simple action. A new MailItem should be created within a given folder - unfortunately this doesn't work for whatever reason. Just creating a new MailItem in the default folder (Drafts) works fine: #include <OutlookEX.au3> Global $oOutlook = _OL_Open() $oItem = _OL_ItemCreate($oOutlook, $olMailItem, "", "", "Subject=Test") _OL_Close($oOutlook) .. the application keeps creating the new Item in the Drafts folder even though I define a different folder: $oItem = _OL_ItemCreate($oOutlook, $olMailItem, "*\TestFolder", "", "Subject=Test") I'd assume that I'm facing a pretty basic error at this stage, shouldn't be a big deal but I'm a Newbie ;-) Thanks for your help!
  4. Hi everybody, I just came accross an issue with modifying XML files. As part of my project I have to update/add paramters of XML files, so I decided to use the UDFs out of _MSXML.au3. As long as I modify xml files like: <?xml version="1.0" encoding="UTF-8"?> <Properties> <Prop1>Test1</Prop1> <Prop2>Test2</Prop2> <Prop3>Test3</Prop3> <Properties> everything is fine, there is a unique name for the tags. Now I have to update a XML file like: <?xml version="1.0" encoding="UTF-8"?> <Properties> <Parameter> <Name>Prop1</Name> <Value>Test1</Value> </Parameter> <Parameter> <Name>Prop2</Name> <Value>Test2</Value> </Parameter> <Parameter> <Name>Prop3</Name> <Value>Test3</Value> </Parameter> <Properties> As there is no unique name for the tags it always updates just the first entry. Does anybody came accross this before? Is there a workaround I could go for? I would need soemthing like -> update /Properties/Parameters/Value where /Properties/Parameters/Name = Prop2 or -> nodeexists /Properties/Parameters/Value where /Properties/Parameters/Name = Prop2 Thanks a lot! Fred
  5. All, I did something wrong while compiling my script to an .exe. Actually I compiled the script source (.au3) into the script source instead of "something.exe" ;-(((( This destroyed my source, now I'm wondering if the AutoIt Compiler creates backups of the sources it's compiling? Is ther somebody who knows? Thanks a lot... ---- I wish I would have done backups of my source
  6. Hi, thanks for your quick response. I tried to add the error handler, but it didn't help. The application/AutoIt still crashs completely, there is no output from the error handler. I think the error handler method isn't called. So this might be a basic AutoIt error then?! Fred
  7. All, I run into a problem with AutoIt when I use a COM object method. The application crashs completely and the Windows "Send Error Report" dialog appears. The creation of the object is successful, the method I'm calling takes a few seconds to run, I don't know if there's something like a timeout? I tried to use the COM object method within a small VisualBasic 6 application, there it's completely working. AutoIt Version: 3.2.10.0 OS Version: Windows XP Professional $oTelephony = ObjCreate("ActiveCTI.Telephony") If not @error then Msgbox(0,"ObjCreate","ObjCreate() successfully completed!") Else Msgbox(0,"ObjCreate","ObjCreate() not successful!") Endif $oTelephony.Login("qtapi", "qtapi123", "AVAYA#ACMFRANKFURTOF#CSTA#DE307623AES1", "Test") MsgBox(4096, "LoginStatus", "Login Finished") The last message box doesn't appear, the app crashs before. The error report says: Exeption Information Code: 0x0000005 Flags: 0x00000000 Record: 0x0000000000000000 Address: 0x000000001000bc49 Do you guys have any idea how to get the app fixed? (I have the some error report information attached) Thanks Fred 3989_appcompat.txt
  8. Hi, I'm a autoit newbie and I have just build my first GUI. Now I've got a short question. There are 3 Input fields and 2 Buttons (OK and Cancel) in my GUI. At the startup the focus is set to the first input field. Up to now, everythig's all right. Now I want that the Return key has the same function as a click on the OK Button. At the moment nothing happens when pressing return if the focus is on an input field. Many thanks for your answers!!!
×
×
  • Create New...