topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Thursday May 15, 2025, 12:08 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 ... 164 165 166 167 168 [169] 170 171 172 173 174 ... 222next
4201
General Software Discussion / Re: Shortcut Creator
« Last post by skwire on June 03, 2010, 09:22 AM »
Skwire created an AutoHotkey script that I run in FARR when I want to create a desktop shortcut to avoid right click.

Doh, I forgot I wrote that.  :-[ Apologies for not mentioning it sooner.
4202
General Software Discussion / Re: Per application keyboard remapper?
« Last post by skwire on June 03, 2010, 05:06 AM »
Did you try SendPlay, by chance?
4203
General Software Discussion / Re: Per application keyboard remapper?
« Last post by skwire on June 03, 2010, 04:43 AM »
Try this:

รจ::[
+::]
4204
General Software Discussion / Re: Per application keyboard remapper?
« Last post by skwire on June 03, 2010, 03:40 AM »
If you can't find a dedicated application to do this, it is extremely easy to do using AutoHotkey and the #IfWinActive directive.

http://www.autohotke...nds/_IfWinActive.htm

Code: Autohotkey [Select]
  1. SetTitleModeMatch, 2
  2. #IfWinActive, Notepad
  3. {
  4.     ; Define Notepad-specifc hotkeys here.
  5. }
  6.  
  7. #IfWinActive, FireFox
  8. {
  9.     ; Define Firefox-specifc hotkeys here.
  10. }
  11. ; etc, etc...
4205
Agreed, that's a helluva lot better.  Thanks, ewemoa & mouser.
4206
N.A.N.Y. 2009 / Re: NANY 2009 Release: Trout (audio player)
« Last post by skwire on June 02, 2010, 10:27 AM »
whenever i mute a track to do something (e.g. answer a phone call) the next track will not stay muted. it will revert to normal volume, is this normal? btw, i'm using version 1.0.4 build 28.

Uhhh...that'd be a bug.  =]  I'll fix it in the next push.  Thanks for finding and reporting it.
4207
General Software Discussion / Re: Clipboard Manager with this feature
« Last post by skwire on June 02, 2010, 07:03 AM »
I downloaded and installed it to check for you.  If you choose 'Tools, Quick Options, Import: Automatically import clipboard changes' does that give you the functionality that you want?  If not, my own ClipTrap program might be of use to you.
4208
General Software Discussion / Re: Clipboard Manager with this feature
« Last post by skwire on June 02, 2010, 06:54 AM »
Doesn't UltraRecall have some sort of "automatic clipboard capture" mode that you can turn on?
4209
Is there any way we can adjust the colours used for that AHK highlighter?  I much prefer the colours used for the AutoIt highlighter.
4210
Nice.
4211
Skwire Empire / Re: Libre.fm support request
« Last post by skwire on June 01, 2010, 07:42 AM »
Do you want this in addition to, or instead of last.fm scrobbling?
4212
N.A.N.Y. 2009 / Re: NANY 2009 Release: Trout (audio player)
« Last post by skwire on May 31, 2010, 02:45 PM »
Simply highlight the tracks in question (or all of them) and choose Edit, Selection, Rescan tags.   :D
4213
Announce Your Software/Service/Product / Re: Simple MD5 comparison utility
« Last post by skwire on May 30, 2010, 08:12 AM »
Nicely done.   ;)
4214
N.A.N.Y. 2009 / Re: NANY 2009 Release: Trout (audio player)
« Last post by skwire on May 29, 2010, 06:58 AM »
Can I change the size of play, stop, etc. buttons?

No...

in 'Random' play mode, is it possible to go back to the previous track via the "previous" button? it doesn't do that on my PC..

...and no.  Pessimistic start to the day, huh?
4215
Website | Download
v1.1.1 - 2010-05-28
    + Added coloured icons to the listview that correspond to the image's resolution.
      (Thanks, worstje)
        Green       - 500x500 or greater and square
        Green/Blue  - 500x500 or greater and NOT square
        Yellow      - 400x400 or greater, but less than 500x500, and square
        Yellow/Blue - 400x400 or greater, but less than 500x500, and NOT square
        Orange      - 300x300 or greater, but less than 400x400, and square
        Orange/Blue - 300x300 or greater, but less than 400x400, and NOT square
        Red         - 299x299 or less and square
        Red/Blue    - 299x299 or less and NOT square   
    + Added a "fudge factor" setting that allows for non-perfectly square images to be
      considered square e.g. 500x496.


main.png
4216
yes, that's it - Button1 works fine.
what a nice script. credits on their way...

Ah, great.  Nice to know that Microsoft didn't change up things completely.  Thanks for the credits.

well, I wasnt sure how that was meant to be used but I set it up as a button in Dopus
"F:\Portable\ ...\OpenWiff.exe" {filepath}

That's exactly how it's supposed to be used.  =]

4217
Thanks, daddydave.  nudone, try changing the instances of 'Button2' in my example to 'Button' or 'Button1'.  Man, I really need to get some type of Windows 7 to test with in a VM.
4218
I had thought of mentioning FARR but didnt as the focus here (mine included) was on File managers.
In FARR you would have to search for the file presumably?
or could it recognise what file is selected in File Manager and work from there - that's asking a lot though I suspect :)

