The change to readlink works a treat.
![Very Happy :D](./images/smilies/icon_biggrin.gif)
Code: Select all
#!/bin/bash
width=`puppybasic -e 'a=xwin_screensize():print a[0]; '`
height=`puppybasic -e 'a=xwin_screensize():print a[1]; '`
echo $width
echo $height
Code: Select all
# ./xscreensize
1680 1050
Code: Select all
#!/bin/sh
x=`./xscreensize|sed "s/ .*//"`
echo $x
y=`./xscreensize|sed "s/.* //"`
echo $y
Hi Sigmundzigbert wrote:ttuuxxx
It is nice to hear that you like my guis. I do my best.
If Prozilla is as good as you tell it is, we should have a working gui for it. Now and then, I get answers like yours to make apps/scripts/guis. Most of them I never do....It doesn't mean that I don't like the idea, but my priority is different and/or my todo-list is too long. This combined with the normal time-issue makes many good ideas unreachable. Right now I'm working trough the guis already in Puppy to make them better and more streamline. So truely...If I shall write Pdownload, It won't be the first weeks.
Sigmund