Category: script

  • Sense: Referencing files from wherever you want

    In Sense, you can reference a list to control what your program does. By default, the [line X from_file “file.txt”] references the Sense project folder, but it can reference one of many locations. How this works differs on Windows and Mac, but the approach is much the same.     The way you do it,…

  • Controlling the version of Java installed

    Every so often, I encounter computers that, among other things, have very specific prerequisites. For SAP CRM and Mobile Sales, more often than not, a specific version of Java should be installed. If it isn’t, problems ensue. Now, while you’ll always have the option of finding out what version is installed through the control panel,…

  • Installing printers using a batch script

    Part of my job is installing printers for users. Now, I could just go on mapping the printserver and finding the printer from there, but that takes a lot of time, as we have some 100 plus printers per printserver. Instead, I spent an hour creating batch scripts, and have since used them to install…