Jump to content

richietheprogrammer

Active Members
  • Posts

    153
  • Joined

  • Last visited

Everything posted by richietheprogrammer

  1. Ha, nice. No script needed afterall. Thank you!
  2. So I got the list to sort correctly, but is there a way to actually sort the files in all the folders, so that when I browse to them in explorer, they're all sorted? Thanks!
  3. Sorry about that, should have checked there first. I appreciate it. I will try to finish it and will post if I have more questions. Thanks!
  4. Awesome, thank you. I am looking to browse all subfolders as well. Is that possible? Also, Is there anyway I can get the path in the second column? The path of each corresponding file? Thanks!
  5. Hey all, it's been a while Seems simple enough, but I can't figure out how to get started. I am looking to sort files inside sub folders by file type, so that when I do browse to the folders, the files are already sorted by type. Any help is appreciated! Cheers!
  6. Yep, re-installing Office worked. Code compiles now. Thank you! Cheers!
  7. I will try and post the results. Thank you much!!
  8. Yes and Yes (ish). I use Outlook 2013 (shouldnt matter from what I understand). I remember sometimes when I start Outlook it displays "There is no email program associated to perform the request action". After clicking OK, Outlook launches fine. This just started happening recently. Im starting to think that's what the issue is. Maybe I should reinstall Outlook?
  9. Thanks for your reply. I started a new code and I have: #include <OutlookEX.au3> _OL_Open() and it returns: OM Error Encountered in test.au3 OutlookEx UDF version = 0.9.0 @AutoItVersion = 3.3.8.1 @AutoItX64 = 0 @Compiled = 0 @OSArch = X64 @OSVersion = WIN_7 Scriptline = 185 NumberHex = 800401F3 Number = -2147221005 WinDescription = Invalid class string Description = Source = HelpFile = HelpContext = 1027423549 LastDllError = 1008 ======================================================== Any ideas? Thanks for your help!
  10. Hey all, running into an issue. First of all I would like to thank Water for the incredible work, as OutlookEX has provided me with a lot of help to come up with scripts I always thought were impossible . Now to the issue: I wrote a script that uses OutlookEX, and I tested it maybe a few hundred times, with Outlook open, and it worked every single time. I put that script off to the side for a while, and now I am back to it. Every time I try to run it, it fails at : OutlookEX.au3 (1171) : ==> Error in expression.:Local $oNamespace = $oOL.GetNamespace("MAPI") Local $oNamespace = ^ ERROR The error is on line 1171 in OutlookEX.au3, inside OL_FolderAccess. Here is the even more weird part: I try the same script on all my other computers, and I have absolutely no problems running it. I am making sure Outlook is open (Using outlook 2013 on all the machines), and nothing major has changed since the last time I attempted the script and it worked on this machine. It's driving me insane because I cant figure out what it could be. Do you guys have any ideas? Thanks for any help again!
  11. thanks for the ideas everyone. I will look into the suggestions and check back here.
  12. thanks for the reply. Could you please clarify your suggestion or give an example? Thanks you!
  13. Thanks for the suggestions everyone. However the suggested solution doesn't work for me still, as it still presents the same concern. Therefore, let me clarify what I am looking for: There is a local program installed on our computers that displays a reboot prompt, but does not ask for confirmation if the user chooses "reboot now". I would like to customize a messagebox to get verification before rebooting. I am able to write the code for the messagebox, and for detecting when that box is shown (using winwait as suggested), however, I do not want a script running on all these computers at all times that just waits for that message box to open. Basically when that program displays that messagebox, I will have the code choose the "reboot later" option and then display a customized messagebox with both options present, followed by another confirmation box if "reboot now" is chosen. I hope this is clear enough, but I am looking for a way to detect that messagebox without having an autoit script running at all times. Once detected, the autoit script should run. I apologize if what I am asking for sounds ridiculous and is not possible (because I do not see how it would be possible) but you guys never cease to amaze me with ideas Thanks for any help!
  14. Hello all, I am trying to see if it is possible to execute the script when a message appears. I want the script to only execute when a specific messagebox is ran (from another application). Is this possible at all? Thanks for any help!!
  15. I tried going about it that way, but I could not get it to work. Could you give me an example? Thanks!
  16. Found a way around it. I saved the outlook template source (html) to a text file, and used find/replace to edit that text file then read it and display it, for lack of better ways
  17. Hello, I am trying to open an Outlook template, edit the contents depending on user input, and then generate a message with the updated information. So far, I have been able to take care of everything except editing the html in the body (Thanks to Waters and the useful UDF). Basically, the body is html (edited and formatted) and I cannot find a way to edit it properly. So if the body in the template says "Hello, John" and the user chooses the name to be "George", I would like to replace it accordingly. What would be the best approach to doing so? Any help is greatly appreciated.
  18. Been messing with this a little bit. Works just great! One thing I'd ideally love to have is a list of the machine names that the username used to logon to those DC's. Is that possible to retrieve at all?
  19. You've been all the help I could ask for! Thanks a lot!
  20. Exactly that! Thank you so much! One last thing, how do I figure out the sitename, if I want to reduce wait time?
  21. Fantastic work! Can we maybe combine them in one Arraydisplay ?
  22. Yea I understand. Is there a way to display some info about that DC in the messagebox along with the time? That way I will see what's happening.
  23. That is correct the messagebox displays a valid date.
  24. I understand. It's just that all of the DC's returned this message, meaning the results aren't useful. Im trying to get a list of DC names a specific user has logged in to.
  25. Hmm, so after it took around 5 minutes, the messagebox displayed just a date (correctly) but the logs arent much help as the description was a failure. Here is one of them: COM Error Encountered in script.au3 AD UDF version = 1.3.0 @AutoItVersion = 3.3.8.1 @AutoItX64 = 0 @Compiled = 0 @OSArch = X86 @OSVersion = WIN_7 Scriptline = 1591 NumberHex = 002000 Number = -21473526 WinDescription = Description = The server is not operational. Source = Active Directory HelpFile = HelpContext = 0 LastDllError = 0 =================== Any idea what might cause this?
×
×
  • Create New...