Welcome Guest.   Make a donation to an author on the site August 01, 2014, 11:31:01 PM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
Your Support Funds this Site: View the Supporter Yearbook.
   
  Forum Home Thread Marks Chat! Downloads Search Login Register  
  Show Posts
      View this member's profile 
      donate to someone Donate to this member 
Pages: [1] 2 3 4 5 6 ... 153 Next
1  Main Area and Open Discussion / General Software Discussion / Re: Firefox Extensions: Your favorite or most useful on: July 31, 2014, 11:12:18 PM
@Curt: Ah, many thanks for posting that. You saved me the trouble - I hadn't been sure where to post it (had forgotten this discussion thread) when I saw it yesterday in my feed-reader, referenced in this post in The Windows Club: Greasemonkey scripts for Firefox: What it does and how to use it

How did you find out about that mirror? It seems to have been a little-known item, which always makes me curious.

I had been presuming that somebody was deliberately killing off usercripts.org as it has become well nigh impossible to connect to them, and so I had been resorting to using the Wayback machine (where many/all the scripts seem to be have been stored) - but it seems that, to make use of Wayback as a script archive, you probably first need to know the ID of the script you want!    Sad

2  Main Area and Open Discussion / Living Room / Re: silly humor - post 'em here! [warning some NSFW and adult content] on: July 31, 2014, 10:22:22 PM
Been watching some of the (old) Sledgehammer videos. This image was clipped from an early one in the first series. It depicts Sledgehammer's crime control policy. Sorry for the quality, but this was the best image I could find. It was the clearest frame as I stepped through frame sequence, and the smiley was only briefly visible in full, projected onto a projection screen in the background in an otherwise moving camera shot with a lot going on in the foreground - which was obscuring a clear view of the background.
I thought it was rather funny, but then I find most of the Sledgehammer videos hilarious anyway.

[attach]

Come to think of it, from what I have read, this policy could seem to have been adopted in many police precincts in US cities...     ohmy
3  Main Area and Open Discussion / Living Room / Re: silly humor - post 'em here! [warning some NSFW and adult content] on: July 31, 2014, 10:03:54 PM
^^ Those are rather good, but blimey, it would seem kind to take that poor dog to the vet's to get him fixed.
4  Main Area and Open Discussion / Living Room / Re: silly humor - post 'em here! [warning some NSFW and adult content] on: July 30, 2014, 07:01:13 AM
^^ Hahaha. A great poker-playing joke. Already in my database. An oldie but a goodie.
5  Main Area and Open Discussion / Living Room / Re: silly humor - post 'em here! [warning some NSFW and adult content] on: July 30, 2014, 04:14:19 AM
In the corporate world, persuasion is...

[attach]


...to assist your self-development towards bliss...

[attach]
6  Main Area and Open Discussion / Living Room / Re: silly humor - post 'em here! [warning some NSFW and adult content] on: July 30, 2014, 03:52:25 AM
I enjoy most jokes about religion that do not make a person or a class of person an undeserving butt of their humour, and making jokes about religion can be a valid form of criticism of a religion or its religio-political ideology anyway. For example,  in art, and though I dislike them both, that could include the awful but thought-provoking (I think) "Madonna in a condom" and the disgusting "Piss Christ", both of which could also be taken as a sobering comment on the artists who created them, and on the cultures from whence they came and which might encourage such works. ("By their fruits ye shall know them".)
Generally speaking, if people of religious belief cannot take such criticism - implicit or explicit - then tough luck - at least whilst we still have some freedom of speech. (Though I am not a religious person, I personally stopped going to the New Zealand museum after they displayed the abovementioned "art". This was my personal protest, as I felt that they were just going too far. So I voted with my feet.)

Below are three of my favourites humorous "religious" cartoons - an example of self-deprecating humour (as is a lot of Jewish humour) per example(a) below, and of humorous comparisons of multi-faith ideological contradictions/hypocrisy, per examples (b) + (c) - or simple stupidity per example (d).

Example (a) - Comfortable:
The prosperous Jewish businessman was crossing the road one day, and failed to see an oncoming motor-car, which braked but could not stop in time before it hit him.  As he was lying on the ground, dazed and in pain, somebody yelled "I'll call for an ambulance!", and a worried woman knelt down beside him and gently cradled his head in her arms.

"You poor man," she said consolingly, "are you comfortable?"

"I get by." he managed to croak back to her.
______________________________


Example (b) - Jesus and Mohammed in a famous English pub(s):
[attach]


Example (c) - Non-violent jihadist:
[attach]


