topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday November 21, 2025, 9:28 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Recent Posts

Pages: prev1 ... 59 60 61 62 63 [64] 65 66 67 68 69 ... 113next
1576
Clipboard Help+Spell / Re: 3 Feature Ideas
« Last post by ewemoa on December 23, 2011, 08:16 PM »
It appears that depending on what web browser is used, what gets included in one's selection may differ.

My initial tests were with Chrome 14.0.x.  Using FF 8.0.1, I see:

interests-resume-cartoon

included in the selection, whereas there does not appear to be anything comparable when selecting with Chrome.
1577
Clipboard Help+Spell / Re: 3 Feature Ideas
« Last post by ewemoa on December 23, 2011, 07:41 PM »
Doing some investigation on what "word count" means...upon reflection it seems clear that there may be different definitions.  Though not conclusive, the following tests with online word counters perhaps indicate bugs, multiple interpretations, and/or duplication.


By the way, when I trid the script posted earlier to this thread, the result I saw was different from your report -- here I saw 842 words in 101 lines.  I did this test by copying the text to a text editor, editing it (based on your warning of the extra text at the end), selecting the result, and running the script on it.

The posted script treats each contraction as two words instead of one.  From searching online it appears that this may be viewed as overcounting.  For the current case, I think that's 18 too many words.

A word with a hypen was also counted as more than one word.  I think the overcounting from that was 3 words.

If those were the only differences, then adjustments would lead to agreement with Word's total of 821 = 842 - (18 + 3).  However, with such limited testing, it seems unsafe to bet that such adjustments would lead to perfect matches for all / most other cases.
1578
Clipboard Help+Spell / Re: 3 Feature Ideas
« Last post by ewemoa on December 23, 2011, 05:43 AM »
Thanks for the further details and warning.  Hope to take a look soon.
1579
Clipboard Help+Spell / Re: 3 Feature Ideas
« Last post by ewemoa on December 23, 2011, 03:46 AM »
Thanks for the test data :)

Would you mind sharing which words you started and ended on in making your selection so I can do some testing here?
1580
Clipboard Help+Spell / Re: 3 Feature Ideas
« Last post by ewemoa on December 22, 2011, 05:07 PM »
I thought that installing Autohotkey was enough. Now that LBA is setup, I added your script properly and it works.

Glad to hear it seems to be working!  I hope the counting is implemented correctly -- I tested a few cases, but please let me know if you find problems.

BTW, installation of AutoHotkey is not necessary -- LBA comes with all necessary pieces (thanks to the AHK folks).

Although I would prefer a result in the Quick Paste Menu, this is definitely a big help already.

If someone can convince mouser of a way for external coders to extend CHS in other appropriate ways, may be there would be something us non-mousers could do ;)
1581
Clipboard Help+Spell / Brief Walk-Through: Configuring a Custom Tool for CHS
« Last post by ewemoa on December 22, 2011, 06:44 AM »
A very brief walk-through of some of the GUI elements involved in configuring a custom tool for CHS...

1. Bring up CHS tray menu and choose to show the CHS main window
0. CHS Tray Menu.png

2. Click the "Modify Format/Case" button in the CHS main window
1. CHS Main Window.png

3. Wait for the "Modify Format/Case" dialog to appear
2. Modify Format Case Dialog.png

4. Choose the "Custom Script Tool" item in the left pane and fill in the appropriate fields...appropriately :)
3. Custom Script Tool Item.png

5. Optionally choose the "Preset Hotkey Trigger" item in the left pane and fill in fields.
4. Custom Hotkey Item.png

6. Choose the "Save As.." menu item from the "Presets" menu and specify an appropriate name to save as.
5. Save As Menu Item.png
1582
Clipboard Help+Spell / Re: 3 Feature Ideas
« Last post by ewemoa on December 22, 2011, 03:26 AM »
If you don't mind, would you provide more details on how you configured LBA and the steps you performed that resulted in the error?
1583
N.A.N.Y. 2012 / Re: NANY 2012 Pledge & Early beta: Qatapult (was QSLL )
« Last post by ewemoa on December 21, 2011, 08:57 PM »
BTW, below is a link to a version of the QS manual with a table of contents (for easier PDF navigation):

* QuicksilverManualWithTOC.pdf.gz (7979.7 kB - downloaded 1371 times.)
1584
N.A.N.Y. 2012 / Re: NANY 2012 Pledge & Early beta: Qatapult (was QSLL )
« Last post by ewemoa on December 21, 2011, 06:42 PM »
I had the impression that quicksilver was hiding what was really typed and shows keys by underlining characters in results.

That sounds familiar for the most part.

