topbanner_forum
  *

avatar image

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

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

Recent Posts

Pages: prev1 ... 100 101 102 103 104 [105] 106 107 108 109 110 ... 309next
2601
N.A.N.Y. 2015 / Re: Program Idea: Configurable application launcher
« Last post by MilesAhead on December 15, 2014, 05:30 AM »
Thank you for your responses, app103 and Milesahead.

I tried BrowserBunch again, but it does not seem to work, so I think I might be doing something wrong. This is what I have tried: After placing BrowserBunch in the Roaming folder on my Windows 7 machine, I used the /setup key to add Chrome, Aurora and IE to the buttons. But, when I click on an URL, it continues to open up in IE, which is my default browser.

I need to keep IE as my default because of the many Intranet pages I visit every working day. However, I prefer Chrome for email and for sites which I expect to later read on a tablet . I use Aurora for a bunch of other sites.

BrowserBunch does not intercept url launch.  You need to use the ahk script I posted.  With that script running, highlight the url then press Control Shift F4 to launch BrowserBunch, then select browser.  You may change the hotkeys but you will need to look in ahk help for the codes.  See the key names section on this page.

Browser Chooser works by making itself the default browser.  I looked into trying that for my program and found that the registry html associations were an undocumented mess.  That's why I did it the other way.  :)
2602
Living Room / Re: stop preview of windows on hover on their taskbar buttons
« Last post by MilesAhead on December 14, 2014, 03:36 PM »
This should do it for both W7 and W8
http://www.sevenforu...-enable-disable.html
2603
Living Room / Re: Movies or films you've seen lately
« Last post by MilesAhead on December 14, 2014, 03:31 PM »
BTW - Am I the only one here who wasn't impressed by Equilibrium?

The plot holes were gaping.  But I enjoyed Christian Bale's intensity.  It was similar to Fahrenheit 451.  F451 was a flick of much higher quality though.  This was kind of like a high tech F451 the way the movie AI was a high tech Pinocchio.
2604
Non-Windows Software / KDE Plasma
« Last post by MilesAhead on December 14, 2014, 08:18 AM »
I have a VM with Debian 7 using KDE Plasma desktop.  I'd love to run a transparent theme like this



but I've been out of Linux since before anyone ran themes that I remember.  :)  I'm a bit clueless.  The desktop is pretty cool wth a wallpaper and themes that are supposed to be transparent.  But the windows only seem to go see through when being dragged.  I installed a couple of themes using the management tool.  But so far I don't see anything as transparent as Aero on Vista or W7.

2605
Living Room / Re: production salt-water pwrd car
« Last post by MilesAhead on December 14, 2014, 08:06 AM »
That's too bad.
There are some designs that run on water, but one inventor was poisoned and his plans confiscated by the govt., and no other breakthroughs have reached the street level market.
Some high school kids came up with a Diesel that got 200mpg, and I guess big industry swooped on them and not another word was heard.
Some guy in Japan keeps promising a water-powered power generator, but so far it's just 'promises promises'.
I guess the 'car of tomorrow' is very aptly named; it's 'always tomorrow'.

The Man in the White Suit with Alec Guinness as the naive wannabe scientist covers the territory in a funny way.  A classic.
2606
N.A.N.Y. 2015 / Re: Program Idea: Configurable application launcher
« Last post by MilesAhead on December 14, 2014, 05:52 AM »
By the way, if 6 browser Buttons aren't enough you can just create another folder and copy the contents of the first BrowserBunch folder.  In LaunchBB.ahk copy the hotkey sections and change them to use a different hotkey to launch from the secondary folder.  To remove a browser from a button just blank out the line after the '=' sign in the .ini file for that button.

Edit:  Another thing to note is that ahk has good mouse "hotkey" support.  Instead of pressing Control Shift F4 to launch with the selection you could change the hotkey to "+MButton" or Shift middle click etc..

See ahk help for hotkey codes.
2607
N.A.N.Y. 2015 / Re: Program Idea: Configurable application launcher
« Last post by MilesAhead on December 13, 2014, 10:37 AM »
Looking through my general purpose hotkey file I see I have done some stuff that may be helpful here.  I used excerpts to make this script.  Just testing briefly it seems to work on Windows 8.0.  It opened urls with chromium and opera through BrowserBunch.

