aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Danis <frederic.danis@linux.intel.com>2012-02-29 14:56:05 +0100
committerDenis Kenzior <denkenz@gmail.com>2012-03-01 22:08:46 -0600
commit6c2f3769e5ff496614c3ffe687ecb3044f0116ee (patch)
treeafc14e47ab21e1272aa26a88106b97dbc2feb61c
parent58015fc038a3086ac46a32ec36d504fd173ffe4e (diff)
downloadphonesim-6c2f3769e5ff496614c3ffe687ecb3044f0116ee.tar.gz
phonesim: Update scripting docs
-rw-r--r--doc/scriptable.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/scriptable.txt b/doc/scriptable.txt
index 670bd21..95ae1e1 100644
--- a/doc/scriptable.txt
+++ b/doc/scriptable.txt
@@ -7,8 +7,8 @@ call, you have to do some operations manually within phonesim GUI). Below are
several examples:
1. call.js (stand for incoming call and copy it to /tmp/call/)
-tabRegistration.gbIncomingCall.leCaller.text = "12345";
-tabRegistration.gbIncomingCall.pbIncomingCall.click();
+tabCall.gbIncomingCall.leCaller.text = "12345";
+tabCall.gbIncomingCall.pbIncomingCall.click();
Then set the path of script and run the script with its name:
@@ -50,6 +50,6 @@ Reference" for details.
For example, if you want to know the current incoming number, you may write a
script as below:
// number.js
-tabRegistration.gbIncomingCall.leCaller.text
+tabCall.gbIncomingCall.leCaller.text
After running the script the similar way as above, you may get the number.