topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Wednesday November 12, 2025, 5:19 pm
  • 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 ... 231 232 233 234 235 [236] 237 238 239 240 241 ... 309next
5876
Found Deals and Discounts / Re: New MakeMKV beta
« Last post by MilesAhead on July 27, 2010, 05:38 PM »
I tried this latest version on a couple of my conventional DVDs.  Worked very smoothly.  I could pull out the main movie with the subtitle track and audio I wanted very easily.

As a bonus it turns out my WD set top box will display the VobSub streams in an .mkv file.
5877
I just added a few lines to restrict the windows to a group of editors using the class names.

edit: added Chrome and Firefox browsers to the window group

GroupAdd,EditorGroup, ahk_class TFormEditPadLite  ;EditPadLite
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   ;Chrome Browser
GroupAdd,EditorGroup, ahk_class MozillaUIWindowClass ;Firefox Browser

Loop
{
    Key_3 := Key_2, Key_2 := Key_1
    Input, Key_1, V I L1
}
Return

#IfWinActive, ahk_group EditorGroup
^t::
{
    SendInput, {Backspace 2}
    SendInput, % Key_2 . Key_3
}
Return
5878
Thanks for the macro and ahk code. :)

edit: thanks skwire.  Tried it in EditPadLite and it worked.  :)
5879
General Software Discussion / Re: GlassPrompt 1.1
« Last post by MilesAhead on July 25, 2010, 04:43 PM »
That's kinda cute, how does it work? I assume it's some new Vista+ API that has to do with dwm? :)

Yes, it's OSMajor 6.0 minimum.

Some guys have been messing with Blur Behind effect on a prompt for awhile on AutoIt3 forum.  It uses DwmIsCompositionEnabled to check if Glass is enabled and DwmEnableBlurBehindWindow to enable the blur effect.  Unfortunately it only looks good when the background is black.  Which makes it work well with prompts as most people don't bother to change the background color and the text reverts to white.

If you just enable Glass or blur on a program window, all the controls are zapped and you can't read the text in buttons.  That's why in my programs like Selector and ReOpen I just use the thick glass border. There's some stuff on Code Project how to draw text and stuff on glass but it's a royal pain.

Here's the functions in FreeBASIC. There may be neater ways to do it. I did these functions before I found all the WinAPI stuff included with the compiler.  But it works. :)


'' MilesAhead.bas - reusable function library for Windows
#include once "windows.bi"
#Include once "vbcompat.bi"
#include once "win/shellapi.bi"

'returns non 0 if Glass enabled on system
Function GlassEnabled() As Integer
  
  Dim As HMODULE hModule
  hModule = LoadLibrary( "dwmapi.dll" )
  If hModule = 0 Then Return 0
  
  Dim DwmIsCompositionEnabled As Function(pfEnabled As Integer Ptr) As HRESULT  
  Dim enabled As Integer = 0
  
  DwmIsCompositionEnabled = GetProcAddress(hModule,"DwmIsCompositionEnabled")
  If DwmIsCompositionEnabled = 0 Then
    FreeLibrary(hModule)
    Return 0
  End If
  
  DwmIsCompositionEnabled(@enabled)
  FreeLibrary(hModule)
  Return enabled
End Function

Function EnableBlurBehind( hw As hwnd ) As Integer
  If GlassEnabled() = 0 Then Return 0
  Type BlurStruct
    dwFlags As DWORD
    fEnable As BOOL
    hRgnBlur As HRGN
    fTransitionOnMaximized As BOOL
  End Type
  
  Dim bStruct As BlurStruct
  bStruct.dwFlags = 1
  bStruct.fEnable = 1
  bStruct.hRgnBlur = Cast(HRGN,hw)
  bStruct.fTransitionOnMaximized = Cast(BOOL,1)
  
  Dim As HMODULE hModule
  hModule = LoadLibrary( "dwmapi.dll" )
  If hModule = 0 Then Return 0
  Dim DwmEnableBlurBehindWindow As Function(hWnd As HWND, bs As BlurStruct Ptr) As HRESULT
  DwmEnableBlurBehindWindow = GetProcAddress(hModule,"DwmEnableBlurBehindWindow")
  If DwmEnableBlurBehindWindow = 0 Then
    FreeLibrary(hModule)
    Return 0
  End If
  Dim As HRESULT result = 0
  result = DwmEnableBlurBehindWindow(Cast(hwnd,hw),@bStruct)
  FreeLibrary(hModule)
  If result = 0 Then
    Return 1
  Else
    Return 0
  End If
