PsyScriptIcon.png PsyScript: getting experiments done

$query\n"; } $result = mysql_query($database, $query, $connection) or die("ack! query failed: " ."
  • errorno=".mysql_errno() ."
  • error=".mysql_error() ."
  • query=".$query ); return $result; } $Base = "http://www.maccs.mq.edu.au"; $URL= $PHP_SELF; $connection = mysql_connect('localhost', 'tim', 'connect2'); if (!$connection) { print("Cannot connect to database. Call Tim.
    "); exit(); } $result=safe_db_query("Counters","SELECT * FROM Count WHERE Base='$Base' AND URL='$URL'", $connection); while ($row = mysql_fetch_row($result)) { $ChkBase=$row[0]; $ChkURL=$row[1]; $ChkCount=$row[2]; $Count=$ChkCount; } if ($ChkURL == ""){ safe_db_query("Counters","INSERT INTO Count VALUES ('$Base','$URL','0')", $connection); $Count=0; } $Count++; safe_db_query("Counters","UPDATE Count SET Number='$Count' WHERE Base='$Base' AND URL='$URL'"); $result=safe_db_query("Counters","SELECT * FROM Count WHERE Base='$Base' AND URL='$URL'", $connection); while ($row = mysql_fetch_row($result)) { $Base=$row[0]; $URL=$row[1]; $Count=$row[2]; } echo $Count; */ ?>hits
  • Hi, You are at the home page for PsyScript. This is an Open Source, powerful, and user-friendly scripting environment for doing psychology experiments. The goal is that you can any experiment with ease - if its not so, then let me know. We are moving to OS X now. You can download the current beta in the downloads section.

    Features

    Documentation

    History

    FAQ

    Downloads

    (version 5.1d3)

    Wishlist

    Present stimuli ...

    • Any quicktime type: (jpg, gif, mov, pict, png, snd, aiff, pdf, mpg, BMP, etc.
    • Scriptable drawing (including bezier curves)
    • Play movies asynchronously and even move them on a path as they play
    • Screen-accurate timing (VBL synch)

    Responses from ...

    1. Mouse, graphics tablet (drawing), keyboard, text ...
    2. Built-in voice key (save snd to file).
    3. ActiveWire for cheap millisecond timing
    4. Digital I/O & Serial port for fMRI, skin conductance, EEG etc.
    5. Eyelink eye movement recording

    Library of examples

    Programing language

    Object-oriented

    • Libraries enhance reusability and keep designs clean.

    • Popup Access to over 50 functions
      • data-file creation and writing
      • screen functions such as visual angle,
      • external instrument
        • eyelink control
        • skin conductance

    Online documentation

    FAQ

    Made on a Macintosh: because it just doesn't get any better than this!

    MACCS PsyScriptIcon.png Documentation Downloads FAQ Mailing List
    Last change:
    Advanced Search

    Applescript in a Nutshell : A Desktop Quick Reference

    AppleScript for Applications: Visual QuickStart Guide

    AppleScript For Dummies

    Applescript for the Internet Visual Quickstart Guide

    Applescript Language Guide; English Dialect

    Danny Goodman's Applescript Handbook