if you take a look at the code macro snippet i posted on the 15th re: code dialog it has some debugging info "//" remarked out. the file paths and file names will show in a prompt box when the // are removed. to get the machine name to appear i think you will need to assign a string to the machine name and show it in a pause box. you can add a goto at the btm of each machine's code section to force a move to the section that starts the text editor, this way it will always start and again you can pass the code file name to the text editor by way of a variable.
bob -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Stannard, Rick Sent: Tuesday, April 10, 2001 6:31 AM To: [EMAIL PROTECTED] Subject: [mfg-smartcam] lack of macro knowledge Hi All again, I had a, what I thought, was a brilliant idea. The macro that I got to work yesterday, I decided to expound on that and make it code all my machines. This way, I would only have one macro to contend with. All seemed to be going well, I almost have it, with a couple of exceptions. One of them is the first pause you come upon, I want it to show me the machine I am about to code, but all I get is THIS WILL PRODUCE CODE FOR THE ? etc... I have looked at other macro's and I just can't figure out what I am doing wrong there. The next problem is when I tell it to go to any other machine other than Star, the text editor won't appear. It codes the correct machine, and writes the code to the directory I have specified, but the editor won't come up. Now, I did take away the whole @star section, and the editor did come up for the Citizen, so all I can figure is that somehow, after it codes, it jumps back to the @star section to try to open up the editor. I don't know how to put in debugging info into the macros, so any help would be appreciated. Thanks a bunch, Rick <<smart1.mcl>> Thank you, Rick Stannard SR. CNC Programmer Fairchild Fasteners, South Bay 3000 W. Lomita Blvd Torrance, CA. 90505 Ph. (310)784-4394 cell (310)938-8431 [EMAIL PROTECTED] www.fairchildfasteners.com ====================================================================== To find out more about this mailing list including how to unsubscribe, send the message "info mfg-smartcam" to [EMAIL PROTECTED] ======================================================================