End Function

5880
General Software Discussion / Re: UltraSearch: a competitor to Everything?
« Last post by MilesAhead on July 25, 2010, 03:58 PM »
I see what wuz up.  Everything default cache sizes are only 4 MB.  Changing to 0 makes them unlimited.  Now I shouldn't have to adjust 'em anymore.

That's the trouble with hotkey things. Even if you no longer run the program, you find yourself reflexively hitting the combination when you want to do the function. I had to put Everything back. Now I know it has an unlimited cache setting it should be fine. I always liked it. Ultra Search doesn't have to run in the background anyway. It's still there if I want to use it.

5881
General Software Discussion / Re: GlassPrompt 1.1
« Last post by MilesAhead on July 25, 2010, 02:19 PM »
GlassPrompt 1.1  Smoothed the application of the blur effect.  Now sets prompt caption directly instead of using Windows Start command.

Now when the window becomes visible the blur is already applied. No more starting with black background, then changing color. Also by setting the caption directly using a WinAPI call, there's no longer a prompt launched just to use Windows Start command.  Looks a lot nice coming up now.

Of course if you have XP it will just show the ordinary prompt.  No sense running it unless you have Vista or later OS with Glass enabled.
5882
Yeah, but then I'd have to decide if I should pass it through or eat the key.  Control T is a pretty common hotkey that's likely to do something else in an editor. I don't know why more editors don't have transpose.  Doesn't anyone touch type?

edit: plus I think the method would end up being pretty sloppy.  Send keys, copy to clipboard, etc.. which is likely to interfere with the clipboard likely to be in use by the editor. It would be smoother all around if the function was built in.

5883
Subject line says it.  I'm looking for a Free Windows Text Editor that transposes last 2 characters typed on Control-t ??  XEmacs is the only one I seem to remember that does it on Windows.  But I don't want to suffer through the rest of the learning curve.

Failing that maybe one where you can add a hotkey and custom command easily?
That's the most common typo for me and I can't believe it's not a standard feature like deleting a line.

edit: I know the editor in Visual Studio 2008 does it, but I don't want to wait 3 minutes for it to open.  Looking for something like EditPad Lite or NotePad++ but with Control-t transpose function.
5884
General Software Discussion / Re: UltraSearch: a competitor to Everything?
« Last post by MilesAhead on July 22, 2010, 02:56 PM »
I just ran across this today on Addictive Tips. I like that it doesn't need to run in the background. One thing I noticed with Everything, I would get results that didn't show new files I knew were on the system.  Then I'd have to manually bump up memory usage. I didn't get any indication from the app that it needed more ram.  I just noticed after awhile something wasn't right.

This seems a bit slower, which is expected since it's not running in background. One thing I like is it will work with my Selector program.  If I select a file in Explorer, or highlight text in an editor, or copy text to the clipboard, then launch UltraSearch via Selector, it comes up with the selection as search term. I like the simple design.  The programmer wasted time creating htmlhelp .chm file when you really don't need it with this.  But it is nice to see a freeware that comes with some kind of help file.

I've just put it on both Windows Seven and Vista machines and turned off Everything.  I'll see how it goes.
5885
Finished Programs / Re: autohotkey - reload script on screen number change
« Last post by MilesAhead on July 22, 2010, 01:38 PM »
oh, nice tip.

