Author Topic: File Picker Front End F/ Aspell, Nano & Etc  (Read 3246 times)

Miami_Bob

  • Sr. Member
  • ****
  • Posts: 483
    • View Profile
File Picker Front End F/ Aspell, Nano & Etc
« on: July 19, 2006, 11:03:57 am »
Wanted a GUI front end to send files to Aspell. Worked out a simple & easy way using Tree!Explorer QT Plus & thought to pass it along.

EDIT
OPTIONS
SEND TO
ADD COMMAND
LINUX COMMAND

qcop QPE/Application/embeddedkonsole 'setDocument(QString)' 'exec aspell -l en -c %1'

enter a name for the Send To & move it where you want it in the list.

High light a file (text works OK)
RIGHT ARROW (or hold the stylus on the file for a short time)
DOWN ARROW ONCE (or drag the stylus)
RIGHT ARROW "send to list" (or drag the stylus again)
DOWN to your option (or YADTSA)
make it so

Works on my C860s, Sharp OS all versions. Assumes you already have embedded konsole installed.

The behavior of Aspell confused me at first. If there is an error OR if Aspell finds no spelling mistakes, the launched app widow closes again immediately.

qcop QPE/Application/embeddedkonsole 'setDocument(QString)' 'exec nano %1'

stays open if there are no command line errors using the same file but also closes the window immediately if there are command line errors.

The moral is: Include the "exec" under "normal" use so that you dont have to type "exit" every time to close the spawned child app window. Take it out if something seems to not be working right or if you want to know that Aspell found no spelling errors.

Anyone have any ideas on how to have a message appear if Aspell completed OK (like nano does when running spell check using ^t)? Come on, y'all; don't make me do ALL the heavy lifting here (G).

This SHOULD work with other command line apps as an easy file picker GUI front end.

NOW, I would REALLY like a spelling checker for composing &/or editing these message posts!! There OUGHT TO be SOME way to do it (hint, hint, hint).

Enjoy.
« Last Edit: July 19, 2006, 11:06:51 am by Miami_Bob »
Bob W - Miami FL
--------------------
"The legs of the duck are short and
 cannot be lengthened without distress
 to the duck.

The legs of the crane are long and
 cannot be shortened without distress
 to the crane."

Chuang-tzu

--------------------
C860 main - Sharp 1.40 JP ROM
Language conversion by hand

alts: Cacko 1.22 / OZ 3.5.1 / pdaXrom
512Mb SanDisk SD (x2) / 512Mb SanDisk CF (x2)
Lexar 1Gb CF / AmbiCom WL1100C-CF 802.11b WiFi

Out of Hp200LX, from HP100LX, via HP95LX
--------------------
Desktop MegaTower c/ twin DataPort HD racks;
12 removable HDs with multi OSs - no waiting.

--------------------

bam

  • Hero Member
  • *****
  • Posts: 1213
    • View Profile
    • http://thegrinder.ws
File Picker Front End F/ Aspell, Nano & Etc
« Reply #1 on: July 19, 2006, 02:36:57 pm »
cool, I am adding this now...thanks
SL-C3100 current: Stock/Tetsu 18h
Socket BT CF Card
Linksys WCF-12 802.11b/Cheapie USB Ethernet

The Grinder

Miami_Bob

  • Sr. Member
  • ****
  • Posts: 483
    • View Profile
File Picker Front End F/ Aspell, Nano & Etc
« Reply #2 on: July 19, 2006, 05:09:07 pm »
Quote
cool, I am adding this now...thanks
[div align=\"right\"][a href=\"index.php?act=findpost&pid=135780\"][{POST_SNAPBACK}][/a][/div]
Man, am I relieved that nobody said "IOTTMCO" on me!! (well, at least so far! .. G)
Bob W - Miami FL
--------------------
"The legs of the duck are short and
 cannot be lengthened without distress
 to the duck.

The legs of the crane are long and
 cannot be shortened without distress
 to the crane."

Chuang-tzu

--------------------
C860 main - Sharp 1.40 JP ROM
Language conversion by hand

alts: Cacko 1.22 / OZ 3.5.1 / pdaXrom
512Mb SanDisk SD (x2) / 512Mb SanDisk CF (x2)
Lexar 1Gb CF / AmbiCom WL1100C-CF 802.11b WiFi

Out of Hp200LX, from HP100LX, via HP95LX
--------------------
Desktop MegaTower c/ twin DataPort HD racks;
12 removable HDs with multi OSs - no waiting.

--------------------