Search found 153 matches

by kjdixo
Mon 02 May 2016, 22:00
Forum: Programming
Topic: Pale Moon Bookmarking Script using YAD / Sortable / xdotool
Replies: 44
Views: 14121

Fixing Stack Overflow error dialogs that suddenly increased in number. There is a small section of code in bm.sh which closes any Pale Moon download error dialogs. Most websites have less than 4 (usually none) of these popup error dialogs, when saving as web page complete. Stack Overflow errors are ...
by kjdixo
Sat 30 Apr 2016, 17:29
Forum: Programming
Topic: Pale Moon Bookmarking Script using YAD / Sortable / xdotool
Replies: 44
Views: 14121

I added a search function to every list button. It is now possible to search the link title text for key words or phrases. Simply press the blue button as you would for retagging to reveal the timestamps. Click any timestamp and then cancel the retag / delete bash dialog. Then a search box appears. ...
by kjdixo
Wed 27 Apr 2016, 19:51
Forum: Programming
Topic: Pale Moon Bookmarking Script using YAD / Sortable / xdotool
Replies: 44
Views: 14121

The image below shows the Pale Moon Edit > Find (ctrl + F) trying to find articles about JavaScript. Luckily it is in the JavaScript tags section, which I created earlier. I made a 'JS' button using mtpaint. 1. In mtpaint > New 32 x 32 2. Edit > Paste Text (shift + T) 3. Set the font to size 18 and ...
by kjdixo
Mon 25 Apr 2016, 23:08
Forum: Programming
Topic: Pale Moon Bookmarking Script using YAD / Sortable / xdotool
Replies: 44
Views: 14121

The Big Picture See image below = bookmark and video bookmark folders. bm0 and bv0 are special, they contain the main index pages where every bookmark or video bookmark is listed. bm1 and bv1 folders do not exist. [bm2 to bm27] are the 26 bookmark button folders, they each contain a favicon and an ...
by kjdixo
Mon 25 Apr 2016, 20:31
Forum: Programming
Topic: Pale Moon Bookmarking Script using YAD / Sortable / xdotool
Replies: 44
Views: 14121

The screenshot below illustrates the general file and folder layout and shows some of the important files. It helps when looking at code to know exactly where everything is. I have tried to keep files with similar file extensions grouped together in folders. wp = web pages (web page complete). txt =...
by kjdixo
Mon 25 Apr 2016, 15:43
Forum: Programming
Topic: Pale Moon Bookmarking Script using YAD / Sortable / xdotool
Replies: 44
Views: 14121

My script uses the built-in Pale Moon 'print to pdf' dialog. I use xdotool to automate the saving to pdf. rm -rf /root/.bookmarks/bm/temp.pdf sleep 1 xdotool key "ctrl+l" xdotool key "ctrl+c" xdotool key "ctrl+p" xdotool key "Down" xdotool key "alt+p"...
by kjdixo
Sun 24 Apr 2016, 19:52
Forum: Programming
Topic: Pale Moon Bookmarking Script using YAD / Sortable / xdotool
Replies: 44
Views: 14121

Changing the favicon (32x32) in the folder holding the index.html page for a particular tag button, will instantly and globally change all corresponding tag icons in all the bookmarks on all the index.html pages (in folders bm2 thru bm27) because they all refer to that one single favicon you are cha...
by kjdixo
Sun 24 Apr 2016, 18:59
Forum: Programming
Topic: Pale Moon Bookmarking Script using YAD / Sortable / xdotool
Replies: 44
Views: 14121

This crops and resizes the YouTube video thumbnail using imagemagick. The thumbnail I want is tiny, so I cannot tolerate the black borders top and bottom on the YouTube thumbnail . . . so I remove them. convert.im6 https://i.ytimg.com/vi/"$video_id"/default.jpg -crop 120x66+0+12 -filter tr...
by kjdixo
Sun 24 Apr 2016, 18:39
Forum: Programming
Topic: Pale Moon Bookmarking Script using YAD / Sortable / xdotool
Replies: 44
Views: 14121

5. A progress dialog appears [Downloading . . . then please wait for save dialog]. 6. When the download is complete a tagging dialog appears which displays your previously defined video categories with check boxes. Tag the video. 7. It is a good idea to keep an eye on your task bar net activity indi...
by kjdixo
Sun 24 Apr 2016, 18:36
Forum: Programming
Topic: Pale Moon Bookmarking Script using YAD / Sortable / xdotool
Replies: 44
Views: 14121