i really wish i could do more with ahk myself.

It can be frustrating sometimes with the different languages. ahk is great for mouse hotkey especially.  I've just started playing around with FreeBASIC. It produces tiny stand-alone exes since I guess it gets translated into assembly code and assembled.  Stuff is there for a lot of Windows API calls like ShellExecute and that type of thing, but using an ActiveX the only way is a 3rd party user library. It's not as smooth as AutoIt3 or Python for creating an ax object.  But for quickie command line stuff it's cool. It's freaky to compile a program and see the exe < 10 KB. It's been ages since I did anything with Basic.



5886
General Software Discussion / Re: Strange Google Chrome Problem
« Last post by MilesAhead on July 22, 2010, 01:30 PM »
I have Chrome version 5.0.375.99.

I used to be getting the betas, but then I decided to try out the Dev for Chrome 6.0 previews and it was all messed up so I went back to the normal "stable" releases.

The dev channel has been running pretty smoothly for me.  It might be worth a try.  Just see if all the badness goes away. I think if you do a restore point(if you use them) in case of disaster, it should set you back up on the stable channel without having to do any settings.
5887
Finished Programs / Re: autohotkey - reload script on screen number change
« Last post by MilesAhead on July 21, 2010, 07:26 PM »
I've just had a quick look at the doc's and it appears that the switching is done via hotkey (I'm also assuming that what you're doing is disabling/enabling your 'secondary'monitors)

this being the case you can simply add the same hotkey to your AHK script (DialogMove?) that sends the hotkey AND reloads the script, eg

    ^!F12::
    send ^!F12
    reload
    return

    +^!F12::
    send +^!F12
    reload
    return

you'll need ot check the syntax of the send command (I rarely use it so I always need to work it out each time...)

the returns are redundant in this case but it looks wrong to leave them out :huh:





Instead of catching a hotkey, then resending, try prefixing the hotkey with '~'
It won't "eat" the hotkey in that case. Should look like:

~+^!F12::
yadda yadda
Return


5888
General Software Discussion / Re: Strange Google Chrome Problem
« Last post by MilesAhead on July 21, 2010, 07:15 PM »
@Deozaan do you have updates set as automatic?  Maybe Chrome browser updated to a version with a bug.  I'm using the Development channel.  I did get one version with some funky, so I turned off automatic update and installed an older version until the next update came out.  On development channel it's been ok since then. I'm using 6.0.466.0

(Funny but when I just checked the number, it tells me there's a new one! Oh oh!!)

edit: now I have 6.0.472.0 :)
5889
General Software Discussion / Re: Strange Google Chrome Problem
« Last post by MilesAhead on July 21, 2010, 04:20 PM »
@rgdot what OS do you use?

Generally these sites are pretty good for the respective OS:

for XP

http://www.bleepingc.../forums/forum56.html

Vista

http://www.vistax64.com/

Seven

http://www.sevenforums.com/

and for W8  ;)

http://www.eightforums.com/

edit: the Vista and Windows Seven forums both have a subforum for "browser and email" problems where you could ask about Chrome issues.

btw if the guy on the Chrome site hassles you, just tell him the reason you hate Chrome is it doesn't have a plugin that does what xxxyyyzzz in Firefox does.  That pisses them off big time!! :)
5890
General Software Discussion / Re: Strange Google Chrome Problem
« Last post by MilesAhead on July 21, 2010, 04:14 PM »
Thanks! I found someone else having the same problem and the solution!

http://www.chromeplu...-web-pages-9878.html

I had recently installed a download manager called Internet Download Manager which I hated so much that I uninstalled it already anyway, but it was the culprit!

I tried IDM for awhile myself.  I ended up going back to Free Download Manager after using GigaGet for a long time.  I have to manually drag the download link onto the target, but it runs full speed and works with just about everything as long as the download link is a direct link.

I liked GigaGet but it's too annoying. If I update anything in Firefox and it's not running, I end up having to reinstall.  It's no longer developed in an English language version.  No chance of an update.

