Jump to content

AMS

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by AMS

  1. It's a program called BobCAD and the file format is .cnc, what appears to be a proprietary format. That's why things like Notepad can not open these files without it looking all crazy like. It needs to be open within BobCAD to be rendered properly
  2. But then won't the program have to close and then open again once I set the loop up? I was hoping I could just leave the program open and it would batch process them so to speak. I'll try that though and see how it goes.
  3. Ok, but my current problem is that I can't seem to be able to open a file inside the program. Do you know how I could do that?
  4. I need to open an external program and within that program I need to open a file, copy all the text in it, paste it into a new Notepad document, save the Notepad document with the file's original name and then loop this. How would I go about doing this? ;~ Read in a file ->FileFindFirstFile ( "filename" ) ;~ Check if file exists ->FileExists ( "path" ) ;~ Open file ->FileOpen ( "filename" [, mode ] ) ;~ Get file name -> FileRead ( "filehandle/filename" [, count] ) ;~ Get text/data from file ;~ open new notepad document ;~ notepad receives data ;~ notepad saves new document as original file name ; repeat ->FileFindNextFile ( search ) This is what I attempted to plan out, but I just started using AutoIt yesterday so I'm not really sure if I'm doing it right. Thanks for any help you might be able to lend me
×
×
  • Create New...