OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

> Mapping A Keystroke To Qcop Commands, In Cacko1.23
Snappy
post Jan 31 2007, 06:11 AM
Post #1





Group: Members
Posts: 793
Joined: 28-November 04
From: NM, US, sometimes Asia
Member No.: 5,633



I've written a small script for toggling the input panel. (ime.sh)
It runs fine and now I'm trying to bind a keystroke to call it.

In keyhelper.conf, I added an additional line as follows

QUOTE
...
[Launch]
...
F26 = @qcop QPE/System 'execute(QString)' ime.sh
...


When I press Home+FirstJapKey (the one next to Ctrl), nothing happens. If I bind it as below, it calls up zeditor successfully.

QUOTE
...
[Launch]
...
F26 = Applications/zeditor
...


Anyone have any idea what is wrong with my call?
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
bam
post Jan 31 2007, 08:38 PM
Post #2





Group: Members
Posts: 1,213
Joined: 9-June 05
From: Gobi Desert, Mongolia
Member No.: 7,306



try creating an icon that calls the script then call the icon of the script via qcop channel
Go to the top of the page
 
+Quote Post
Snappy
post Jan 31 2007, 09:15 PM
Post #3





Group: Members
Posts: 793
Joined: 28-November 04
From: NM, US, sometimes Asia
Member No.: 5,633



QUOTE(bam @ Feb 1 2007, 12:38 PM)
try creating an icon that calls the script then call the icon of the script via qcop channel
*


hmmm ... sounds like a plan! smile.gif
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 14th September 2014 - 08:06 PM