I was thinking about using FARR's built-in copy-to-clipboard hotkey function.  Then again, I've never written a FARR plugin so it would definitely take some doing.

Love the name btw  ;-)

Hahaha...thanks.  I'm absolute crap at actually naming programs so I took a cue from an old friend whose name is Keith Smith.  He usually does his email/username as keef.smiff.   :D
4219
thanks for that, skwire. unfortunately it doesn't appear to work.

Could be a Windows 7 thing since it appears to work here.  It could also be that the checkbox under Windows 7 is a different ClassNN than under Windows XP.  It's "Button2" under XP.  Are you able to tell me what it is under Windows 7?  You can use the WindowSpy utility included with a standard AHK install.

would it be simpler to just send alt+a to the dialog?

No, because that would toggle it instead of explicitly setting it to an unchecked state.
4220
if you could add the feature so that "Always use the selected program to open this kind of file" is automatically deselected when the dialog appears - then i'd say that will be near perfection.

I don't know of any way to do that programatically.  That being said, you could write in some more code into your hotkey that waits for the window, checks the state of that box, and sets it accordingly.  Something like this:

Code: AutoIt [Select]
  1. F1::
  2. {
  3.     ClipSave := ClipboardAll ; Save the entire clipboard.
  4.     Clipboard := ""          ; Null out clipboard.
  5.     SendInput, ^c            ; Copy to clipboard (assumed to be a filepath).
  6.  
  7.     ; Small amount of error-handling.
  8.     ClipWait, 2            
  9.     If ( Errorlevel != 0 )
  10.     {
  11.         MsgBox, Clipboard timed out.
  12.         Return
  13.     }
  14.  
  15.     ; Call the 'Open With' dialog and pass in copied path from above.
  16.     Run, C:\tmp\OpenWiff.exe "%Clipboard%"
  17.    
  18.     ; Determine the state of the "Always use the selected program to open
  19.     ; this kind of file" checkbox and uncheck it if it's checked.
  20.     WinWaitActive, Open With
  21.     ControlGet, myState, Checked, , Button2, Open With
  22.     If ( myState = 1 )
  23.     {
  24.         Control, Uncheck, , Button2, Open With
  25.     }
  26.    
  27.     ; Restore the original clipboard and free memory.
  28.     Clipboard := ClipSave
  29.     ClipSave  := ""
  30. }
4221
Developer's Corner / Re: Double quoted command line arguments
« Last post by skwire on May 25, 2010, 02:05 AM »
Agreed.  I've only ever seen straight-up ".
4222
Here you go, OpenWiff (source/binary included): http://skwire.dcmemb.../snacks/OpenWiff.zip

For a sample hotkey in AHK, you could use something like this:

Code: AutoIt [Select]
  1. F1::
  2. {
  3.     ClipSave := ClipboardAll ; Save the entire clipboard.
  4.     Clipboard := ""          ; Null out clipboard.
  5.     SendInput, ^c            ; Copy to clipboard (assumed to be a filepath).
  6.  
  7.     ; Small amount of error-handling.
  8.     ClipWait, 2            
  9.     If ( Errorlevel != 0 )
  10.     {
  11.         MsgBox, Clipboard timed out.
  12.     }
  13.  
  14.     ; Call the 'Open With' dialog and pass in copied path from above.
  15.     Run, C:\tmp\OpenWiff.exe "%Clipboard%"
  16.  
  17.     Clipboard := ClipSave ; Restore the original clipboard.
  18.     ClipSave  := ""       ; Free memory.
  19. }

Regarding anything custom, I'm wondering if it might be well-suited as a FARR plugin.  Do you use FARR?
4223
Making the default 'Open With' dialog callable as an executable is a piece of cake.  Honestly, it's one line of code.  I can't modify that 'Open With' dialog so all the custom stuff you want would entail writing something completely from scratch.
4224
I'm a bit lost there - I suppose it could probably be done fairly easily with dopus - but if someone is using Explorer?

I dont see having it running all the time a problem.
- When you say "there is no one good way to get a filename/path so that's why I like to leave it up to the user (and their computer)" do you suspect it wont work for a lot of people; and / or that it would mean it very awkward to code ?

Well, that's the thing.  People use all sorts of file managers so about the only way to make this universal would be to use the clipboard.  However, some people don't like applications that screw with the clipboard so that's why I wanted to leave this open-ended and let the user handle getting the filepath to the executable.  The actual code to bring up the Open With dialog is easy:

rundll32.exe shell32.dll, OpenAs_RunDLL <filepath>

If I leave it up to the user, they can use the application is any number of applications or scripts.  If I tie it down to one specific way of getting the filepath, its usability is lessened.  Make sense?
4225
This is easily done.  However, some thoughts as to how to implement it:

1) As an executable that you can pass a filename to.  The user will have to determine how to get and pass the filename.
2) As a slightly more complete application that includes a hotkey and path-getting capabilities.  For this, though, the utility will need to stay running.  Also, there is no one good way to get a filename/path so that's why I like to leave it up to the user (and their computer).

Your thoughts?
Pages: prev1 ... 164 165 166 167 168 [169] 170 171 172 173 174 ... 222next