External application to call a series of .ebs2 files?
frankbosco
google at frankbosco.com
Thu Apr 16 18:55:03 UTC 2009
Hi Liwenna,
Thanks for your message. Re: having autoit automatically insert
subject/session numbers, I have not tried this (now that I think about
it, it would be very handy for me)... Perhaps try something like the
following:
To start, you'd need a basic autoit data collection box at the start
of the executable (i.e., before the randomly selected .ebs2 files
begin) - autoit provides a good example of this code in one of their
sample code files (see example file "inputbox.au3") . The next part
(having autoit automatically populate the subject/session values) is
more complicated, but perhaps try something like the following:
In the current code, there are lines that include (something like)
"winwait.open; winwait.close" -- you may be able to tell autoit to
wait until the "enter subject #" box appears (by simply providing
autoit with the name of that box, as is done in my current code with
"E-Run"), then have autoit insert a subject/session number collected
at the start (i.e., from the input box in the previous step). You may
be able to tell autoit to wait until "enter Ss #" box appears, then
code it to press "TAB" (x) times, the value from the input box, then
"RETURN" (these can be done with ASCII code). I know it sounds silly,
but it might actually work...
Tell you what - I'll play around with this idea (very) late tonight,
then send you a code file if I figure it out... For now, you can
download a newer version of the ebs2 call autoit file from my personal
website: [www.frankbosco.com/ebs_call_new.au3] -- this version
includes code to call a few ebs2 files in a determined sequence (after
a series of randomly-selected ebs2 files).
Hope that helps!
Best,
Frank
On Apr 16, 9:56 am, liwenna <liwe... at gmail.com> wrote:
> It is like magic!!!
>
> This is exactly what I need to run my battery of tests. Well... almost
> exactly... except for the random part that is. I am trying to get that
> part out, yet I am experiencing troubles using auto-it as my
> university ICT guys won't let us install nifty little programs like
> this.
>
> Would there be a way to have autoit also insert subject and session
> numbers? Perhaps even make a shiny litle autoit interface wherein you
> enter subject and session numbers and then run the whole everything
> from that? I'll work on it myself and keep you guys informed if
> something good comes from it, just wondering if you, Frank, had
> allready tried something similar?
>
> Greetings,
>
> liwenna
>
> On Mar 16, 9:00 pm, David McFarlane <mcfar... at msu.edu> wrote:
>
> > Frank,
> > Wow, this looks really cool, thanks very much for taking on the
> > assignment and writing back. Looks like it will be worth my time to
> > look into AutoIt further, and continue recommending it to others.
>
> > Thanks,
> > -- David McFarlane, Professional Faultfinder
>
> > At 3/14/2009 02:21 AM Saturday, you wrote:
>
> > >David,
>
> > >Thanks very much for your suggestion! I've created a script for this
> > >purpose in Autoit (it works very well). I don't know how to attach a
> > >file in this window, so please feel free to download it from my
> > >personal website (see link below), and share. In the .zip file, I
> > >have included the Autoit script file, a compiled version, and a
> > >basic .txt instruction file.
>
> > >http://www.frankbosco.com/call_ebs.zip
>
> > >All the best,
> > >Frank
>
> > >On Mar 13, 10:47 am, David McFarlane <mcfar... at msu.edu> wrote:
> > > > Frank,
>
> > > > This question has come up before (e.g.,
> > > seehttp://www.pstnet.com/forum/Topic2485-12-1.aspx), and I keep
> > > > suggesting AutoIt
> > > > (<http://www.autoitscript.com/autoit3>http://www.autoitscript.com/autoit3
> > > > ). So far no one has reported back on this, and I never have time to
> > > > try it myself. Perhaps you could give that a try and let us all know
> > > > how it works.
>
> > > > Other than that, you might try a good old DOS-style batch
> > > > file. Also, someone once suggested (sorry, I do not have the link)
> > > > using links in a .pdf to guide the course of a battery of
> > > > tests. That would still require some manual interaction, but might
> > > > help a little.
>
> > > > Please let us know what you find.
>
> > > > -- David McFarlane, Professional Faultfinder
>
> > > > >Dear E-Prime group,
>
> > > > >I am searching for a (presumably) simple external application (e.g., a
> > > > >small VB-based program) to call several EBS2 files to run in a desired
> > > > >order (preferably random order). I would like to administer a battery
> > > > >ofexperimentsin a group setting, and am having a great deal of
> > > > >trouble integrating the procedures from each separate .ES2 file into
> > > > >one "main" .ES2 file with blocklists (E-Prime support suggested that
> > > > >my individual procedures exceed E-Prime's copy/pastecapacity, and E-
> > > > >Prime's automatic renaming of duplicate objects is making the task
> > > > >even more difficult).
>
> > > > >Would anyone be willing to share something along these lines? Any
> > > > >help would be greatly appreciated. I am not very familiar with
> > > > >programming languages.
>
> > > > >Thanks in advance!
> > > > >Frank
>
> > > > >-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> > > > >Frank A. Bosco
> > > > >Doctoral Student
> > > > >Dept. of Management (OB/HR)
> > > > >Fogelman College of Business & Economics
> > > > >The University of Memphis
> > > > >fbo... at memphis.edu
> > > > >Office: (901) 678-4531
> > > > >Cell: (901) 387-7864
> > > > >=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To post to this group, send email to e-prime at googlegroups.com
To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com
For more options, visit this group at http://groups.google.com/group/e-prime?hl=en
-~----------~----~----~----~------~----~------~--~---
More information about the Eprime
mailing list