5891
Found Deals and Discounts / Re: New MakeMKV beta
« Last post by MilesAhead on July 21, 2010, 04:11 PM »
MakeMKV 1.58 beta has been released.  For some reason videohelp.com gets updated before the MakeMKV forum:

http://www.videohelp.com/tools/MakeMKV
5892
General Software Discussion / Re: Strange Google Chrome Problem
« Last post by MilesAhead on July 20, 2010, 09:27 PM »
The only time I noticed anything similar is when I try to look at a pad file on my site. It's jumbled text like that. I don't know what causes it.  You might find something here:

http://www.chromeplugins.org/google/

5893
Living Room / Re: What the heck has happened to Google search?
« Last post by MilesAhead on July 20, 2010, 05:25 PM »
@clif_notes I'm liking scroogle already!!  It's weird to see a results page without all the clutter. :)

5894
Living Room / Re: Send me on a click adventure
« Last post by MilesAhead on July 19, 2010, 09:45 PM »
I don't know if you're into Asian Cinema, but this blog is a bit different:

Ninja Dixon

He does seem to have some foul-mouthed critics though. If you read the user comments you might want to wear a splash guard.  But some of the feedback is so hostile it's hilarious.

Oh, and he does discuss Asian Films when not engaging in encomiums about his cat.


5895
Post New Requests Here / Re: I Need, I Pay
« Last post by MilesAhead on July 19, 2010, 08:38 PM »
You can get some of this effect using Firefox Search Sidebar, but you'd need to come up with a mechanism to glean info from the result tabs.
5896
General Software Discussion / GlassPrompt 1.1
« Last post by MilesAhead on July 19, 2010, 04:50 PM »
GlassPrompt 1.0 This should be the first and last version as it's pretty simple.

The effect is the same as my PromptHere utility, which is to open a command prompt with a "blur behind" effect. The difference is this just opens to the current directory.  To have it open to a directory other than where the program is located, make a shortcut and use the "Start in" field.

The reason I wrote this is because I started playing around with FreeBASIC compiler. I noticed the compiled executables were tiny. Even with an icon and file version resources in the .exe it comes in at only 23 KB. It's just a toy.

To get the blur effect the system must be either Vista or Windows Seven with Glass enabled. On XP you'll just get an ordinary command prompt but with "GlassPrompt" in the caption.

You can download here:

http://www.favessoft.com/downloads.html

edit: I fixed a bug which caused orphaned hidden command prompts.  The current download on my site has the fixed version.  To be certain, right click GlassPrompt.exe and look in Properties, Details. The fixed version will show file version 1.0.0.1.

Or you can just look in task manager. If 2 cmd.exe instances are added in TM every time you run it, instead of one, it's the broken version. :)



5897
Living Room / Re: Send me on a click adventure
« Last post by MilesAhead on July 19, 2010, 04:42 PM »

Sorry. My response wasn't meant to be helpful. It was just me being confused by MilesAhead's recommendation of Kierkegard as someone off the beaten path who people don't know about.

I guess Dietrich ain't gonna' invite me to no parties impersonating philosophers pulled out of a hat.  Damn!!  Most people know Aristotle because he starts with 'A' :)
5898
Another release today:

http://forum.doom9.o...wthread.php?t=143716

edit: I did a run complete with burned in subs and it completed fine.
Seems like a keeper. :)
5899
Just about any film associated with this guy is weird:

http://wiki.d-addicts.com/Beat_Takeshi

Sonatine, Hana-bi and A Scene at the Sea are interesting.  And of course Battle Royale.. many others.
5900
The Prince of Pennsylvania.

...

Wow!! That's a strange one alright.  Seems like ever since Woodstock, focusing on the Port-O-San is, er, stock footage, for flicks.  Strange.  :)
Pages: prev1 ... 231 232 233 234 235 [236] 237 238 239 240 241 ... 309next