HighlanderSword Posted December 15, 2010 Share Posted December 15, 2010 Hello, Im working on converting code from Outlook VBA to Autoit Below is a section of code that I neeed help transalting to Autoit,appears there is no for Each command,this loop is giving me all of the folder names for outlook. How would I go about changing the for Each command from VBA to something that Autoit will recognize ? Func Entryids($StartFolder) For Each objFolder In StartFolder.Folders Call Entryids(objFolder) Next consolewrite (StartFolder.Name & ";" & StartFolder.EntryID & ";" & StartFolder.FolderPath & ";" & StartFolder.StoreID & ";" & StartFolder.Store & @crlf) EndFunc Link to comment Share on other sites More sharing options...
enaiman Posted December 15, 2010 Share Posted December 15, 2010 You don't need the keyword "Each" in Autoit. When you are using "For $x In $y" that implies "each". Just remove that and go on. SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script wannabe "Unbeatable" Tic-Tac-Toe Paper-Scissor-Rock ... try to beat it anyway :) Link to comment Share on other sites More sharing options...
Zedna Posted December 15, 2010 Share Posted December 15, 2010 Look at Outlook UDF Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now