Example (d) - apology for slur:
[attach]
7  Main Area and Open Discussion / General Software Discussion / Re: All Seeing Eye extension for Chrome - History search optimized on: July 29, 2014, 05:10:09 AM
Unless I missed out on an option, Scrapbook must be run manually no?
Yes, that's correct.
8  Main Area and Open Discussion / General Software Discussion / Re: All Seeing Eye extension for Chrome - History search optimized on: July 28, 2014, 08:35:54 AM
^^ Yes, I was impressed too, but it still doesn't beat Scrapbook (which saves content including images and lots more, and is indexed/searchable in Windows Search), which is one of the main reasons I am sticking with Firefox as my primary browser, with IE, Chromium, Chrome coming after it - in that order.
9  Main Area and Open Discussion / General Software Discussion / Re: MaidSafe - The new decentralized Internet on: July 28, 2014, 07:55:00 AM
...have a look at the colour scheme at the top... very clever metaphor...
What - you mean the way the colour scheme shifts from one side of the page to the other through the 7 colours of the rainbow against a black background? As in "SPECTRUM" of electromagnetic radiation? How is that clever? Maybe I am missing something. The screws have been coming loose for years...

EDIT: I just listened to Black Sabbath's "Sweet Leaf" (thanks for providing the link), and I think I see what you mean about that, at least. I never really liked their music so never paid it much attention and would just "tune out" on them if I heard it. So I don't recall hearing that one before, but I feel sure I must have at one time or another - probably on replays of the BBC's "The Old Grey Whistle Test".
10  Main Area and Open Discussion / General Software Discussion / Re: MaidSafe - The new decentralized Internet on: July 27, 2014, 07:31:59 PM
@Edvard: Many thanks for posting this. I had not been aware of it before:
I admit, this idea struck me as odd at best and 'pie-in-the-sky' at worst, but the basic gist is to create a network intended to replace the internet that is completely decentralized, paid for by users' spare hard drive space, and is completely encrypted.  This goes beyond darknets and meshnets, and... well... read the FAQs, check out the article, watch the video, decide for yourself.
Quote
The Server Needs To Die To Save The Internet
“What we’re building is software that connects together all the computers on the network to form — think of it as one giant computer, or effectively one giant cyber brain. So it really connects together all the nodes on the network and allows them to effectively become a very large datacenter, without of course the datacenter,” explains Lambert. “It’s a network infrastructure that will replace datacenters — and hopefully large technology companies.”
That’s right. This startup wants to reconfigure the current Internet hierarchy too — pulling the power and centre of gravity away from the owners of the biggest datacenters and platforms, and putting it back in the hands of individual users.

from CodeProject News

Just for posterity and reference, these are possibly relevant links in DCF:

The post about MaidSafe is very heartening news to me. I can't believe that I hadn't heard of it till now - the MaidSafe blog appears to go back to April 2014 and makes reference to some Google+ discussions about it before then (though I would probably have missed those anyway as I prefer to avoid g+).
The MaidSafe news at least gives another possible reason for DigitalLifeboat's somewhat abrupt cessation in July 2013 (or thereabouts) - another possible reason was BitTorrentSync, refer also:

However, I am skeptical, not so much about MaidSafe per se (which appears to be a slam-dunk that has been operationally tested/proven, in prototype mode, at least), but about the Establishment's potential for aborting/euthanising MaidSafe through "necessary" legislation under (say) the "Prevention of Terrorism Act", or something, simply because it offers some potential threats to the Establishment on several fronts, including:
  • Crypto-currency: The coupling of MaidSafe with crypto-currencies (including mastercoin and bitcoin, and the MaidSafe proprietary Perpetual Coin + safecoin).

  • Disruptive technology - Commercial: The original Web/Internet as probably envisaged by Vint Cerf, would be a very different creature to what we seem to have today, which has become a fiercely capitalist profit/money-making scheme for those corporations that have been on the leading edge of using the Internet as a mass-marketing demographic data collection and vending system. Google's huge market dominance in this area could be a major victim of this disruptive technology, as it could sever the value-chain that provides their lifeblood and which drives their business model. As we are aware, there would seem to be a strong working relationship and interdependency between US Government/NSA/Google.

  • Disruptive technology - State: The US and allied governments have apparently already invested many billions of dollars on developing internet surveillance systems (revelations re NSA/SS, SnowdenGate refer), all in the name of "National Security". MaidSafe could seem to have the potential to defeat a greater part of that.
11  Main Area and Open Discussion / Living Room / Re: Interesting "stuff" on: July 27, 2014, 02:40:48 AM
When I first scanned this in my feedreader, I misread it and thought it was about security of data/comms logging...
Turn Your Old Cell Phones into DIY Environmental Listening Devices to Stop Illegal Logging