I think for text mode (entered by . or '), it is worth having the ability to use key sequences like ctrl+arrow, ctrl+shift+arrow, etc.

For reference, from the QS manual:

URLs in the first pane can be changed into text by typing . or '.

I think something similar was possible with files and folders.  What comes up in my mind is that after typing . or ' when the selected pane holds a file or folder, text mode is entered with the path to the file or folder being presented in the pane.

IIRC there were other situations where QS used text mode too -- sending text via IM is something that also is mentioned in the manual.

I think it was also possible to type the escape key after being in text mode to exit text mode and the selected pane would then appropriately change to reflect this (e.g. if one had edited a file's path in text mode, exiting text mode with escape would then display a file object -- if the modified path corresponded to an existing file).
1585
Clipboard Help+Spell / Re: 3 Feature Ideas
« Last post by ewemoa on December 21, 2011, 08:15 AM »
4) Word count tool

I'd love to be able to know how many words there are in any copied text items listed in the Main Window, or even as an option to display that information in the Quick Paste Menu for each item that appears there.

Below is an initial attempt at an LBA script to report line and word count for the current selection -- the result comes up as a dialog box so it doesn't match the request exactly.

Code: Autohotkey [Select]
  1. ChangeText(InputText)
  2. {
  3.   Lines := []
  4.   Pattern := "mO)^(.*)$"
  5.   Start := 1
  6.   LineCnt := 0
  7.   While (True)
  8.   {
  9.     FoundPos := RegExMatch(InputText, Pattern, mObj, Start)
  10.     If (ErrorLevel != 0)
  11.     {
  12.       OutputDebug, % "RegExMatch ErrorLevel: " . ErrorLevel
  13.       SoundBeep
  14.       Return
  15.     }
  16.     If (FoundPos == 0)
  17.     {
  18.       Break
  19.     }
  20.     Start := FoundPos + 1
  21.     Lines.Insert(mObj[1])
  22.     LineCnt := LineCnt + 1
  23.   }
  24.   WordCnt := 0
  25.   WordPattern := "\b\w+"
  26.   Loop, % LineCnt
  27.   {
  28.     Line := Lines[A_Index]
  29.     Start := 1
  30.     While (True)
  31.     {
  32.       FoundPos := RegExMatch(Line, WordPattern, mObj, Start)
  33.       If (ErrorLevel != 0)
  34.       {
  35.         OutputDebug, % "RegExMatch ErrorLevel (2nd call): " . ErrorLevel
  36.         SoundBeep
  37.         Return
  38.       }
  39.       If (FoundPos == 0)
  40.       {
  41.         Break
  42.       }
  43.       Start := FoundPos + 1
  44.       WordCnt := WordCnt + 1
  45.     }
  46.   }
  47.   MsgBox, % "Counted:`n`n"
  48.           . "  " . LineCnt . " line(s)`n`n"
  49.           . "  " . WordCnt . " word(s)"
  50.   Return
  51. }
1586
N.A.N.Y. 2012 / Re: NANY 2012 Pledge & Early beta: Qatapult (was QSLL )
« Last post by ewemoa on December 21, 2011, 04:59 AM »
I'm not sure what you mean with the possibility of selecting text. I don't think I'll allow to select text from the UI, I'd prefer to add commands to paste it and use it in various way. What's your need for that ?

Stepping in and speaking for myself -- it's likely I'd use this type of thing for editing paths -- full paths to files, directories, and URLs.
1587
General Software Discussion / Re: Bitnami stacks alternative
« Last post by ewemoa on December 20, 2011, 02:16 AM »
TurnKey may be?
1588
Post New Requests Here / Re: IDEA: Randomly select 'n' Lines from text list
« Last post by ewemoa on December 18, 2011, 07:12 AM »
I'm thinking of putting the following into LBA (a Clipboard Help and Spell custom tool) -- haven't tested it much so it might be off.  I don't expect it to work well on a large number of choices, but who knows?

Setup would include installing and configuring LBA and putting the following in LBA's script folder.

To use, open an editor and put one choice on each line (and save a copy somewhere else).  Then select all of the choices, invoke LBA, and choose the menu entry associated with the saved script.  A dialog box should appear asking for how many items to choose and then afterwards the selected text should be replaced by an appropriate number of items.

Code: Autohotkey [Select]
  1. ChangeText(InputText)
  2. {
  3.   Lines := []
  4.   Pattern := "mO)^(.*)$"
  5.   Start := 1
  6.   Cnt := 0
  7.   While (True)
  8.   {
  9.     FoundPos := RegExMatch(InputText, Pattern, mObj, Start)
  10.     If (ErrorLevel != 0)
  11.     {
  12.       OutputDebug, % "RegExMatch ErrorLevel: " . ErrorLevel
  13.       SoundBeep
  14.       Return
  15.     }
  16.     If (FoundPos == 0)
  17.     {
  18.       Break
  19.     }
  20.     Start := FoundPos + 1
  21.     Lines.Insert(mObj[1])
  22.     Cnt := Cnt + 1
  23.   }
  24.   If (Cnt == 0)
  25.   {
  26.     Message := "Sorry, didn't find any lines"
  27.     OutputDebug, % Message
  28.     MsgBox, % Message
  29.     SoundBeep
  30.     Return
  31.   }
  32.   Title := "How many choices out of " . Cnt . "?"
  33.   Prompt := "Found " . Cnt . " items.`n`n"
  34.           . "How many to choose (1 - " . Cnt . ") ? "
  35.   InputBox, NChoices, % Title, % Prompt
  36.   If (ErrorLevel == 1)
  37.   {
  38.     OutputDebug, % "Canceled"
  39.     SoundBeep
  40.     Return
  41.   }
  42.   If (NChoices is not integer)
  43.   {
  44.     OutputDebug, % "Value not integer: " . NChoices
  45.     MsgBox, % "Please specify an integer (whole number)."
  46.     Return
  47.   }
  48.   If (NChoices <= 0) or (NChoices > Cnt)
  49.   {
  50.     OutputDebug, % "Value not between 1 and " . Cnt . ": " . NChoices
  51.     MsgBox, % "Please choose a number between 1 and " . Cnt . "."
  52.     Return
  53.   }
  54.   ResultStr := ""
  55.   Loop, % NChoices
  56.   {
  57.     MaxIndex := Lines.MaxIndex()
  58.     Random, Value, 1, % MaxIndex
  59.     ResultStr .= Lines[Value] . "`n"
  60.     Lines.Remove(Value)
  61.   }
  62.   Return ResultStr
  63. }
1589
Clipboard Help+Spell / LBA (Re: CHS: Share your custom modification scripts here)
« Last post by ewemoa on December 18, 2011, 12:13 AM »
Put a little utility together that displays a pop-up menu of AHK_L scripts to choose from.  

lba-menu-0.8.png

Currently, each menu item above the separator corresponds to a single AHK_L script.  Choosing the menu item should lead to the execution of the corresponding script.

Below is source to the current script for trimming:

Code: Autohotkey [Select]
  1. ChangeText(InputText)
  2. {
  3.   OutputDebug, % "Before: " . InputText
  4.   Result := Trim(InputText)
  5.   OutputDebug, % "After: " . Result
  6.   Return Result
  7. }

To make one's own scripts, basically:

  • Make a new file with extension .ahk in the scripts folder
  • In the .ahk file, define a function named 'ChangeText' - it should have a single parameter
  • In the body of the function, transform the text passed in as desired and use Return to communicate the result to CHS

Installation instructions should be in the README.txt within the archive, but it's pretty much the same as the other custom modification scripts.

MD5: 90eeccc94446f2e8303d82de60af1865
LBA

Note: no compilation of scripts is necessary thanks to AutoHotkey.dll and AHK_L.
1590
Just wanted to mention that I encountered a problem with trying to download to Android devices and now have a work-around.  IIUC it's not an HFS problem, but since HFS is one of my favorites and I encountered the issue in the context of using HFS...

It's great that one can use the "Archive" functionality of HFS to download multiple files as a single .tar file - particularly in the context of Android devices which lack external memory cards and/or uncooperative PC USB connectivity situations.  Unfortunately, Android (and/or various companies' roll-outs of it) seem unhelpful in not allowing the downloading of files with certain extensions (or at least turning it into an issue to work around).

