Visual LISP, AutoLISP and General Customization

Visual LISP, AutoLISP and General Customization

Reply
*Gekko
Message 1 of 5 (165 Views)

Word Excel Button -- numbers?

165 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 (165 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 (165 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 (165 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 (165 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]
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.