View Single Post
Old 09-01-2016, 11:21 AM   #17
nasser
Evangelist
nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.
 
nasser's Avatar
 
Posts: 477
Karma: 445678
Join Date: Feb 2010
Device: Too many..
Quote:
Originally Posted by knc1 View Post
Re-read your script.
What is it suppose to do if the screen is NOT gt 600 pixels?

Hint: Right now, it is doing just what you told it to do if the test fails.
knc1, this is just a modification of baf's original kterm KUAL script.

If the screen width is NOT gt 600, then it uses the default "keyboard.xml" file, along with associated images in the img/ folder.

If the screen width IS gt 600(original logic to detect the then new PW1), then the "keyboard-wide.xml" file, along with the associated images(bigger) in the img-wide/ folder is used. These files are also used for the latest 300 ppi kindles, but we actually need a new "keyboard-extrawide.xml" file!
nasser is offline   Reply With Quote