( Note: next paragraph edited to reflect the new hotkeys actually in the script.  The Windows key has been removed as a modifier since it can trigger the Start Screen in Windows 8 and later. )

You can either select a url and hit Control Shift F4 to launch BrowserBunch with the selection as arg, or if in an editor place the caret at the start of the url and press Control Shift F3.  In the latter case the url must be at the end of the line as I just send Shift End to select it.  Note that Control Shift F4 is also useful to open the url in the AddressBar in another browser.  Most browsers can be set to select the address if you click the mouse into the AddressBar.  Once selected press Control Shift F4 and the BrowserBunch Gui should pop up.

Just scraping from any caret position is messy since pressing Control Left or Right stops at periods as well as white space so no easy way to detect where the url ends.  It's pretty easy to click to the start and hit the hotkey.

Add window classes to the EditorGroup section to support more editors and browsers.  Edit the path to BrowserBunch.exe to match the path on your system.  Run the script with ahk or use ahk to compile to exe.  At this point I haven't added a custom icon as I will probably just paste the code into my catch all hotkey script.  But you can add an icon for the tray if you wish.

Note that on Windows Vista and later it may be a good idea to put BrowserBunch.exe in an empty folder not under Program Files since it writes an .ini file to the same folder.  Vista and later don't like this and you may have to take ownership etc..  I find it easier for these types of scripts to put them under a folder I created C:\Utils in a separate folder for each script.  This also helps avoid spaces in file paths etc..


I've named the file LaunchBB.ahk

#SingleInstance force
#NoEnv
#Warn UseUnsetLocal, Off
DetectHiddenWindows, On
SetTitleMatchMode,2
SendMode Input
SetWorkingDir %A_ScriptDir%

; Editors and Browsers to Launch BrowserBunch from
GroupAdd,EditorGroup, ahk_class TFormEditPadLite  ;EditPadLite
GroupAdd,EditorGroup, ahk_class TFormEditPadLite7 ;EditPadLite7
GroupAdd,EditorGroup, ahk_class wxWindowClassNR   ;FBIde
GroupAdd,EditorGroup, ahk_class SciTEWindow       ;Scite
GroupAdd,EditorGroup, ahk_class MAINFBEDIT        ;FBEdit
GroupAdd,EditorGroup, ahk_class Notepad           ;Notepad
GroupAdd,EditorGroup, ahk_class TFormMain         ;TreePad
GroupAdd,EditorGroup, ahk_class Chrome_WidgetWin_0   ;Chromium Browser
GroupAdd,EditorGroup, ahk_class Chrome_WidgetWin_1   ;Chromium 20.x
GroupAdd,EditorGroup, ahk_class MozillaUIWindowClass ;Firefox Browser
GroupAdd,EditorGroup, ahk_class MozillaWindowClass   ;Firefox 4+ Browser
GroupAdd,EditorGroup, ahk_class OperaWindowClass     ;Opera 11
GroupAdd,EditorGroup, BBCeditor ; BBCeditor

 #IfWinActive ahk_Group EditorGroup
 ; Launch BrowserBunch with Selection as arg
^+F4::
  ClipSave := Clipboard
  Clipboard := ""
  Send, ^c
  ClipWait,2
  ; set BrowserBunch path for your system
  Run C:\Utils\BrowserBunch\BrowserBunch.exe %Clipboard%
  Clipboard := ClipSave
  ;MsgBox % Clipboard
return

; Launch BrowserBunch with url
; Note caret must be immediately left
; of the entire url and url must be at the
; end of a line
^+F3::
ClipSave := Clipboard
 Clipboard =
  Send,+{End}
  Sleep,10
  Send,^c
  ClipWait,2
  Send,{Right}
   ; set BrowserBunch path for your system
  Run C:\Utils\BrowserBunch\BrowserBunch.exe %Clipboard%
  Clipboard := ClipSave
return

Let me know if you find a bug.  :)
2608
^ I thought that his sleigh was really just a Tardis and that he delivered presents one-by-one all at the same time.

