Hi great project, I just added accesskeys to the web interface (this makes easier to use it on a phone using 0-9, * and #):
This diff is from anyremote2html:
<diff>
428c428
< self.icons[0] = tokens[i]
---
> self.icons[0] = tokens[i]
557,569d556
< def getAccessKey(self, index):
<
< if 1 <= index and index <=9:
< return index
< elif index == "10":
< return "*"
< elif index == "11":
< return "0"
< elif index == "12":
< return "#"
< else:
< return index
<
583c570
< page = page + self.httpTable2 + maze + ".key\" accesskey=\"" + self.getAccessKey(maze) + self.httpTable3 + self.icons[i] + ".png" + self.httpTable4
---
> page = page + self.httpTable2 + maze + ".key"+ self.httpTable3 + self.icons[i] + ".png" + self.httpTable4
</diff>
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi great project, I just added accesskeys to the web interface (this makes easier to use it on a phone using 0-9, * and #):
This diff is from anyremote2html:
<diff>
428c428
< self.icons[0] = tokens[i]
---
> self.icons[0] = tokens[i]
557,569d556
< def getAccessKey(self, index):
<
< if 1 <= index and index <=9:
< return index
< elif index == "10":
< return "*"
< elif index == "11":
< return "0"
< elif index == "12":
< return "#"
< else:
< return index
<
583c570
< page = page + self.httpTable2 + maze + ".key\" accesskey=\"" + self.getAccessKey(maze) + self.httpTable3 + self.icons[i] + ".png" + self.httpTable4
---
> page = page + self.httpTable2 + maze + ".key"+ self.httpTable3 + self.icons[i] + ".png" + self.httpTable4
</diff>
Thanks
thanks a lot.
i'm going to add thbe patch to the next release
I could not get two different phones using 0-9, * and #
I also applied your diff but nothing happens.
Is it possible to use these keys with a WinMobile/Nokia/iPhone using the anyremote2html python script?