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 27, 2025, 7:45 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 ... 157 158 159 160 161 [162] 163 164 165 166 167 ... 222next
4026
Finished Programs / Re: Skinny Paste
« Last post by skwire on August 15, 2010, 01:36 PM »
Here you go (source/binary included):  SkinnyPaste

Create a clips.txt file in the same folder as the SkinnyPaste executable and then run SkinnyPaste.exe.  Put one clip per line in this format: <menu caption>|<clip text>

My email|[email protected]
Homepage|http://www.pulphero.com

If you make changes to the clips.txt file, simply right-click the tray icon and choose reload.  Currently, you can only have single line clips but you can have as many as you would like i.e. more than ten.  At this point, I just wanted to see if this is what you had in mind.

Here's the code for the folks that don't want to download the zip.

Code: Autohotkey [Select]
  1.  
  2. ; Read clips.txt file into a variable.
  3. FileRead, myClips, % A_ScriptDir . "\clips.txt"
  4.  
  5. Loop, Parse, myClips, `n, `r
  6. {
  7.     If ( A_LoopField != "" )
  8.     {
  9.         ; Extract menu entry text before the first pipe character.
  10.         MenuEntry := SubStr( A_LoopField, 1, InStr( A_LoopField, "|" ) - 1 )
  11.        
  12.         ; Build the menu using the extracted text.
  13.         Menu, ClipMenu, Add, % MenuEntry, OnClipMenu
  14.     }
  15. }
  16. Return ; End of auto-execute section.
  17.  
  18.  
  19. OnClipMenu:
  20. {
  21.     Loop, Parse, myClips, `n, `r
  22.     {
  23.         If ( A_LoopField != "" )
  24.         {
  25.             If ( A_Index = A_ThisMenuItemPos )
  26.             {
  27.                 ; Extract all text from the first pipe character to the end of the string.
  28.                 Clip := SubStr( A_LoopField, -( StrLen( A_LoopField ) - InStr( A_LoopField, "|" ) - 1 ) )
  29.                
  30.                 ; Activate the window that active when the clip menu was instantiated.
  31.                 WinActivate, % "ahk_id " . activeID
  32.                 WinWaitActive, % "ahk_id " . activeID
  33.                
  34.                 ; Saved previous clipboard contents.        
  35.                 SavedClip := ClipboardAll
  36.                
  37.                 ; Put extracted clip contents on the clipboard and give it a second.
  38.                 Clipboard := Clip
  39.                 ClipWait, 1
  40.                
  41.                 ; Paste clip contents.
  42.                 SendInput, ^v
  43.                
  44.                 ; Restore saved clipboard contents.
  45.                 Clipboard := SavedClip
  46.             }
  47.         }
  48.     }
  49. }
  50. Return
  51.  
  52.  
  53. ^+q:: ; Change hotkey to suit.
  54. {
  55.     ; Get the ID of the active window.
  56.     WinGet, activeID, ID, A
  57.    
  58.     ; Show the clip menu.
  59.     Menu, ClipMenu, Show
  60. }
  61. Return
4027
Post New Requests Here / Re: IDEA: right-click to display geotagged image on map
« Last post by skwire on August 15, 2010, 01:02 PM »
Great idea, and I'd love this utility to work for me, but its operation at present is inconsistent.

Thanks for the feedback.  I have the lat/lon issue fixed but I'm still working on the other one.
4028
Finished Programs / Re: Chorded shortcuts for RSI prevention
« Last post by skwire on August 15, 2010, 12:50 PM »
By chance, have you checked out FARR by our very own mouser?  To do a Wikipedia search, I do this:

1) Press the Pause key to invoke FARR.
2) Type:  wiki <search term>
3) Press the Enter key.

Would a routine like that suffice?
4029
Finished Programs / Re: Skinny Paste
« Last post by skwire on August 15, 2010, 12:32 PM »
@pulphero: Any particular hotkey you would like to use?
4030
Finished Programs / Re: Skinny Paste
« Last post by skwire on August 15, 2010, 08:06 AM »
A hotkey-enabled pop-up with a plain text list of 10 short phrases (could be URLs, could be single words, could be sentences). Click the phrase and it pastes as plain text into the active application. That's it! Nothing fancy. As lightweight as possible, too.

Can each of your ten entries be contained on one line or do you envision multiline entries i.e. an entry with a carriage return?
4031
DC Gamer Club / Re: Worms Reloaded on Steam on Aug 26, 2010 - multiplayer dc
« Last post by skwire on August 14, 2010, 11:41 AM »
Send the credits to me and I'll take care of it.
4032
DC Gamer Club / Re: Worms Reloaded on Steam on Aug 26, 2010 - multiplayer dc
« Last post by skwire on August 14, 2010, 08:22 AM »
I kicked in twenty as well.
4033
DC Gamer Club / Re: Worms Reloaded on Steam on Aug 26, 2010 - multiplayer dc
« Last post by skwire on August 13, 2010, 05:56 PM »
How did you want to do this, Deo?  I can send you fifteen DC credits and, when we have two more pony up, you can buy the four-license pack and gift the copies to us.  Is that what you had in mind?
4034
DC Gamer Club / Re: Worms Reloaded on Steam on Aug 26, 2010 - multiplayer dc
« Last post by skwire on August 13, 2010, 03:12 PM »
And back to Worms Reloaded: Anyone want to go in on the 4-pack together? That will make it $15 each person.

I will.  As an aside, I own Worms for the Sega Saturn, too.
4035
Finished Programs / Re: Finished Coding Snack: Organize Text
« Last post by skwire on August 13, 2010, 02:25 PM »
You're welcome.  I'm glad you find it useful.
4036
Post New Requests Here / Re: Make script work only on specific apps?
« Last post by skwire on August 13, 2010, 10:37 AM »
You can shorten it up a bit by using groups.

Code: Autohotkey [Select]
  1.  
  2. GroupAdd, Alt_F4_Group, ahk_class TForm
  3. GroupAdd, Alt_F4_Group, ahk_class TfrmStarter
  4. GroupAdd, Alt_F4_Group, ahk_class AkelPad4
  5. GroupAdd, Alt_F4_Group, ahk_class mp3DCWndClass
  6. GroupAdd, Alt_F4_Group, ahk_class Postbox
  7. GroupAdd, Alt_F4_Group, ahk_class XmainClass
  8.  
  9. #ifwinactive ahk_group Alt_F4_Group
  10. ~MButton::
  11. Send !{F4}
  12. Return
4037
Post New Requests Here / Re: Make script work only on specific apps?
« Last post by skwire on August 12, 2010, 08:30 PM »
Take a look at the #IfWinActive directive in AHK:

http://www.autohotke...nds/_IfWinActive.htm
4039
Finished Programs / Re: Extract executables From Multiple Folders
« Last post by skwire on August 10, 2010, 03:20 AM »
You're welcome.  Glad I could help out.
4040
Finished Programs / Re: Extract executables From Multiple Folders
« Last post by skwire on August 10, 2010, 02:33 AM »
Extract?  Did you simply want a list of executables within these folders?
4042
Post New Requests Here / Re: IDEA: right-click to display geotagged image on map
« Last post by skwire on August 09, 2010, 09:01 AM »
gtoal, can we call this one done after the latest changes?
4043
From what I recall from some #ahk IRC conversations a while back, the original poster is calling this function four times per second.  Also, the file to be retrieved is over a network and not a local file.  strictlyfocused02, please correct me if I'm wrong.
4044
Finished Programs / Re: DONE: Group files from within folders
« Last post by skwire on August 09, 2010, 07:52 AM »
Thanks for the review, rgdot, I appreciate it.   :D
4045
General Software Discussion / Re: Question about AutoHotkey scripting
« Last post by skwire on August 09, 2010, 07:51 AM »
Do as OkRob suggested and use a hotstring:

Code: Autohotkey [Select]
  1. :*?:kj::
  2. {
  3.     SendInput, ^!{F4}
  4. }
  5. Return
4046
General Software Discussion / Re: DRM Management
« Last post by skwire on August 06, 2010, 11:47 AM »
One caveat:

You can use this to find audio tracks that have DRM on them since they will fail when the BASS audio engine tries to initialise them.  However, TrackErr CANNOT KNOW if you have a valid DRM license for said files (or if that is even the reason a file couldn't initialise).  All TrackErr can do is let you know if a track couldn't be played like a normal file.  It is UP TO YOU to determine if the errored tracks should be deleted.
4047
General Software Discussion / Re: DRM Management
« Last post by skwire on August 06, 2010, 10:36 AM »
Website | Download

Give TrackErr a try, please.

1) Load the list via the toolbar buttons or via drag-n-drop.
2) Click the Scan button and wait until it's done.
3) Tracks with a red icon could not be initialised properly.
4) You can highlight them and click the Delete button to send them to the Recycle Bin.

main.png
4048
Post New Requests Here / Re: IDEA: right-click to display geotagged image on map
« Last post by skwire on August 05, 2010, 11:56 PM »
Before I start my report, I need to explain that I missed the automatic notification that you had posted on the 3rd, and only spotted your post with the download this morning when I was checking up on the site to see what was new.  My apologies, it must have looked rude not to reply for a couple of days after you released the program.

No worries.  I just figure folks get busy with other stuff.   :D

So... for me it worked great, exactly what I asked for and I'm delighted with the results.  Unfortunately it's my wife who has the most geotagged photos and there was a problem when she tried it.  Running the exe to register and create the uninstaller didn't work - both dialogues popped up fine and it appeared to work, but the uninstaller wasn't created and there was no handler added to the right-clicks.  We're guessing it's because she's running 64bit Windows 7 - either a 64 bit issue or something to do with Windows 7 security and that she was trying to run it in a Program Files subdirectory.  (I'll experiment more with that tomorrow when I can borrow her machine for more than a few minutes...)

Under Vista/Win7, users will almost certainly have to run this in administrator mode.

That was the only failure; there were also two usability issues that are very minor, one of which I've already mentioned so I'll gloss over (which is that the option shows up for all files, not just image files.  But I appreciate that writing something like the setup of photoshop where you get a chance to associate the program with various extensions is way overkill, although personally I'ld be happy it if were only associated with jpegs as those are the only ones I'm ever likely to tag); the other usability issue is very minor indeed: the report for an image with no exif info is "No exif data found in file. Aborting".  To me it's more a null success than an error - saying 'Aborting' sounds like something is going wrong in a more serious way.  I would just have it say "Image does not contain map coordinates".

I've changed the error messages to your suggestion.  Please re-download.

So overall, very good piece of code.  It'll come in very handy for me when I copy our family photo collection from my wife's machine to mine this weekend.
Thank you,

You're welcome.  This was unique one to write.  I may package this up and release on my regular Skwire Empire site.  Thanks for the idea.
4049
Circle Dock / Re: Return of Funds donated to the Touchscreen project.
« Last post by skwire on August 05, 2010, 12:07 PM »
Please keep my donation.  You two have more than earned it.   :D
4050
Finished Programs / Re: IDEA: File/Folder Deleter Based on Text File
« Last post by skwire on August 04, 2010, 11:54 PM »
You're welcome.  Happy to help.   :D
Pages: prev1 ... 157 158 159 160 161 [162] 163 164 165 166 167 ... 222next