• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Visual LISP, AutoLISP and General Customization

    Reply
    *Gekko

    Word Excel Button -- numbers?

    78 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
    Please use plain text.
    *Matt W

    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]
    Please use plain text.
    *Gekko

    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]
    Please use plain text.
    *Murph

    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]
    Please use plain text.
    *Gekko

    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]
    Please use plain text.