Visual LISP, AutoLISP and General Customization

Visual LISP, AutoLISP and General Customization

Reply

Word Excel Button -- numbers?

167 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

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]

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]

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]

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
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!