What ended up working for my situation was to use Firefox and AndExplorer (apks available via non-market means).  Firefox seemed sane in its not restricting downloads and AndExplorer was able to handle extraction of tar files.

failed attempt
I first tried to get HFS to respond with different headers as per:

  http://digiblog.de/2011/04/19/android-and-the-download-file-headers/

but I didn't succeed in figuring out how to do that.

1591
N.A.N.Y. 2012 / Re: NANY 2012 Pledge & Early beta: Quicksilver Like launcher
« Last post by ewemoa on December 17, 2011, 08:21 PM »
We can probably keep tab for pane navigation and left, right or / for navigation inside folders. I'll try these settings.

Thanks for trying!  I hope you will come to find it comfortable :)
1592
Find And Run Robot / Re: Find And Run Robot (FARR) - Features You Should Know About
« Last post by ewemoa on December 17, 2011, 04:25 PM »
I'm not sure if the following is what was being referred to in the documentation, but FWIW, in the FARR main window when I type:
li
one of the results is:
listfarr (FARR - List all available aliases...)
If I choose that result and press enter, I see the following results:
FARR - List all available aliases
FARR - List past launch history
FARR - List past search history
FARR - List installed plugins
seeing the details
May be known already, but for future readers :)

If instead of choosing the listfarr result and pressing enter, I right-click it, a popup menu with a single item like "Visit this alias (...)" comes up.  Choosing that brings up the FARR Options dialog with "Aliases/Groups" selected.  Double-clicking on the listfarr entry in the right pane shows how the alias is implemented.

