RussMuss Posted March 20, 2007 Share Posted March 20, 2007 Hi We have third party software that uses a pop up dialog box to capture the job number when we do color prints, in Autocad. I would like some code that will automatically fill in the job number on the dialog box. I can capture the job number in the Autocad command line or through lisp, However I don't know how to transfer this value to the dialog box. At the moment I have some AutoIt code that will click the okay button, however it has the job number that was used from the previous time. ps I am a newbie... thanks Russ Link to comment Share on other sites More sharing options...
_Kurt Posted March 20, 2007 Share Posted March 20, 2007 Not 100% sure what you need, but look up the following functions in the Helpfile: ControlSend ControlClick WinActivate Win* Mouse* Kurt Awaiting Diablo III.. Link to comment Share on other sites More sharing options...
Josbe Posted March 20, 2007 Share Posted March 20, 2007 File* functions are useful if your routines are logging the plotting. e.g.: FileReadLineI doubt using Control* functions, due to the lisp dialogs used by AutoCAD. Anyway, try it. AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta Link to comment Share on other sites More sharing options...
RussMuss Posted March 20, 2007 Author Share Posted March 20, 2007 Thanks Kurt The problem with ControlSend is that it actually places a given string into the application(autocad). I want to take a value from the application (Autocad) and paste it into a another application(Equitrac -third party software) RussNot 100% sure what you need, but look up the following functions in the Helpfile:ControlSendControlClickWinActivateWin*Mouse*Kurt Link to comment Share on other sites More sharing options...
RussMuss Posted March 20, 2007 Author Share Posted March 20, 2007 Thanks I had a look at those functions but I am not sure how to use them. I am not sure how I can capture the job number from Autocad as a string and place it into the dialog box.Any ideas ??thanksRussFile* functions are useful if your routines are logging the plotting. e.g.: FileReadLineI doubt using Control* functions, due to the lisp dialogs used by AutoCAD. Anyway, try it. Link to comment Share on other sites More sharing options...
RussMuss Posted March 20, 2007 Author Share Posted March 20, 2007 Having another look at my problem - to me it seems because Autoit functions can not directly read values from Autocad I would firstly have to place a string within in notepad (using lisp), from autocad, then I would use the functions suggested to capture the job number. Would this be the correct path to follow? 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