Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

opensesamerun on mac / apple

I want to install my experiment on the participants' laptops.
Herefore i found a nice solution with opensesamerun.
What i do in Windows:
1. Install OS
2. Copy my experiment directly in C: (the only way to have the same path always)
3. Copy a shortcut of opensesamerun on the desktop
target: >>C:\Program Files (x86)\OpenSesame\opensesamerun.exe" "C:\ShortPath_OS\EXP_SRT.osexp" --subject=1 --logfile="C:\ShortPath_OS\Logfile\footest.csv" -f <<
Hence participant only double click on the desktop icon to run the experiment at home.

But how do i do that on a Mac? (Note: I am not a Mac User)
I installed the Mac Version of opensesame.
My idea is to install it on "Macintosh HD" as an equivalent to C:
I managed to build an "alias" shortcut on the desktop.
But i do not know how to set the experimental settings. There is no "target" field to write some text for the path names etc.

Comments

  • Hi DahmSF,

    There currently is no app version of opensesamerun for mac, but its script is included in the main application. To get it to run from the terminal you can follow the steps described below. I assume you have the OpenSesame.app located in the /Applications folder (so at the root, not in the Applications folder in your home folder, which also exists nowadays. If you store OpenSesame there, you will have to prepend the relevant path segments with your home dir to the commands I am showing below).

    It's going to be some long commands (because I am using the absolute paths such that they work from everywhere if you use automator to make scripts for instance).

    To start OpenSesame run:

    /Applications/OpenSesame.app/Contents/MacOS/Resources/bin/python /Applications/OpenSesame.app/Contents/MacOS/Resources/bin/opensesamerun
    

    You should be able to pass command line arguments like this as well, for instance

    /Applications/OpenSesame.app/Contents/MacOS/Resources/bin/python /Applications/OpenSesame.app/Contents/MacOS/Resources/bin/opensesamerun /path/to/experiment.osexp
    

    As I shortly mentioned earlier, automator is a useful program that comes with OS X for making shortcuts, or otherwise you could of course simply write a bash script.

    Good luck and let me know if this works!

    Buy Me A Coffee

  • Hi Daniel,

    I am not sure whether i understood all of your answer.
    First, yes i found opensesamerun in the /Applications folder in the bin. That's where i created the alias, which i copied on the desktop. However, when i go to properties (which are not called properties with mac), there is no target field to set the pathes (in Windows there is a target field). Actually i can set one path, but as you suggested i need to set two pathes (opensesamerun & xxx.osexp) plus the subject and the logfile.

    "There currently is no app version of opensesamerun for mac, ..."
    Does this mean there is no such a field?

    Otherwise i could of course simply write a bash script or use automator.
    Unfortunately, all this makes me sad. I was so happy that i learned the basics of python within two weeks. Now i feel like, i have not the slightest clue again.

    Stephan

  • Hi Stephan,

    If OpenSesame is located in the /Applications folder, you can simply execute the command

    /Applications/OpenSesame.app/Contents/MacOS/Resources/bin/python /Applications/OpenSesame.app/Contents/MacOS/Resources/bin/opensesamerun
    

    in the terminal and Opensesamerun should start. Can you check if this is the case on your system, before we continue with the next steps?

    Buy Me A Coffee

  • Hi Daniel,

    it tells me "no such file or directory".
    Before I get lost in apple-space, I think i am gonna use the easy way and let them start the program and run with the run button. Participants should be able to insert the subject_nr correctly, even multiple times.

    Just one more comment: When i double click on the xx.osexp file, it does not open on the Mac. It opens a new experiment. It is only possible to open the experiment file from OpenSesame directly.

  • edited October 2016

    Just one more comment: When i double click on the xx.osexp file, it does not open on the Mac. It opens a new experiment. It is only possible to open the experiment file from OpenSesame directly.

    Yes, this is a known bug, and has to do with the new way we package OpenSesame. I hope to have this solved in one of the next releases, but for now I haven't found a solution yet.

    Buy Me A Coffee

Sign In or Register to comment.

agen judi bola , sportbook, casino, togel, number game, singapore, tangkas, basket, slot, poker, dominoqq, agen bola. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 50.000 ,- bonus cashback hingga 10% , diskon togel hingga 66% bisa bermain di android dan IOS kapanpun dan dimana pun. poker , bandarq , aduq, domino qq , dominobet. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 10.000 ,- bonus turnover 0.5% dan bonus referral 20%. Bonus - bonus yang dihadirkan bisa terbilang cukup tinggi dan memuaskan, anda hanya perlu memasang pada situs yang memberikan bursa pasaran terbaik yaitu http://45.77.173.118/ Bola168. Situs penyedia segala jenis permainan poker online kini semakin banyak ditemukan di Internet, salah satunya TahunQQ merupakan situs Agen Judi Domino66 Dan BandarQ Terpercaya yang mampu memberikan banyak provit bagi bettornya. Permainan Yang Di Sediakan Dewi365 Juga sangat banyak Dan menarik dan Peluang untuk memenangkan Taruhan Judi online ini juga sangat mudah . Mainkan Segera Taruhan Sportbook anda bersama Agen Judi Bola Bersama Dewi365 Kemenangan Anda Berapa pun akan Terbayarkan. Tersedia 9 macam permainan seru yang bisa kamu mainkan hanya di dalam 1 ID saja. Permainan seru yang tersedia seperti Poker, Domino QQ Dan juga BandarQ Online. Semuanya tersedia lengkap hanya di ABGQQ. Situs ABGQQ sangat mudah dimenangkan, kamu juga akan mendapatkan mega bonus dan setiap pemain berhak mendapatkan cashback mingguan. ABGQQ juga telah diakui sebagai Bandar Domino Online yang menjamin sistem FAIR PLAY disetiap permainan yang bisa dimainkan dengan deposit minimal hanya Rp.25.000. DEWI365 adalah Bandar Judi Bola Terpercaya & resmi dan terpercaya di indonesia. Situs judi bola ini menyediakan fasilitas bagi anda untuk dapat bermain memainkan permainan judi bola. Didalam situs ini memiliki berbagai permainan taruhan bola terlengkap seperti Sbobet, yang membuat DEWI365 menjadi situs judi bola terbaik dan terpercaya di Indonesia. Tentunya sebagai situs yang bertugas sebagai Bandar Poker Online pastinya akan berusaha untuk menjaga semua informasi dan keamanan yang terdapat di POKERQQ13. Kotakqq adalah situs Judi Poker Online Terpercayayang menyediakan 9 jenis permainan sakong online, dominoqq, domino99, bandarq, bandar ceme, aduq, poker online, bandar poker, balak66, perang baccarat, dan capsa susun. Dengan minimal deposit withdraw 15.000 Anda sudah bisa memainkan semua permaina pkv games di situs kami. Jackpot besar,Win rate tinggi, Fair play, PKV Games