simply with the onclick event.
def eventFunc (button) :
from subprocess import Popen
qrow = button.getBlock.getQueryRow()
filename = myform.myfield.getValue(qrow)
aargs = []
aargs.append("<myapp>")
aargs.append(filename)
p=Popen(aargs)
p.wait()
You might want to look up the python library reference and the rekall manual
(exec rekallManual) is rather comprehensive.
Jules.
On Sun, 15 Jun 2008, Casey Bralla wrote:
> Could somebody please post an example code for me please?
>
> I want to have a push button which picks up a filename from a box on a
> form, then calls a program using that filename.
>
> I'm rather a rekall newbie, but if I had an example to follow, I'm sure I
> could figure it out.
>
> TIA!
_______________________________________________
Rekall mailing list
Rekall@...
http://www.mailman.a-i-s.co.uk/cgi-bin/mailman/listinfo/rekall