That's a good way to take early retirement.  Keep time traveling to the same time different place until there are about 1000 instances of yourself doing the job, since they will all go back to the "present" when done.  All except the original you. You go to Tahiti or wherever without anyone the wiser.
2609
Living Room / Suped up Santa's Sleigh
« Last post by MilesAhead on December 12, 2014, 04:30 PM »
No known species of reindeer can fly

I think there's a tendency to get sidetracked by the Clause PR machine.  Of course no being could fly around on a sleigh and physically deliver all the required gifts.  Santa really does it by magic.  When he's ready Santa takes a deep breath and bellows "Ho Ho Ho" and all the stuff is instantaneously zapped to the respective destinations.  He never even gets out of the recliner!   :Thmbsup:
2610
N.A.N.Y. 2015 / Re: Program Idea: Configurable application launcher
« Last post by MilesAhead on December 12, 2014, 10:12 AM »
I dunno'.  You can change the hotkey for Selector to a single key by backspacing to delete the modifier key when the Set Hotkey dialog comes up(Set Hotkey tray menu command.)  This would allow launch with one key such as Pause or Numpad * if not using those.  I guess I should have included mouse hotkeys but I wrote that program in AutoIt3 which has poor mouse support.  Later on I took to making  slave ahk programs to handle the mouse action when a mouse hotkey was needed.

I haven't seen much in the way of scraping a url from any window.  Probably because there are just too many window and dialog types to do it cleanly.

Selector may still be downloaded but I've stopped developing anything longer than a few lines until I get a desktop machine and a desk to put it on.  A Laptop even with a USB external keyboard is just too cumbersome when I can't count on being able to stay at it for anything longer than about a 1/2 hour.  It's just not feasible.

2611
Living Room / Re: We Are the Idiots
« Last post by MilesAhead on December 12, 2014, 09:27 AM »
@SJ - can't say my personal experience with Fords, Buicks, Toyotas, and Nissans over the years syncs with what you're saying. My GF's job puts at least 50k miles on a car each year, and we're both shocked if we don't get at least 250k miles out of whatever we buy before we decide to retire it. But I'm not a mechanic. So if you're correct in your analysis, I guess we've just been far luckier than most car owners.

And if so - Yay! ;D

That's totally within the normal if those are highway miles.  Stop and go around town is much tougher on everything than get on the highway and engage cruise control type driving.   I do have to admit my knowledge of the particulars is dated.  When I was working in the field it was transitioning from the vast majority of cars being rear wheel drive to the transversely mounted engine front wheel drive type.  My last job as a mechanic was in the 1980s sometime.  Once it became obvious I wasn't going to be a new car customer I lost interest in makes modes and features.  I determine the make of automobile by reading it on the car.  :)

But some principles remain the same.

Edit:  As far as longevity the autos I encountered that lasted the longest were Checker Cabs.  Now and then we would get one in for new tires and a front end alignment.  I swear they must need to put notches on the steering wheel to keep track of the odometer wrap around on those things.  I think they were only retired by being totaled in a collision.

2612
(see attachment in previous post)
Teen Tattoos McDonald's Receipt on His Arm, a Week Later Tattoos the Tattoo Receipt on His Other Arm

For some, peer pressure is hard to overcome but I have to agree with the last line -
Apparently "loyal" is Norweigian for "stupid."

I suppose it could have been worse; Barbie doll or jump off a building.   ;D

In the Yakuza flicks it's typical for a gangster to have a tattoo on his back that takes up all the space from waist to shoulders.  Instead of a receipt though I'd like to see a recursive picture of the tattoo artist applying the tattoo of him/her-self applying the tattoo etc..  Like barbershop mirrors.  That would be a challenge.
2613
N.A.N.Y. 2015 / Re: Program Idea: Configurable application launcher
« Last post by MilesAhead on December 12, 2014, 05:44 AM »
Personally, I use ObjectDock for quick-launching applications. Someone would have to compete with that, which wouldn't be a challenge if they could make it actually hide instead of just go into negative coords with auto-hide. Makes multi-monitor setups a real hassle  >:(. Plus, if it's on the side anyway, the mouse will float into the next screen before it un-hides it, so.. Maybe a key-board shortcut to hide it? Of course, AHK could do that with ObjectDock. Hmm..

