Empirisoft Support

    Welcome to Empirisoft Support
Results 1 to 12 of 12

Thread: Running outside program in MediaLab

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2007
    Posts
    14

    Running outside program in MediaLab

    I want to use an outside program to run a test, embedded between questionnaires presented by MediaLab. Perhaps you've heard of the outside program, PEBL (Psychology Experiment Building Language). I'm not sure if I should be using a custom item or an executable to run it though. Any suggestions?

  2. #2
    Join Date
    Nov 2005
    Posts
    3,328
    Is it a stand alone program, e.g., do you run it by executing a .exe file? i.e., How would you normally launch it if you were running it on its own?

  3. #3
    Join Date
    Oct 2007
    Posts
    14
    It normally launches via a .exe file.

    I think that I may be running into problems because the launcher opens an interface where I still have to select a script (a .pbl file) for the program to run.

  4. #4
    Join Date
    Nov 2005
    Posts
    3,328
    That would normally be an exe item then. I know what you mean about the intro part. Check with the authors of the PEBL program (or its documentation) and see if it allows for command line arguments or parameters. If so, then you can have MediaLab send those values automatically when it launches the exe. I would be happy to help if you can find out any info on that.

  5. #5
    Join Date
    Oct 2007
    Posts
    14
    It does allow command line arguments and parameters.
    They look like this:

    define Start (parameter)
    {
    ##command line arguments here##
    }

  6. #6
    Join Date
    Nov 2005
    Posts
    3,328
    So let me ask it another way. Is there a way for you to include the parameters to run the appropriate script from the Run command on the Windows Start menu? Many programs will allow you to enter the program name as well as parameters on the Run command so that you will not need to be prompted after the program starts.

    Actually, now that I look again, what kind of file is that you have drawn the code from in your previous post? i.e., what is the 3-letter extension of the file?

Similar Threads

  1. trouble running inquisit session in medialab (case 4905)
    By socialoaf in forum MediaLab Older Versions: Troubleshooting
    Replies: 23
    Last Post: 05-02-2014, 05:23 PM
  2. MediaLab freezes, running on Vista
    By braseg in forum MediaLab Older Versions: Troubleshooting
    Replies: 25
    Last Post: 05-25-2010, 02:48 PM
  3. Running MediaLab from a Batch File or Shortcut
    By jarvis24 in forum MediaLab Older Versions: How Do I...
    Replies: 8
    Last Post: 09-02-2009, 03:02 PM
  4. MediaLab doesn't return after running DirectRT
    By rabinowitzj in forum MediaLab Older Versions: Troubleshooting
    Replies: 10
    Last Post: 04-23-2008, 03:23 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •