Welcome Guest.   Make a donation to an author on the site September 22, 2014, 03:12:10 AM  *

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.
 
Check out and download the GOE 2007 Freeware Challenge productivity tools.
   
  Forum Home Thread Marks Chat! Downloads Search Login Register  
  Show Posts
      View this member's profile 
      donate to someone Donate to this member 
Pages: Prev 1 2 3 4 5 [6] 7 8 9 10 11 ... 157 Next
126  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".
127  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.
128  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.
129  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.
130  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.
131  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. ;--------------------------
132  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
133  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.
134  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.
135  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".
136  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.
137  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. ;--------------------------
138  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...
139  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.
140  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>
141  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.
142  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.
143  Main Area and Open Discussion / Living Room / Guardian report of 17 July 2014 on 7-hour interview with Snowden. on: July 20, 2014, 08:52:28 AM
(Copied below sans embedded hyperlinks/images.)
Quote
Edward Snowden urges professionals to encrypt client communications
Exclusive: Whistleblower says NSA revelations mean those with duty to protect confidentiality must urgently upgrade security
• Watch Snowden's interview with the Guardian in Moscow
• Read the full interview with Snowden by Alan Rusbridger and Ewen MacAskill on Friday
    Alan Rusbridger and Ewen MacAskill   
    The Guardian, Thursday 17 July 2014 17.14 BST   

Link to video: Edward Snowden: 'If I end up in chains in Guantánamo I can live with that'

The NSA whistleblower, Edward Snowden, has urged lawyers, journalists, doctors, accountants, priests and others with a duty to protect confidentiality to upgrade security in the wake of the spy surveillance revelations.

Snowden said professionals were failing in their obligations to their clients, sources, patients and parishioners in what he described as a new and challenging world.

"What last year's revelations showed us was irrefutable evidence that unencrypted communications on the internet are no longer safe. Any communications should be encrypted by default," he said.

The response of professional bodies has so far been patchy.

A minister at the Home Office in London, James Brokenshire, said during a Commons debate about a new surveillance bill on Tuesday that a code of practice to protect legal professional privilege and others requiring professional secrecy was under review.

Snowden's plea for the professions to tighten security came during an extensive and revealing interview with the Guardian in Moscow.

The former National Security Agency and CIA computer specialist, wanted by the US under the Espionage Act after leaking tens of thousands of top secret documents, has given only a handful of interviews since seeking temporary asylum in Russia a year ago.
Edward Snowden during his interview with Guardian editor Alan Rusbridger and reporter Ewen MacAskill Edward Snowden during his interview with the Guardian in Moscow. Photograph: Alan Rusbridger for the Guardian

During the seven hours of interview, Snowden:

• Said if he ended up in US detention in Guantánamo Bay he could live with it.

• Offered rare glimpses into his daily life in Russia, insisting that, contrary to reports that he is depressed, he is not sad and does not have any regrets. He rejected various conspiracy theories surrounding him, describing as "bullshit" suggestions he is a Russian spy.

• Said that, contrary to a claim he works for a Russian organisation, he was independently secure, living on savings, and money from awards and speeches he has delivered online round the world.

• Made a startling claim that a culture exists within the NSA in which, during surveillance, nude photographs picked up of people in "sexually compromising" situations are routinely passed around.

• Spoke at length about his future, which seems destined to be spent in Russia for the foreseeable future after expressing disappointment over the failure of western European governments to offer him a home.

• Said he was holding out for a jury trial in the US rather a judge-only one, hopeful that it would be hard to find 12 jurors who would convict him if he was charged with an offence to which there was a public interest defence. Negotiations with the US government on a return to his country appear to be stalled.

Snowden, who recognises he is almost certainly kept under surveillance by the Russians and the US, met the Guardian at a hotel within walking distance of Red Square.

The 31-year-old revealed that he works online late into the night; a solitary, digital existence not that dissimilar to his earlier life.

He said he was using part of that time to work on the new focus for his technical skills, designing encryption tools to help professionals such as journalists protect sources and data. He is negotiating foundation funding for the project, a contribution to addressing the problem of professions wanting to protect client or patient data, and in this case journalistic sources.

"An unfortunate side effect of the development of all these new surveillance technologies is that the work of journalism has become immeasurably harder than it ever has been in the past," Snowden said.

"Journalists have to be particularly conscious about any sort of network signalling, any sort of connection, any sort of licence-plate reading device that they pass on their way to a meeting point, any place they use their credit card, any place they take their phone, any email contact they have with the source because that very first contact, before encrypted communications are established, is enough to give it all away."

Journalists had to ensure they made not a single mistake or they would be placing sources at risk. The same duty applied to other professions, he said, calling for training and new standards "to make sure that we have mechanisms to ensure that the average member of our society can have a reasonable measure of faith in the skills of all the members of these professions."

He added: "If we confess something to our priest inside a church that would be private, but is it any different if we send our pastor a private email confessing a crisis that we have in our life?"

The response of professional bodies in the UK to the challenge varies, ranging from calls for legislative changes to build in protection from snooping, to apparent lack of concern.

Ross Anderson, professor of security engineering at Cambridge University, said he shared Snowden's concerns about the vulnerability of the professions to surveillance by spy and law enforcement agencies.

"If you think your HIV status is secret from GCHQ, forget it," he said. "The tools are available to protect data and communications but only if you are important enough for your doctor or lawyer to care."

Timothy Hill, technology policy adviser at the Law Society, which represents UK lawyers, said the profession was concerned.

"Legal professional privilege – the right to consult a legal adviser in confidence – is a long established common law right. Its fundamental role in our legal system needs to be reasserted."

The society is pressing to have existing legislation rewritten to include explicit protection for legal professional privilege from government surveillance.

"There needs to be a debate about the implications of the Snowden revelations for professional privilege in the digital age," Hill said. "It is not happening. This is not being debated in parliament."

He said the society was seeking to strengthen law firms' cybersecurity awareness but that a stronger statutory framework was essential.

Michelle Stanistreet, the National Union of Journalists general secretary, echoed the concerns. "For democracy to function, it needs to have a free press and journalists who are able to do their job without fear or hindrance. But this is becoming increasingly under threat."

She added: "Last year's revelations show that unencrypted communications can mean that journalists may be unwittingly handing over their contacts, footage or material, against their will."

The General Medical Council provides guidance to UK doctors about protecting information against improper disclosure.

Niall Dickson, the GMC chief executive, said: "Modern communication offers huge benefits for patients in terms of research, access to professionals, as well as speed of care and treatment. But of course it also carries risk, and confidentiality and trust are at the heart of the doctor-patient relationship.

"We recognise that keeping up with advances in technology and its implications for confidentiality are challenging for all healthcare professionals. We do have guidance which explains what doctors need to do if they are concerned about the security of personal information or systems they have been given to use. But in this rapidly changing area, we also need to keep on top of this ourselves, and we do regularly review our guidance to take account of changes in the external environment."
144  News and Reviews / Mini-Reviews by Members / Re: DiviFile from Qnomad - Mini-review on: July 20, 2014, 03:18:15 AM
2014-07-20 - Major update to review (in the opening post).
145  Main Area and Open Discussion / Living Room / Re: silly humor - post 'em here! [warning some NSFW and adult content] on: July 17, 2014, 04:22:48 AM
I'm a fan of Weird Al's, though I don't necessarily like all of his stuff.
A lot of it is very clever/funny.
146  DonationCoder.com Software / Clipboard Help+Spell / Re: CLIPBOARD HELP+SPELL LATEST VERSION INFO THREAD - v2.24.01 - July 14, 2014 on: July 17, 2014, 04:14:28 AM
^^ Thanks. That errors out - doesn't seem to work - though it looks like it should.
I don't know what the syntax/rules are for this.
147  DonationCoder.com Software / Clipboard Help+Spell / Re: CLIPBOARD HELP+SPELL LATEST VERSION INFO THREAD - v2.24.01 - July 14, 2014 on: July 16, 2014, 08:01:30 PM
you could put in a custom date expression if you wanted to get a very specific time period.

Thanks. Could you give me an example please?
148  DonationCoder.com Software / Clipboard Help+Spell / Re: CLIPBOARD HELP+SPELL LATEST VERSION INFO THREAD - v2.24.01 - July 14, 2014 on: July 16, 2014, 08:00:53 PM
Quote
Yes, that was what I thought, but I could not figure out how come the "smart" paste works into OneNote but not into Word. Are not both pastes being made by CHS?


First thing to try always, is just copying and pasting using normal windows clipboard, Ctrl+C followed by Ctrl+V.

When you do that, CHS is totally out of the loop.  So that will show you what the programs can really put on, and retrieve from, the clipboard.  Some programs can put multiple versions of a clip into the clipboard, some versions with extra information that only certain applications know how to handle when it is pasted.

Once you do that, you might find that some applications put extra information into the clipboard that CHS does not perceive or store.  If you copy something to the clipboard (Ctrl+C) but then later paste it using the CHS quick paste menu, then you will see what CHS puts on the clipboard during the paste operation, and if it's less than a native Ctrl+C and Ctrl+V.

Yes. You are right, of course.
As a test, I shut down CHS, and tried the copy/paste and the copy-copy/paste, copying from a web page in Firefox and pasting into OneNote and Word.
The result:
  • The copy/paste pastes just the plain, unformatted text into OneNote and Word.
  • The copy-copy/paste pastes the RTF (formatted text and images) into OneNote and Word, but with the difference that a formatted string containing the web page URL is pasted at the end of the clip as, for example:
  • "From <http://www.donationcoder.com/forum/index.php?topic=36936.new#new>"

OneNote always specially formats URLs pasted into it, and in this case it presumably collects the URL from the Clipboard (which contains all the available data about the clip), puts angle brackets around it, formats it and precedes it with a formatted text string "From ".