Nifty idea though.
12  Special User Sections / N.A.N.Y. Challenge 2007 / Re: SelectoSurf v1.1.0 - Jan 25,2008 - AutoHotkey script to open plaintext URLs on: July 27, 2014, 01:58:04 AM
After making the above posts, I commented out the "housekeeping" lines 15 and 112 in my SelectoSurf script (above), so now CHS and the QuickPaste menu also contain any recent search strings passed to SelectoSurf (they would previously have been expunged).
My view is that this is collecting potentially useful clipboard detritus which I can always delete later if I don't need it for anything.
13  Special User Sections / N.A.N.Y. Challenge 2007 / Re: SelectoSurf v1.1.0 - Jan 25,2008 - AutoHotkey script to open plaintext URLs on: July 27, 2014, 01:26:01 AM
Posted at: Re: hotkey to launch google search in a new firefox tab
Thanks a ton IaianB!
Riding on your script from Mouser, I made an ahk script to find Firefox, create a new tab, and open the search results:
...
_______________________________

I'm very pleased to see that it was of use/help.
I see that your nice and short script uses the AHK InputBox, and is browser-specific.

I am always interested in trying out scripts and proggies to test them to see whether they do what they were intended/designed for, and what makes them fail, and what they do when they fail or are presented with input that was not necessarily intended in their design - for example, what they might do when things cause them to fail in some manner.

Testing a script under different conditions is useful, because the good/effective or bad things about a script might not always be immediately apparent. In the case of Selectosurf some interesting points/features/possibilities are:
  • 1. Housekeeping: The script makes a copy of the Clipboard current state before sending a copy command to capture the text highlighted by the user. At the end of the script, the saved clipboard state is replaced, overwriting any changes that the script may have made to the clipboard whilst the script was running. So you won't see the copied text in (for example) the CHS (Clipboard Help and Spell) list of recently copied text (it's called the "QuickPaste" list in CHS). It is good practice for a script to do some tidy up housekeeping after itself like this. But you might not want that. You might want to (say) keep any text you searched for, retained in QuickText. You can modify the script to do that by commenting out the housekeeping bits.

  • 2. Browser: You can get it to use either the system default browser, or a specific browser which might not be the system default browser. This allows flexibility under the user's control.

  • 3. Search engine: You have to specify the search engine in the parameters sent to the browser. This allows flexibility/choice under the user's control. However, you could modify this to just passing the assembled search text to the browser address bar ("awesome bar"), which could have been already set to apply that browser's default search engine to whatever was put in the address bar. More user choice.

  • 4. Failure state: (Potentially very useful.) If the user does not select any text and presses the hotkeys to activate Selectosurf anyway, then the script does not fail (it makes a null copy capture) but picks up the last thing you happened to copy into the clipboard - could be an image or text, for example.
    If you happen to be setting about collecting lots of material and references to search, then knowing this enables you to turn the combination of Selectosurf and CHS' QuickPaste (or whatever other Clipboard manager you might be using) into an incredibly useful. time-saving combination tool. You could go around copying the chunks of text - which may be either specific strings of text that you want to research or which may include some such specific strings in disconnected form. You can then select (click on) each item in turn from the CHS QuickPaste list and invoke Selectosurf in the usual way, for that item (ensure your mouse is not selecting any text at the time).
    This works because selecting the item from the QuickPaste list pushes it into the Clipboard as "the last copied item", which is what Selectosurf falls back on when it makes a null copy capture (as above).
    Before you do that though, if the item is a larger lump of text containing some text that would be irrelevant for a required search, then you can quickly edit it in CHS to reduce it to just that specific text string that you want to search for, and that goes into the QuickPaste list.
    General note: You probably need to be mindful of whether you want the script to constrain the string to be an explicit literal field (inside double quotes):
    e.g. something like:
    •          
Formatted for Autohotkey with the GeSHI Syntax Highlighter [copy or print]
  1. theurl = http://duckduckgo.com/?q=`%22%theurl%`%22
or approximate (without quotes):
  •          
Formatted for Autohotkey with the GeSHI Syntax Highlighter [copy or print]
  1. theurl = http://duckduckgo.com/?q=%theurl%
    - when it is sent/put into the search box, as this will necessarily govern the outcome - i.e., the search result.
    (After some experiment, I think I find the latter more useful.)

    [/li]
    [li]5. Autocopy: If you have Firefox, you can use the AutoCopy extension:
    Quote
    Select text on any web page and it will be automatically copied to the clipboard. It works in much the same way as does Trillian or mIrc.
    Paste on middle click into textboxes, the url bar, and the search bar.
    _______________________________________________
    For capturing text strings containing more than one word, you have to select them all using the mouse, whereupon they are copied to the Clipboard.
    For capturing text strings containing just one word, double-clicking on the single word selects and copies that single word to the Clipboard.
    As above in point 4, if using (say) CHS:
    Quote
    You can then select (click on) each item in turn from the CHS QuickPaste list and invoke Selectosurf in the usual way, for that item. This works because selecting the item from the QuickPaste list pushes it into the Clipboard as "the last copied item".  Before you do that though, if the item is a larger lump of text containing some text that would be irrelevant for a required search, then you can quickly edit it in CHS to reduce it to just that specific text string that you want to search for, and that goes into the QuickPaste list.
    _____________________
    With a clipboard manager such as (say) CHS, this can be very handy/speedy when gathering reference strings, as it puts them into the "latest captures" list - the QuickPaste list. If you select a string, using the mouse, and then invoke Selectosurf, the selected item goes into the Clipboard (and thus the CHS QuickPaste list) before Selectosurf saves the Clipboard state and makes its own copy of the selected item (which copy is later expunged when the script exits).
    The degree of control possible over CHS puts the user in full control of using things like the QuickPaste list and even the content and order/sequence of items on it, making it an ideal tool for this sort of repetitive collection-and-research process.
    [/li]