Video bookmarking 1. Pale Moon does not need to be running for this, but it probably will be as you most likely will be on a YouTube web page. Click the launcher to trigger the script /root/.bookmarks/bv/sh/launcher.sh #! /bin/bash yad --on-top --undecorated --mouse \ --button="category:2"...
by kjdixo
Sun 24 Apr 2016, 17:47
Forum: Programming
Topic: Pale Moon Bookmarking Script using YAD / Sortable / xdotool
Replies: 44
Views: 14121

Not many comments in my code so here is an explanation of one part of it from the long code snippet above. dd if=/dev/null of=/root/.bookmarks/bm0/index.html bs=1 seek=$(echo $(stat --format=%s /root/.bookmarks/bm0/index.html ) - $( tail -n1 /root/.bookmarks/bm0/index.html | wc -c) | bc ) The line a...
by kjdixo
Sun 24 Apr 2016, 14:39
Forum: Programming
Topic: Pale Moon Bookmarking Script using YAD / Sortable / xdotool
Replies: 44
Views: 14121

Notes 1. During development, in order to target specific windows and dialogs, in some cases I needed to ascertain the windownames / classnames. I used a very useful terminal command line tool called 'xprop' for this. Type xprop then enter into a terminal and your cursor will change to a cross hair ...
by kjdixo
Sun 24 Apr 2016, 14:08
Forum: Programming
Topic: Pale Moon Bookmarking Script using YAD / Sortable / xdotool
Replies: 44
Views: 14121

The image below is the YAD dialog from 'step (c)' you must wait for.
It indicates successful completion of the script.
by kjdixo
Sun 24 Apr 2016, 14:04
Forum: Programming
Topic: Pale Moon Bookmarking Script using YAD / Sortable / xdotool
Replies: 44
Views: 14121

The native Pale Moon print dialog appears and will save the web page initially to temp.pdf but first you are given a chance to edit or add a title. The pdf is later copied to to a timestamped .pdf in /root/.bookmarks/bm/pdf/ Sometimes the text box will be blank so copy and paste a title from the web...
by kjdixo
Sun 24 Apr 2016, 14:01
Forum: Programming
Topic: Pale Moon Bookmarking Script using YAD / Sortable / xdotool
Replies: 44
Views: 14121

Bookmarking with this system can best be described as a process and to be successful the bookmarking process must be allowed to run and complete. Ensure all scripts in the sh folder are executable by the user (root in my case) rwx/r/r and all other files are just read/write rw/r/r Webpage bookmarkin...
by kjdixo
Sun 24 Apr 2016, 09:46
Forum: Programming
Topic: Pale Moon Bookmarking Script using YAD / Sortable / xdotool
Replies: 44
Views: 14121

More details Pros 1. Pale Moon starts much faster when your hundreds of bookmarks are removed from the Pale Moon Toolbar / Database. 2. I found scrolling through 900 bookmarks on the Pale Moon Toolbar tedious and often unfruitful, this makes finding stuff quicker. 3. Although the Pale Moon bookmarks...
by kjdixo
Sat 23 Apr 2016, 15:08
Forum: Programming
Topic: Pale Moon Bookmarking Script using YAD / Sortable / xdotool
Replies: 44
Views: 14121

Clicking the blue button alternately sorts the columns by domain, title and time. Hidden Timestamp Column. Holding the blue button for 2 seconds reveals the timestamps used to tag and retag. Visible Columns Clicking domain (column 1) goes to website. Clicking title (column 2) opens pdf. Magnifying g...
by kjdixo
Sat 23 Apr 2016, 13:33
Forum: Programming
Topic: Pale Moon Bookmarking Script using YAD / Sortable / xdotool
Replies: 44
Views: 14121

Pale Moon Bookmarking Script using YAD / Sortable / xdotool

Edit 2016.09.22 I got the idea for sortable columns from the following web site: http://www.kryogenix.org/code/browser/sorttable/ I modified the original sorttable (comments are in my code) to integrate better with my other bookmarking scripts and I renamed it to SORTable. This is the readme.txt Pa...
by kjdixo
Tue 26 Jan 2016, 22:12
Forum: Programming
Topic: Scripting an SVG Dot Matrix
Replies: 67
Views: 17279

@ mister_electronico
That is very good.
by kjdixo
Tue 26 Jan 2016, 21:54
Forum: Programming
Topic: Scripting an SVG Dot Matrix
Replies: 67
Views: 17279

@CatDude (and SFR) Thanks for pointing out UExtract-3.15. I will try that soon. Note: my own highly customized puppy has xfe file manager instead of rox file manager. That usually means that I have to edit code referring to rox and change it to xfe. On a similar subject and not wishing to go off top...