In Firefox, the first Copy is a result of auto-copy on mouse-selected text. The second copy is made using Ctrl-C. If I copy from a webpage in IE, there is no function for auto-copy on mouse-selected text, so the first and second copies are made using Ctrl+C. So there are evidently idiosyncrasies in the browsers. Also, pasting from IE takes a lot longer (even has a progress bar) than from Firefox, which is almost instantaneous.
149  DonationCoder.com Software / Clipboard Help+Spell / Re: CLIPBOARD HELP+SPELL LATEST VERSION INFO THREAD - v2.24.01 - July 14, 2014 on: July 16, 2014, 07:21:03 PM
Quote
There is one niggly annoyance I find with CHS and which has persisted across migration from XP to Win7 to Win8/8.1: the recent clips from the top of the popup Quick Paste Menu (Ctrl+Alt+Q) simply disappear, and you are left with just one or two default items in that list. Is there any way to control this behaviour?

You are seeing the default behavior of CHS, which is to only show on that menu recent clips from the last few days.
You can find instructions on changing that in this post: http://www.donationcoder....=4134.msg357920#msg357920

Got it. Very simple once it's pointed out. Many thanks:
...
To change the default behavior that only shows recent clips on the quick paste pop-up menu, it's a bit trickier -- unnecessarily complex i would agree: On the menu window right click on the "Quick Paste" group, and choose "Edit this Group", then in the box next to SQL, you can DELETE the phrase "AND CreationDateTime > DateTimeMinusOneDay" or perhaps change it to "AND CreationDateTime > DateTimeMinusThirtyDays"

Mine had been set (I guess as the default) to "=DateTimeMinusOneHour".
I changed it to "=DateTimeMinusThreeDays". I shall see how that goes.
It reminded me that CHS has got some pretty nifty features buried away in the back room.   Thmbsup
I must explore it some more...

Just a note for posterity, to record that the edit/change (above) to the virtual folder called "Quick Paste" does not work and produces the error:
Quote
___________________________

Error DBG109: DBISAM Engine Error # 11949 SQL parsing error -
Expected column name but instead found DateTimeMinusThreeDays in
SELECT SQL statement at line I, column 226
___________________________

That appears to be because you can only put certain fixed, predefined date/time field names into the SQL, and "=DateTimeMinusThreeDays" is not one of them, as per the note in that particular virtual folder, which says (my emphasis):
Quote
A virtual folder shows the contents of all other folders, as filtered by an
sql conditional expression based on database fields.  You can use a
virtual folder for example to show all entries in a certain date range, or
just clips marked favorites, or clips from certain groups, or any
combination.

ex.: IsFavorite=true AND Application like ultraedit

You can also use some special fields to test for special folders:
IsInRecyleBin, IsInClipboard, IsInClipboardNew , IsInClipboardOld ,
IsInFavorites

And some special date/time fields: DateTimeCurrent ,
DateTimeMinusThirtyMinutes , DateTimeMinusOneHour ,
DateTimeMinusSixHours , DateTimeMinusTwelveHours ,
DateTimeMinusOneDay ,DateTimeMinusTwoDays ,
DateTimeMinusFiveDays, DateTimeMinusSevenDays ,
DateTimeMinusFourteenDays, DateTimeMinusThirtyDays


ex. ModificationDateTime > DateTimeMinusTwoDays  AND NOT
IsInRecycleBin will show all items added in the last two weeks that is
not currently in the recyclebin subtree.

So I plumped for"=DateTimeMinusTwoDays", which seems to be working fine for my needs, at present.

Yours truly, of course, did not read/register the full import of the above information before making the initial change. If I had, then I would not have created the error.
More haste, less speed...    embarassed
One is fortunate if one learns something new every day.
150  DonationCoder.com Software / Clipboard Help+Spell / Re: CLIPBOARD HELP+SPELL LATEST VERSION INFO THREAD - v2.24.01 - July 14, 2014 on: July 16, 2014, 06:36:36 AM
Quote
There is one niggly annoyance I find with CHS and which has persisted across migration from XP to Win7 to Win8/8.1: the recent clips from the top of the popup Quick Paste Menu (Ctrl+Alt+Q) simply disappear, and you are left with just one or two default items in that list. Is there any way to control this behaviour?

You are seeing the default behavior of CHS, which is to only show on that menu recent clips from the last few days.
You can find instructions on changing that in this post: http://www.donationcoder....=4134.msg357920#msg357920

Got it. Very simple once it's pointed out. Many thanks:
...
To change the default behavior that only shows recent clips on the quick paste pop-up menu, it's a bit trickier -- unnecessarily complex i would agree: On the menu window right click on the "Quick Paste" group, and choose "Edit this Group", then in the box next to SQL, you can DELETE the phrase "AND CreationDateTime > DateTimeMinusOneDay" or perhaps change it to "AND CreationDateTime > DateTimeMinusThirtyDays"

Mine had been set (I guess as the default) to "=DateTimeMinusOneHour".
I changed it to "=DateTimeMinusThreeDays". I shall see how that goes.
It reminded me that CHS has got some pretty nifty features buried away in the back room.   Thmbsup
I must explore it some more...
Pages: Prev 1 2 3 4 5 [6] 7 8 9 10 11 ... 157 Next
DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.234s | Server load: 0.08 ]