Visual LISP, AutoLISP and General Customization

Reply
*Gekko
Message 1 of 5 (138 Views)

Word Excel Button -- numbers?

138 Views, 4 Replies
07-24-2006 04:29 AM
hi,,'

I just made a couple of buttons leading to WinWord & Excel, (works
just fine) and after using/testing I noticed this on the Command line::
(startapp "winword.exe") 6287 & (startapp "excel.exe") 19647.
Just wondering what the numbers are?

Gekko
*Matt W
Message 2 of 5 (138 Views)

Re: Word Excel Button -- numbers?

07-24-2006 07:04 AM in reply to: *Gekko
What if you add a (princ) at the end??

(startapp "winword.exe")(princ)

--
Matt W
[Insert funny quote/saying here]
*Gekko
Message 3 of 5 (138 Views)

Re: Word Excel Button -- numbers?

07-24-2006 07:19 AM in reply to: *Gekko
When adding princ, I get, (startapp "winword.exe)(princ).
Princ doesnt exit quietly, instead it shows as above on the cmd line.
What about the numbers, I'm still interested to know what they relate to.
Gekko

-------
What if you add a (princ) at the end??

(startapp "winword.exe")(princ)

--
Matt W
[Insert funny quote/saying here]
*Murph
Message 4 of 5 (138 Views)

Re: Word Excel Button -- numbers?

07-24-2006 07:30 AM in reply to: *Gekko
The number is nothing more than a way for Autocad to keep track "somewhat"
of the application/file that startapp calls. You can use it to verify that
startapp did in fact get a file/application.

Murph
--
http://mappingitout.blogspot.com/
"Gekko" wrote in message
news:5246085@discussion.autodesk.com...
When adding princ, I get, (startapp "winword.exe)(princ).
Princ doesnt exit quietly, instead it shows as above on the cmd line.
What about the numbers, I'm still interested to know what they relate to.
Gekko

-------
What if you add a (princ) at the end??

(startapp "winword.exe")(princ)

--
Matt W
[Insert funny quote/saying here]
*Gekko
Message 5 of 5 (138 Views)

Re: Word Excel Button -- numbers?

07-27-2006 07:12 PM in reply to: *Gekko
Okay, cheers.
Gekko

"Murph" wrote in message
news:5246097@discussion.autodesk.com...
The number is nothing more than a way for Autocad to keep track "somewhat"
of the application/file that startapp calls. You can use it to verify that
startapp did in fact get a file/application.

Murph
--
http://mappingitout.blogspot.com/
"Gekko" wrote in message
news:5246085@discussion.autodesk.com...
When adding princ, I get, (startapp "winword.exe)(princ).
Princ doesnt exit quietly, instead it shows as above on the cmd line.
What about the numbers, I'm still interested to know what they relate to.
Gekko

-------
What if you add a (princ) at the end??

(startapp "winword.exe")(princ)

--
Matt W
[Insert funny quote/saying here]

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you interested in helping shape the Autodesk Community?
We’re looking at a few different ways to improve the “All Forums” landing page and need your feedback! If interested, please take a few minutes to fill out the following Usability Study. Thank you for your time!

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community