I mention these points/features/possibilities because you describe your nice and short script as being derived from ("Riding on") the Selectosurf script, and your script uses the AHK InputBox, and is browser-specific.
The InputBox could be an area for potential process improvement, by eliminating it altogether when/if it is redundant.
It thus occurred to me that you might be unaware of the above Selectosurf points/features/possibilities. I imagined you manually typing each search string (text item) into the InputBox, and wondered how many times that might be repeated with different/new strings and how many hours that might consume over a researcher's lifetime, when one could perhaps easily automate the data capture aspect to a major extent, thus avoiding most/all of the manual input, and leaving you at liberty to use the freed up cognitive surplus for something more interesting/enjoyable.

So, just some thoughts. Hope they are not too jumbled.

I abhor using manual processes where automation can be more usefully applied, and I am often appalled when I come across some unnecessary and repetitive tedium that we have unwittingly imposed upon ourselves or others.

All kudos to @mouser and his Selectosurf and CHS.
14  Special User Sections / N.A.N.Y. Challenge 2007 / Re: SelectoSurf v1.1.0 - Jan 25,2008 - AutoHotkey script to open plaintext URLs on: July 27, 2014, 01:22:51 AM
Posted at: Re: hotkey to launch google search in a new firefox tab
@mouser provided a rather nifty bit of code for AutoHotKey use (called Selectosurf) to do what you seem to want. You just select the text or URL that you want to search for, press the hotkeys Ctrl+Space (this can be changed), and the search engine of your choice (see lines 88, 89 in the code window below), and your browser opens a search result panel/window.
If you search on the DC Forum for Selectosurf, you will come up with these discussion threads:

I use it as per below, to invoke a duckduckgo search. It's rather fast. It puts the search string as a specific literal inside double quotes though, which you might want to change or vary.

