Hi Monks,
I am trying to write a wrapper on view creation tool,
that is developed in perl,its an commandline tool.
For every new view creation i have to repeate several
steps by selecting argument option.
On command prompt i have to select the option and ENTER key
to proceed to the fallowing step,i don't know
how to do event based scripting in perl,is there any
way in perl to record keyboard events.
For reference below is the tool i am using.
[ 1] [l] LOOK at views of a different user
[ 2] [c] CREATE a New View
[ 3] [s] SYNCHRONIZE a view from another region
[ 4] [d] DELETE (remove) one of the views below
[ 5] [q] QUIT (exit from viewmgt)
[ 6] patilr__070413_test_view1
[ 7] patilr__070420_test2
Action [1 - 7, letter shortcuts] ==>
After selecting anyone option i have to press enterkey
to proceed nextstep,
how can i capture keyevent
in script,Can any one help me to find
a solution for this.
Keep pouring your ideas.....