Pc-Dmis Scripting

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Pc-Dmis Scripting

    Dear Friends,

    Does Pc-Dmis respond to HTML or CSS? Plus opening and closing applications with .BAT; what are some of your favorite calls?

    Thanks,
    -Gabriel
    sigpic

  • #2
    Originally posted by Cumofo
    Dear Friends,

    Does Pc-Dmis respond to HTML or CSS? Plus opening and closing applications with .BAT; what are some of your favorite calls?

    Thanks,
    -Gabriel
    Gabriel, what do you mean by "respond to HTML or CSS"? Can you give an example of what you want it to do?

    As far as launching applications via .BAT files, yes, this PC-DMIS can do. You can insert commands into your part program to launch applications tied to .bat and .exe files from the Insert | External Command... menu item.
    Jared Hess - PC-DMIS Documentation Team Lead @ HMI
    [View 2008 Reporting Tutorials Here]

    Comment


    • #3
      I don't believe PCDMIS will run HTML but I've never tried. I don't do much script outside what PCDMIS supports within the part program code as most of what I need to do only involves formulas. Once in a while I need to pass something from PCDMIS to another app but it is usually an app I wrote with VB so I find myself using the file read and file write commands a lot for doing that. Reading and writing to files has been both safe and flexible. I'd love to see some folks share some stuff they do with .bat code.

      What kind of stuff do you do Gabriel? What is your application? I don't have a lot of experience writing bat for PCDMIS because I have not had many needs for that solution but it is appealing to me and if I got to see what others are doing I am sure it would inspire me.

      Craig
      <internet bumper sticker goes here>

      Comment


      • #4
        .bat files are very hand little tools, but, unfortunatley the command library is somewhat small. This could be good or bad though depending on who you are. I mostly use them in conjunction with external command to load .wav files pictures, slideshows, special top secret instructions, and oh yeah, the best part is, if you wanna have fun with somebody you can write some code in them to shut down apps. I like to use one that shows a picture and then shuts the application down.

        It's pretty funny to sit back and watch because it works a whole lot like an infinite loop (depending on who is at the terminal)!

        They can also be created to control windows systems as well, but, I don't usually mess with things that can affect the system settings. They are easy to make to, just use notepad and type your code, then change the extension name to .bat when you are doing your save as.

        Check out this site, it has almost all of the standard batch file commands and how to use them. This site alone is worth a ton of inspiration.



        Brad
        DCCFreak

        Comment


        • #5
          Thanks DCCFreak, but the link does not work is this where it should direct me?
          <internet bumper sticker goes here>

          Comment

          Related Topics

          Collapse

          Working...
          X