Formatted for Autohotkey with the GeSHI Syntax Highlighter [copy or print]
  1. SelectoSurf: ;Sends selected plaintext url or other string and opens it in a browser or search.
  2. ;  Based on SelectoSurf by mouser@donationcoder.com
  3. ;  see http://www.donationcoder.com/Forums/bb/index.php?topic=6714.0
  4. ; v 1.1.0, Jan 25, 2008 - improved browser option, added split-line reconstruction, added about box
  5. ; v 1.0.2, Nov 10, 2006 - initial release
  6. ;
  7. ; Select plaintext in any program and hit the hotkey (ctrl+space)
  8. ; If the text looks like a url or website name (like donationcoder.com), it will be opened
  9. ;  otherwise a google (or other) search will be confucted with the phrase.
  10. ;------------------------------------------------------------------
  11. ; ATTN, OPTIONAL: configure a specific browser overide, to bypass using default
  12. ;browserexe = iexplore.exe
  13. ;browserexe = C:\Program Files\Mozilla Firefox\firefox.exe
  14. ;------------------------------------------------------------------
  15. temp = %clipboard% ; grab old clipboard
  16. Send, ^c ; send ctrl+C to copy new text to clipboard
  17. Sleep 100 ; sleep a tiny bit to give a chance for clipboard to propage
  18. theurl = %clipboard% ; *potential* url
  19. ;
  20. ; merge split lines
  21. StringReplace, theurl, theurl, `r`n,, All
  22. StringReplace, theurl, theurl, `r,, All
  23. StringReplace, theurl, theurl, `n,, All
  24. ;
  25. ; clean spaces
  26. StringReplace, theurl, theurl, %A_Space%,`%20, All
  27. ;
  28. ; Lets do some other common replacements
  29. StringReplace, theurl, theurl, hxxp:,http:, All
  30. StringReplace, theurl, theurl, hxxps:,http:, All
  31. StringReplace, theurl, theurl, h??p:,http:, All
  32. StringReplace, theurl, theurl, h??ps:,http:, All
  33. ;
  34. ; remove any leading or trailing () [] . " '
  35. theurl := RegExReplace(theurl, "^[\.\(\)\'\[\]""]+")
  36. theurl := RegExReplace(theurl, "[\.\(\)\'\[\]""]+$")
  37. ;--------------------------
  38. ; is it a full url
  39. isaurl = 0
  40. IfInString, theurl, http:
  41. {
  42. isaurl = 1
  43. }
  44. else IfInString, theurl, https:
  45. {
  46. isaurl = 1
  47. }
  48. else IfInString, theurl, mailto
  49. {
  50. isaurl = 1
  51. }
  52. else IfInString, theurl, ftp:
  53. {
  54. isaurl = 1
  55. }
  56. else IfInString, theurl, www.
  57. {
  58. isaurl = 1
  59. }
  60. else IfInString, theurl, .com
  61. {
  62. isaurl = 1
  63. theurl = www.%theurl%
  64. }
  65. else IfInString, theurl, .net
  66. {
  67. isaurl = 1
  68. theurl = www.%theurl%
  69. }
  70. else IfInString, theurl, .org
  71. {
  72. isaurl = 1
  73. theurl = www.%theurl%
  74. }
  75. {
  76. ; @sign with no spaces is an email
  77. ; ATTN: toddo
  78. if (0==1)
  79. {
  80. ; add a mailto
  81. theurl = mailto:%theurl%
  82. isaurl = 1
  83. }
  84. {
  85. ; search for the string - note this makes isaurl true always, which is what we want.
  86. ;theurl = http://www.google.com/search?hl=en&q=`%22%theurl%`%22
  87. theurl = http://duckduckgo.com/?q=`%22%theurl%`%22
  88. isaurl = 1
  89. }
  90. }
  91. ;--------------------------
  92. ; launch it?
  93. if (isaurl = 1)
  94. {
  95. ; beep?
  96. ; SoundBeep
  97.  
  98. ; launch explorer with url
  99. if (browserexe != "")
  100. {
  101. Run, %browserexe% %theurl%
  102. }
  103. {
  104. Run %theurl%
  105. }
  106. }
  107. ;--------------------------
  108. ; restore clipboard
  109. clipboard = %temp%
  110. ;--------------------------
  111. ; all done
  112. ;--------------------------
15  Main Area and Open Discussion / Living Room / Re: silly humor - post 'em here! [warning some NSFW and adult content] on: July 26, 2014, 12:57:10 AM
...Everyone slacks off sometimes. smiley
Ahahaha. Very droll. How true.    Thmbsup
16  DonationCoder.com Software / Find And Run Robot / Re: hotkey to launch google search in a new firefox tab on: July 25, 2014, 09:30:08 PM
Thanks a ton IaianB!
Riding on your script from Mouser, I made an ahk script to find Firefox, create a new tab, and open the search results:
...
_______________________________

I'm very pleased to see that it was of use/help.
I see that your nice and short script uses the AHK InputBox, and is browser-specific.

I am always interested in trying out scripts and proggies to test them to see whether they do what they were intended/designed for, and what makes them fail, and what they do when they fail or are presented with input that was not necessarily intended in their design - for example, what they might do when things cause them to fail in some manner.

Testing a script under different conditions is useful, because the good/effective or bad things about a script might not always be immediately apparent. In the case of Selectosurf some interesting points/features/possibilities are:
  • 1. Housekeeping: The script makes a copy of the Clipboard current state before sending a copy command to capture the text highlighted by the user. At the end of the script, the saved clipboard state is replaced, overwriting any changes that the script may have made to the clipboard whilst the script was running. So you won't see the copied text in (for example) the CHS (Clipboard Help and Spell) list of recently copied text (it's called the "QuickPaste" list in CHS). It is good practice for a script to do some tidy up housekeeping after itself like this. But you might not want that. You might want to (say) keep any text you searched for, retained in QuickText. You can modify the script to do that by commenting out the housekeeping bits.

  • 2. Browser: You can get it to use either the system default browser, or a specific browser which might not be the system default browser. This allows flexibility under the user's control.

  • 3. Search engine: You have to specify the search engine in the parameters sent to the browser. This allows flexibility/choice under the user's control. However, you could modify this to just passing the assembled search text to the browser address bar ("awesome bar"), which could have been already set to apply that browser's default search engine to whatever was put in the address bar. More user choice.

  • 4. Failure state: (Potentially very useful.) If the user does not select any text and presses the hotkeys to activate Selectosurf anyway, then the script does not fail (it makes a null copy capture) but picks up the last thing you happened to copy into the clipboard - could be an image or text, for example.
    If you happen to be setting about collecting lots of material and references to search, then knowing this enables you to turn the combination of Selectosurf and CHS' QuickPaste (or whatever other Clipboard manager you might be using) into an incredibly useful. time-saving combination tool. You could go around copying the chunks of text - which may be either specific strings of text that you want to research or which may include some such specific strings in disconnected form. You can then select (click on) each item in turn from the CHS QuickPaste list and invoke Selectosurf in the usual way, for that item (ensure your mouse is not selecting any text at the time).
    This works because selecting the item from the QuickPaste list pushes it into the Clipboard as "the last copied item", which is what Selectosurf falls back on when it makes a null copy capture (as above).
    Before you do that though, if the item is a larger lump of text containing some text that would be irrelevant for a required search, then you can quickly edit it in CHS to reduce it to just that specific text string that you want to search for, and that goes into the QuickPaste list.
    General note: You probably need to be mindful of whether you want the script to constrain the string to be an explicit literal field (inside double quotes):
    e.g. something like:
    •          
    Formatted for Autohotkey with the GeSHI Syntax Highlighter [copy or print]
    1. theurl = http://duckduckgo.com/?q=`%22%theurl%`%22
    or approximate (without quotes):
    •          
    Formatted for Autohotkey with the GeSHI Syntax Highlighter [copy or print]
    1. theurl = http://duckduckgo.com/?q=%theurl%
      - when it is sent/put into the search box, as this will necessarily govern the outcome - i.e., the search result.
      (After some experiment, I think I find the latter more useful.)

  • 5. Autocopy: If you have Firefox, you can use the AutoCopy extension:
    Quote
    Select text on any web page and it will be automatically copied to the clipboard. It works in much the same way as does Trillian or mIrc.
    Paste on middle click into textboxes, the url bar, and the search bar.
    _______________________________________________
    For capturing text strings containing more than one word, you have to select them all using the mouse, whereupon they are copied to the Clipboard.
    For capturing text strings containing just one word, double-clicking on the single word selects and copies that single word to the Clipboard.
    As above in point 4, if using (say) CHS:
    Quote
    You can then select (click on) each item in turn from the CHS QuickPaste list and invoke Selectosurf in the usual way, for that item. This works because selecting the item from the QuickPaste list pushes it into the Clipboard as "the last copied item".  Before you do that though, if the item is a larger lump of text containing some text that would be irrelevant for a required search, then you can quickly edit it in CHS to reduce it to just that specific text string that you want to search for, and that goes into the QuickPaste list.
    _____________________
    With a clipboard manager such as (say) CHS, this can be very handy/speedy when gathering reference strings, as it puts them into the "latest captures" list - the QuickPaste list. If you select a string, using the mouse, and then invoke Selectosurf, the selected item goes into the Clipboard (and thus the CHS QuickPaste list) before Selectosurf saves the Clipboard state and makes its own copy of the selected item (which copy is later expunged when the script exits).
    The degree of control possible over CHS puts the user in full control of using things like the QuickPaste list and even the content and order/sequence of items on it, making it an ideal tool for this sort of repetitive collection-and-research process.

I mention these points/features/possibilities because you describe your nice and short script as being derived from ("Riding on") the Selectosurf script, and your script uses the AHK InputBox, and is browser-specific.
The InputBox could be an area for potential process improvement, by eliminating it altogether when/if it is redundant.
It thus occurred to me that you might be unaware of the above Selectosurf points/features/possibilities. I imagined you manually typing each search string (text item) into the InputBox, and wondered how many times that might be repeated with different/new strings and how many hours that might consume over a researcher's lifetime, when one could perhaps easily automate the data capture aspect to a major extent, thus avoiding most/all of the manual input, and leaving you at liberty to use the freed up cognitive surplus for something more interesting/enjoyable.

So, just some thoughts. Hope they are not too jumbled.

I abhor using manual processes where automation can be more usefully applied, and I am often appalled when I come across some unnecessary and repetitive tedium that we have unwittingly imposed upon ourselves or others.

All kudos to @mouser and his Selectosurf and CHS.
17  Main Area and Open Discussion / Living Room / Re: silly humor - post 'em here! [warning some NSFW and adult content] on: July 25, 2014, 07:39:23 PM
...Just. Wow.
Aw, come on @Renegade. That's not up to your usual high standard - I mean using a redundant cliché that usually seems reserved for use as an excuse for thinking or making some valid comment...going forward.    Grin
By the way, I thought you were doing pretty much OK otherwise, up until you wrote that.    smiley
...and there were some pretty weird/amazing comments in that comment thread. I presumed a lot of them were probably tongue-in-cheek and not intended to be taken seriously.
18  Main Area and Open Discussion / Living Room / Re: silly humor - post 'em here! [warning some NSFW and adult content] on: July 25, 2014, 04:38:18 AM
The Comcast customer service disconnection call that went viral:
https://soundcloud.com/ry...lock-10/comcastic-service
Comcast responds: "He did what we trained him to do"
http://www.pcworld.com/ar...we-trained-him-to-do.html
 ohmy
That is quite amazing. Listening to it, the words that popped into my head were "Bush Lawyer".
19  Main Area and Open Discussion / General Software Discussion / Re: What the Heck is Happening to Windows? Article on Windows 8 Disaster on: July 24, 2014, 11:09:44 PM
Many thanks to the people in this discussion thread who referred to Classic Shell. As a result of their comments, a couple of days ago I went ahead and installed it for a trial.
Most of the things that I dislike (and that's putting it mildly) about Win8 are related to poor ergonomics and the superfluous Metro eye-candy and and its kludgy functionality in the UI. Those aspects of the OS are backward steps - but the OS otherwise seems very good.
However, pretty much all that I disliked is swept away by Classic Shell. It seems to be very stable too - which is a mandatory requirement for an OS interface (in my book, at any rate).
Perhaps the biggest bonus of Classic Shell for me is in the restoration of the very good Win7-type Start Menu and the instant search of my indexed documents and OneNote files when anything is typed into the Search box. This had completely disappeared in Win8 and was driving me batty - and lots of other OneNote users as well, judging from the comments in many of the OneNote discussion forums.
Classic Shell - definitely a keeper.
20  DonationCoder.com Software / Find And Run Robot / Re: hotkey to launch google search in a new firefox tab on: July 24, 2014, 09:38:25 AM
@mouser provided a rather nifty bit of code for AutoHotKey use (called Selectosurf) to do what you seem to want. You just select the text or URL that you want to search for, press the hotkeys Ctrl+Space (this can be changed), and the search engine of your choice (see lines 88, 89 in the code window below), and your browser opens a search result panel/window.
If you search on the DC Forum for Selectosurf, you will come up with these discussion threads:

I use it as per below, to invoke a duckduckgo search. It's rather fast. It puts the search string as a specific literal inside double quotes though, which you might want to change or vary.

Formatted for Autohotkey with the GeSHI Syntax Highlighter [copy or print]
  1. SelectoSurf: ;Sends selected plaintext url or other string and opens it in a browser or search.
  2. ;  Based on SelectoSurf by mouser@donationcoder.com
  3. ;  see http://www.donationcoder.com/Forums/bb/index.php?topic=6714.0
  4. ; v 1.1.0, Jan 25, 2008 - improved browser option, added split-line reconstruction, added about box
  5. ; v 1.0.2, Nov 10, 2006 - initial release
  6. ;
  7. ; Select plaintext in any program and hit the hotkey (ctrl+space)
  8. ; If the text looks like a url or website name (like donationcoder.com), it will be opened
  9. ;  otherwise a google (or other) search will be confucted with the phrase.
  10. ;------------------------------------------------------------------
  11. ; ATTN, OPTIONAL: configure a specific browser overide, to bypass using default
  12. ;browserexe = iexplore.exe
  13. ;browserexe = C:\Program Files\Mozilla Firefox\firefox.exe
  14. ;------------------------------------------------------------------
  15. temp = %clipboard% ; grab old clipboard
  16. Send, ^c ; send ctrl+C to copy new text to clipboard
  17. Sleep 100 ; sleep a tiny bit to give a chance for clipboard to propage
  18. theurl = %clipboard% ; *potential* url
  19. ;
  20. ; merge split lines
  21. StringReplace, theurl, theurl, `r`n,, All
  22. StringReplace, theurl, theurl, `r,, All
  23. StringReplace, theurl, theurl, `n,, All
  24. ;
  25. ; clean spaces
  26. StringReplace, theurl, theurl, %A_Space%,`%20, All
  27. ;
  28. ; Lets do some other common replacements
  29. StringReplace, theurl, theurl, hxxp:,http:, All
  30. StringReplace, theurl, theurl, hxxps:,http:, All
  31. StringReplace, theurl, theurl, h??p:,http:, All
  32. StringReplace, theurl, theurl, h??ps:,http:, All
  33. ;
  34. ; remove any leading or trailing () [] . " '
  35. theurl := RegExReplace(theurl, "^[\.\(\)\'\[\]""]+")
  36. theurl := RegExReplace(theurl, "[\.\(\)\'\[\]""]+$")
  37. ;--------------------------
  38. ; is it a full url
  39. isaurl = 0
  40. IfInString, theurl, http:
  41. {
  42. isaurl = 1
  43. }
  44. else IfInString, theurl, https:
  45. {
  46. isaurl = 1
  47. }
  48. else IfInString, theurl, mailto
  49. {
  50. isaurl = 1
  51. }
  52. else IfInString, theurl, ftp:
  53. {
  54. isaurl = 1
  55. }
  56. else IfInString, theurl, www.
  57. {
  58. isaurl = 1
  59. }
  60. else IfInString, theurl, .com
  61. {
  62. isaurl = 1
  63. theurl = www.%theurl%
  64. }
  65. else IfInString, theurl, .net
  66. {
  67. isaurl = 1
  68. theurl = www.%theurl%
  69. }
  70. else IfInString, theurl, .org
  71. {
  72. isaurl = 1
  73. theurl = www.%theurl%
  74. }
  75. {
  76. ; @sign with no spaces is an email
  77. ; ATTN: toddo
  78. if (0==1)
  79. {
  80. ; add a mailto
  81. theurl = mailto:%theurl%
  82. isaurl = 1
  83. }
  84. {
  85. ; search for the string - note this makes isaurl true always, which is what we want.
  86. ;theurl = http://www.google.com/search?hl=en&q=`%22%theurl%`%22
  87. theurl = http://duckduckgo.com/?q=`%22%theurl%`%22
  88. isaurl = 1
  89. }
  90. }
  91. ;--------------------------
  92. ; launch it?
  93. if (isaurl = 1)
  94. {
  95. ; beep?
  96. ; SoundBeep
  97.  
  98. ; launch explorer with url
  99. if (browserexe != "")
  100. {
  101. Run, %browserexe% %theurl%
  102. }
  103. {
  104. Run %theurl%
  105. }
  106. }
  107. ;--------------------------
  108. ; restore clipboard
  109. clipboard = %temp%
  110. ;--------------------------
  111. ; all done
  112. ;--------------------------
