Move messages in Outlook 2011 broken

Discussion in 'Mac Programming' started by jimmyhartington, Jun 3, 2014.

  1. jimmyhartington macrumors newbie

    Jun 3, 2014

    I have an AppleScript which I have used to move messages to an archive folder in Outlook 2011 (version 14.4.2).
    Now it is broken and would like to hear if anybody has the same issue.
    I am running OS X 10.9.3

    The code is:
    tell application "Microsoft Outlook"
    	set theMessages to current messages
    	set thisFolder to mail folder id 267 of application "Microsoft Outlook"
    	repeat with theMsg in theMessages
    		move theMsg to thisFolder
    	end repeat
    end tell
    If you copy paste it into the AppleScript Editor and compile it, then you get an error.
    I do not know if it is Mavericks or Outlook which is broken.
    Hope somebody knows anything about this.
  2. kryten2 macrumors 6502a

    Mar 17, 2012
    So it used to work on what version of Outlook and OS X? Please post the exact error message you get.
  3. jimmyhartington thread starter macrumors newbie

    Jun 3, 2014
    I know found the error.

    It was actual not in Microsoft Outlook itself.

    But I had an installation of Parallels Desktop with Windows 7, which had registered it apps as Mac apps.
    And when I disabled that sharing it know works again.

Share This Page