In this case I think the OP is really interested in a browser picker more than anything.  I don't remember if I ever tried ObjectDock.  I used RocketDock for quite awhile.
2614
Living Room / Re: We Are the Idiots
« Last post by MilesAhead on December 11, 2014, 04:39 PM »
Not to mention the fact that "lean burn" burns up your system by running at high temperatures instead of just tuning the fuel mixture.

If that's the case, why do modern engines perform more reliably and last longer on average than those classic engines? And with far less major repairs?  :huh:

Because they are not Chrysler lean burn engines is my conjecture.  I'm talking about lean burn back in the day.  It ran too hot just because that tended to reduce the escape of raw fuel.  Kill the dog to spite the fleas technology.  :)
2615
N.A.N.Y. 2015 / Re: Program Idea: Configurable application launcher
« Last post by MilesAhead on December 11, 2014, 04:27 PM »
btw once you run BrowserBunch to generate the .ini file you can just paste in the paths to the browsers you wish to use if that's easier han going through the button click initialization.  Also it has a /setup switch to go through the button setup all at once etc..
2616
Living Room / Re: We Are the Idiots
« Last post by MilesAhead on December 11, 2014, 04:11 PM »
Whenever you have a system that needs time and/or money to maintain optimal performance, said maintenance doesn't get done.

I used to do semiannual auto inspections with emissions tests.  An electronic ignition was not required.  Just a clean exhaust.  Distributor maintenance could just as easily have been mandated.  The parts and labor are no more expensive than screwing around with the fuel mixture as was done then.  Usually in minor tune-ups the expensive parts are the plugs.  They didn't need to be changed on every tune-up.  But the shops made their money on them and it was quick work.  Every 2 years new plugs would be more than adequate.

The electronic systems added to cars was a hell of an expense just so the distributor could be ignored, other than setting the base timing, during tune-ups.  You could buy a lot of points, rotors, condensors and labor for one of those Chrysler air cleaner housing computers.  Not to mention the fact that "lean burn" burns up your system by running at high temperatures instead of just tuning the fuel mixture.  It's kind of like amputating the horse's legs to make sure he doesn't break one.
2617
Living Room / Re: We Are the Idiots
« Last post by MilesAhead on December 11, 2014, 04:02 PM »
@MilesAhead: No, I gather that Malathion doesn't really have a sweet enough taste to replace sugar, so sugar is still the favourite.

I wasn't aware sugar kills mosquitoes.  No wonder Fidel has lived so long.
2618
N.A.N.Y. 2015 / Re: Program Idea: Configurable application launcher
« Last post by MilesAhead on December 11, 2014, 03:46 PM »
The bridge that would be required would be something that detects a url in an editor or whatever and calls BrowserBunch with the url as argument.

I think you are making it a little more complicated than it needs to be.

You just need an executable that can be set as the default browser, whose sole purpose is to pop up a panel of options and then pass the URL to the browser chosen by the user.

Set as the default browser, it would pick up anything that isn't a link clicked within an actual browser. It wouldn't even need to be running in the background at all times, as the system would launch it as it passes it the URL as a command line parameter, as needed.

I know.  That's how Browser Chooser worked.  I looked into it and setting the defaults for all the various html related stuff is more complicated than all the rest of it.  I only say use a bridge to call my program because it is already debugged.  I suppose I could add using selected text but then you would either have to select the entire url or I would have to add the logic to my program.  It would be simpler to do a hotkey to get the url and call my program.  Also there's no risk of breaking my code that way.

For some reason Windows users hate it if everything is not in one exe whereas in Linux type OS tools are strung togethr all the time.  I can understand some paranoia like not wanting to install 4 different frameworks or something.  But I would venture a guess there's already a tray program out there somewhere that gets the entire url if you click on any part of it in the active window.

Edit: for example this snippet highlights the word to the left of the caret then sends it to the free dictionary when control-F9 is pressed.  It could be changed to launch BrowserBunch and the URL pretty easily.

^F9::
  Clipboard =
  Send,^{LEFT}^+{RIGHT}
  Sleep,10
  Send,^c
  ClipWait,0
  Selected := Clipboard
  Send,{Right}
  Run,http://www.thefreedictionary.com/%Selected%
return