21  Main Area and Open Discussion / Living Room / Re: silly humor - post 'em here! [warning some NSFW and adult content] on: July 22, 2014, 07:29:59 PM
Made me smile lot to read this:
George Harrison memorial tree felled by ... beetles - CSMonitor.com
I suspect that George, had he been alive and with his being a mystic, would have smiled about that and thought it a perfectly fitting tribute from Nature.
As I write this, I am Listening to him singing "All Things Must Pass", with my Logitech G930 headset...
22  Main Area and Open Discussion / Living Room / Re: silly humor - post 'em here! [warning some NSFW and adult content] on: July 22, 2014, 07:20:17 PM
Love the penguin-polarbear one  Thmbsup
Yes, a cute joke. You'd have to be brave to do that.  Pretty special penguins too, to have travelled so far.
Reminds me of the April 1st spoof one of the British TV channels did a few years back. It was a nature documentary about the penguins assembling in preparation for their annual migration - just as they started to fly to a warmer climate for the winter.
23  Main Area and Open Discussion / Living Room / Re: silly humor - post 'em here! [warning some NSFW and adult content] on: July 22, 2014, 03:40:32 AM
Very clever educational and amusing music video. The video and the soundtrack are intended to go together.
"Weird Al" Yankovic - Word Crimes

<a href="http://www.youtube.com/watch?v=8Gv0H-vPoDc" target="_blank">http://www.youtube.com/watch?v=8Gv0H-vPoDc</a>
24  Main Area and Open Discussion / General Software Discussion / Re: Windows 8 Pro on: July 21, 2014, 10:17:51 AM
Not sure whether this might be of use/help:
...Then, a couple of days ago, I decided to try and upgrade from Win 8.1 to Win 8.1 PRO (Professional). I wanted to use an unused licence for a Win8 PRO upgrade that I had previously purchased for about US$40 whilst it was just coming to the end of its "special offer" period, back in January 2014 when I was using Win7-64 Home Premium.
So I did some searching and came up with this very helpful post from October 29, 2013 which covered my case almost exactly: Easily Change Windows 8.1 Edition Without Reinstalling.