1593
N.A.N.Y. 2012 / Re: NANY 2012 Pledge & Early beta: Quicksilver Like launcher
« Last post by ewemoa on December 17, 2011, 05:15 AM »
Yes some icons are small, they are non vista enabled icons. I should scale them but I haven't find an api that tell me what size the icon is. That sound stupid but I haven't found a good solution yet. I have stupid solutions still, so I might switch to that as a fallback.

I wish you luck in your quest :)

I'm not sure what you mean with arrow key navigation for directories ?

From FARR's version history:

Version 2.00.04 - December 20, 2006
        ...
•   Added ability to go into and pop up out of directories while in the results panel using arrow keys LEFT and RIGHT

From the QS document (paraphrased a bit) mentioned earlier:

If a folder is in the object pane, use right arrow to navigate into it. Then the object pane changes to a results list of all the child files and folders.  Since it’s common to separate folders with / it’s an equivalent key to right arrow to navigate.
...
Back up a folder hierarchy by typing left arrow or ? (i.e., a shifted / on a US keyboard). This can backup all the way to the root directory

Does it make sense now?

Is it slightly unresponsive for very short period of time or long like seconds or minutes like hanged ?

It can definitely be for more than 1 minute...

I've added the . for text too. I don't know if you spotted that.

Thank you!  I had :)
1594
N.A.N.Y. 2012 / Re: NANY 2012 Pledge & Early beta: Quicksilver Like launcher
« Last post by ewemoa on December 16, 2011, 05:30 AM »
Sometimes after starting QSLL.exe the main window appears quickly, but it appears unresponsive for various amounts of time -- sometimes it becomes responsive, sometimes I decide it's been long enough :)
1595
N.A.N.Y. 2012 / Re: NANY 2012 Pledge & Early beta: Quicksilver Like launcher
« Last post by ewemoa on December 16, 2011, 05:20 AM »
Icons are pretty!

qsll-small-farr-a.png

...but some are small :)

Arrow key navigation being for directory browsing appears to be deeply wired in my brain...
1596
Web Link Captor / Re: Using Portable Python with Web Link Captor
« Last post by ewemoa on December 15, 2011, 09:11 PM »
Nice  :up:
1597
Web Link Captor / Re: Latest Web Link Captor Release - v1.08.01 - December 24, 2011
« Last post by ewemoa on December 12, 2011, 06:28 AM »
In the output preview section, is there a recommended way to transfer the output elsewhere?  With the appropriate tab selected Control+A, Control+C, and Control+V at the destination?
1598
Web Link Captor / Re: Latest Web Link Captor Release - v1.08.01 - December 24, 2011
« Last post by ewemoa on December 12, 2011, 06:03 AM »
I've uploaded a long (sorry) video demonstration of the program in action:

Watch on youtube:
...

I found that it was easier to see the text in the 480p version.

Also, it's at about 8:40 that one gets to see the first generated web preview.  May be that will make 20 minutes seem like less :)
1599
Web Link Captor / Using Portable Python with Web Link Captor
« Last post by ewemoa on December 12, 2011, 01:22 AM »
Below are some instructions for getting Web Link Captor to use PortablePython 2.x.

Getting Portable Python on one's system:

  • Navigate to http://portablepython.com
  • Click on the Portable Python 2.whatever (currently 2.7.2.1) link near the top left of the page
  • Download exe via torrent or one of the mirrors and verify checksum
  • Run the installer -OR- use Universal Extractor (and copy the contents of the $INSTDIR subfolder to some appropriate location)

Configuring WLC to use Portable Python:

  • Start Web Link Captor
  • From the "View" menu, choose "Options and Preferences"
  • Choose the "Scripting" tab on the left pane
  • Ensure that "Python.exe path specified below (default)" is selected
  • Specify the path to python.exe for "Custom path to Python.exe (version 2.x) -- so <installation-dir-path-of-portable-python>\App\python.exe

(Tested on Windows XP SP3 with PortablePython 2.7.2.1 and Web Link Captor 1.01.02.)
1600
Developer's Corner / Re: Code Koans
« Last post by ewemoa on December 09, 2011, 04:32 AM »
:Thmbsup:

Out of curiosity, are you trying the 2.x ones or the 3.x ones (or both)?
Pages: prev1 ... 59 60 61 62 63 [64] 65 66 67 68 69 ... 113next