mpellas 0 Posted March 19, 2020 Hello, I am a relative newbie to Auto IT. I was tasked to develop automation for a proprietary software we used as a CRM. As with a lot of people out there I am now working from home via GoToMyPC. My script worked yesterday. Now it doesn't work past my blocks that create directories for moving old files. Can anyone help? Here is a sample of my code. It's nothing fancy but the process doesn't get past the first mouseclick function. What am I missing? #include <Array.au3> #include <AutoItConstants.au3> #include <File.au3> #include <WinAPIShPath.au3> #include <FileConstants.au3> #include <Date.au3> ;creates path to move last MtD files DirCreate("creates directory") DirCreate("creates directory") DirCreate("creates directory") DirCreate("creates directory") DirCreate("creates directory") DirCreate("creates directory") DirCreate("creates directory") DirCreate("creates directory") FileMove("moves file") FileMove("moves file") FileMove("moves file") FileMove("moves file") FileMove("moves file") FileMove("moves file") FileMove("moves file") Filemove("moves file") ;starts process for first comprehensive report MouseClick($MOUSE_CLICK_LEFT, 36, 132 ,2) Share this post Link to post Share on other sites
Nine 931 Posted March 19, 2020 Put some error checks after each statement, so you know what is going on. Check return value and @error. ConsoleWrite them. Post Scite console if you don't find anything... Not much of a signature, but working on it... Spoiler Block all input without UAC Save/Retrieve Images to/from Text Tool to search content in au3 files Date Range Picker Sudoku Game 2020 Overlapped Named Pipe IPC x64 Bitwise Operations Fast and simple WCD IPC GIF Animation (cached) Share this post Link to post Share on other sites
mpellas 0 Posted March 19, 2020 Thank you! I'm going to add more error handling and report back if I have any more questions. Share this post Link to post Share on other sites
Subz 686 Posted March 19, 2020 Also read the help file on FileMove, specifically the last flag parameter, which can create your folder path and also allow overwriting of files. Share this post Link to post Share on other sites
mpellas 0 Posted March 19, 2020 Thanks! Filemove has been working as expected for me in the block I posted, it's everything afterwards that has all of a sudden stopped. I'm on GoToMyPC due to working from home via the virus crisis...but it worked yesterday. I haven't found any indication it's experiencing any kind of error yet...but I do need to put more handling in to make sure. Share this post Link to post Share on other sites
mpellas 0 Posted March 19, 2020 Our IT guy had to reinstall some drivers for my monitors at work. There was some kind of an odd conflict with that and GoToMyPC. I've got this problem solved. Thank you! Share this post Link to post Share on other sites