I followed the steps in that post, and to my great relief the upgrade was painless - it all took place without hitch in about 15 minutes elapsed time, including download and 2 auto-reboots. I then spent 30 minutes migrating/installing other software from my old Win7 disk, including the latest version of W7FC (Windows 7 Firewall Control) - for which I have a paid licence. The W7FC was a bit tedious, as it had to be taught all the rules for the programs as they were run.
I have come to the tentative conclusion that W7FC could well be redundant on the Win8 OS. (Some people may think it was redundant for Win7 too.)

So far I am very pleased with Win8.1 PRO.
If anything, it is/feels faster than the preceding Win8.1 version.
The UI is a bit different/slightly improved, but I still dislike certain aspects of it. I may set about fixing that to something that suits me better, now that the system has arrived at a stable end-point.
I shall now set about exploring the extra functionality that Win8.1-64 PRO offers, to see what use I can make of it.
25  Main Area and Open Discussion / Living Room / Re: Homebrewing on: July 21, 2014, 04:10:20 AM
...you show me how to brew a beer better than a pint of Guinness poured from a bar tap and I'll eat my hat.
Tricky. Home-brewers don't have ready access to what would (for them) probably be a relatively expensive nitrogen infusion process.
Pages: [1] 2 3 4 5 6 ... 153 Next
DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.203s | Server load: 0.01 ]