hexagon logo

Message box to use with CMM Program

Message Box info has been moved to here: Link

Results:

edit: I guess you cant see the picture anymore so follow the link.

Features:
It will
-Display:
....a picture
....a text message(with different font sizes and justification)
....different colored backgrounds
....up to 2 buttons(OK or Cancel or both) and create a file on the CANCEL button for testing if canceled
-Auto-close after delay(in conjunction with any other feature)
-Play a wave file(With any other feature)

Also...
New parameter to point to an INI file that is not saved in the default location.
Parents
  • No, No...what i meant was....I can't change the timer from 10 seconds to like 3 or 5 seconds. Also, what is wrong with this line?

    EXTERNALCOMMAND/NO_DISPLAY, NO_WAIT ; C:\PCDMIS3.7MR3\PICMSG.EXE |T POSITION AS SEEN IN PIC. |P C:\pcdmis3.7mr3\Images\FO5703012_1.JPG |S03 |B0|F16


    Doesnt look like anything is wrong with it... why, what happens when you use it? Is the one where the timer doesnt work?

    Get the lastest version. There was an earlier version that had defaulted to 10 seconds but was fixed.

    Also, I dont know if PCDMIS has issues with long command lines like that so that is one reason that I added the ability to reference an external file so that you can make up instructions for each part program and edit it without going into the program itself.

    So for you example, use notepad and create a file called "FO5703012_1.ini" that is saved in C:\setups\ (Just an example)

    Put the following text in the file.
    ---------------------------------------------------------
    [Parameters]
    A=CENTER
    B=0
    C=BLUE
    F=16
    P=C:\pcdmis3.7mr3\Images\FO5703012_1.JPG
    S=3
    T=POSITION AS SEEN IN PIC
    W=
    ---------------------------------------------------

    Then reference your file like this:
                EXTERNALCOMMAND/NO_DISPLAY, NO_WAIT ; C:\PCDMIS3.7MR3\PICMSG.EXE |i C:/setups/FO5703012_1.ini
    


    NOTE: The backslashes in the path for the INI file are reversed so that PCDMIS doesnt try to process it.

    Another thing, it might be easier to create a folder just for setups and instructions. This would help to keep paths shorter and simpler. This is just an example.

    C:\Setup\
    Put the picmsg.exe file in here

    C:\Setup\Images\
    Put your image files in here

    C:\Setup\Sounds\
    Put your sound files here

    C:\Setup\INI\
    Put your instruction files here

    If you create a folder for each part program, then it might be easier to put all the related files in that folder instead. There are many ways to do this.
Reply
  • No, No...what i meant was....I can't change the timer from 10 seconds to like 3 or 5 seconds. Also, what is wrong with this line?

    EXTERNALCOMMAND/NO_DISPLAY, NO_WAIT ; C:\PCDMIS3.7MR3\PICMSG.EXE |T POSITION AS SEEN IN PIC. |P C:\pcdmis3.7mr3\Images\FO5703012_1.JPG |S03 |B0|F16


    Doesnt look like anything is wrong with it... why, what happens when you use it? Is the one where the timer doesnt work?

    Get the lastest version. There was an earlier version that had defaulted to 10 seconds but was fixed.

    Also, I dont know if PCDMIS has issues with long command lines like that so that is one reason that I added the ability to reference an external file so that you can make up instructions for each part program and edit it without going into the program itself.

    So for you example, use notepad and create a file called "FO5703012_1.ini" that is saved in C:\setups\ (Just an example)

    Put the following text in the file.
    ---------------------------------------------------------
    [Parameters]
    A=CENTER
    B=0
    C=BLUE
    F=16
    P=C:\pcdmis3.7mr3\Images\FO5703012_1.JPG
    S=3
    T=POSITION AS SEEN IN PIC
    W=
    ---------------------------------------------------

    Then reference your file like this:
                EXTERNALCOMMAND/NO_DISPLAY, NO_WAIT ; C:\PCDMIS3.7MR3\PICMSG.EXE |i C:/setups/FO5703012_1.ini
    


    NOTE: The backslashes in the path for the INI file are reversed so that PCDMIS doesnt try to process it.

    Another thing, it might be easier to create a folder just for setups and instructions. This would help to keep paths shorter and simpler. This is just an example.

    C:\Setup\
    Put the picmsg.exe file in here

    C:\Setup\Images\
    Put your image files in here

    C:\Setup\Sounds\
    Put your sound files here

    C:\Setup\INI\
    Put your instruction files here

    If you create a folder for each part program, then it might be easier to put all the related files in that folder instead. There are many ways to do this.
Children
No Data