Edit2:  The above would have to be enhanced to save and restore clipboard contents as well as load a pretty icon in the tray and perhaps an About function.  I'm a very slow coder.  That's a major reason I often suggest directions.  Most have a working prototype by the time I get the editor fired up.  :)

Edir3:  The code above was for looking up words in the dictionary from an edit form in a browser, such as I'm using right now, or some kind of text editor.  If you cannot count on the keys being there to select text via macro then you are back to selecting the entire url with the mouse etc..  Making something that can pull from every type of window gets sticky.
2619
Living Room / Re: We Are the Idiots
« Last post by MilesAhead on December 11, 2014, 12:29 PM »
So what are we using now?  I always thought it was Malathion.  But I don't know where I got that information.

I remember Silent Spring being pushed by teachers in all 4 years of high school.  A big deal was made about automobile emissions which eventually led to computerized ignition systems in cars(as environmental concerns became more general.)  I still don't think the expense was justified.  Of course once the computers are a given you can add on safety features.  But there's no reason a points plugs and condenser ignition can't operate a clean running car.
2620
N.A.N.Y. 2015 / Re: Program Idea: Configurable application launcher
« Last post by MilesAhead on December 11, 2014, 11:54 AM »
I have modified BrowserBunch.exe so that if it is run with the first argument on the command line not ending in ".txt" it will assume it is a url, rather than a text file list of urls,  and will open the BrowserBunch Gui.

The Gui can handle up to 6 Browsers using Buttons.  Clicking on a blank button opens a file open dialog to browse to the executable.  The Browser Button will load the icon from the exe and save the info to an .ini file.

The bridge that would be required would be something that detects a url in an editor or whatever and calls BrowserBunch with the url as argument.

Here's a screen shot of the BrowserBunch Gui with 4 Buttons initialized.

Edit:  I've added a zip with just BrowserBunch.exe that has been modified in case you wish to experiment with it.  It should be run from an empty folder since it will create a file BrowserBunch.ini there and needs to find that file or it may quit with an error.


BrowserBunch.jpg

After a Button is clicked the corresponding browser is run with the url as argument.


I know it seems a bit involuted but I have this mechanism for choosing from several browsers pretty well debugged.  If it seems an acceptable Gui then it may be worth considering using a hotkey for the url detection etc..


Edit2:  Note that the first time the BrowserBunch Gui comes up if it detects no initialized buttons it will offer to load the leftmost button with the default browser.  Just so you expect it.  :)

Edit3:  The BrowserBunch Gui only shows translucent as in the screen shot, on Windows 7 with Glass enabled.


2621
This may be here already... but i think it's worth a repost   ;D

The Greatest Christmas Decoration Ever!
 (see attachment in previous post)

The shirt's the right color but the pants should be green.  :)
2622

Is that a pledge to polish off his problem?  I'm sure he was just paranoid his query wood gather dust.  I mean he doesn't seem like the type to go against the grain.  ;)

I saw what you did there, stud.
Were you board [sic] when you wrote that?

I admit I felt I had to gratuitously stick in that comment.  :)
2623
It's a NO-FLAKE!

How 'bout just a Santa with the old red circle and slash?  I don't get to see much TV but one benefit is the lack of Santa Tracking Updates by the weather person.  ;)
2624
I used to wonder about this myself...

That LOTR Trilogy was by far the best treatment.  But I thought Thorondor got short shrift.  I thi k the eagles got about 13 seconds out of a 13 hour(at least it seemed that long) movie trilogy.

But I guess stuff like that happens if you go having adventures.
2625
Hmm, I'm not using https and it still shows blank space where people are obviously referring to something that should be where the blank line(s) are.

The next obvious question is then: What addons are you using that could cause it?

Have you tried Firefox Safe Mode, (hold down Shift while executing)?

The only thing different is 360 total security.  I turned it off and restarted the browser.  No change.

Edit:  KMeleon and Opera both show the clips.  So it must be a Firefox thing.

Edit2:  Looks like it was FlashBlock.  Even though I added DC to the white list it would not even show a placeholder for the content.  Maybe it's because it's a Nightly.

Sorry for the distraction.  :)


Pages: prev1 ... 100 101 102 103 104 [105] 106 107 108 109 110 ... 309next