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, 3:42 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 ... 103 104 105 106 107 [108] 109 110 111 112 113 ... 222next
2676
N.A.N.Y. 2012 / Re: FINAL: The Official WriteUp for the NANY 2012 Event!
« Last post by skwire on January 10, 2012, 12:26 PM »
I'd like to acknowledge and thank Skwire for doing his own screencasts for his three entries.

Happy to help.  :D  Besides, I think mouser would have paid me a visit and kicked my arse if I didn't.   :P
2677
Adventures of Baby Cody / Re: United States of America visit 2
« Last post by skwire on January 10, 2012, 11:13 AM »
Baby Cody spent the holidays with y0himba.   :)
2678
N.A.N.Y. 2012 / Re: NANY 2012 Mugs, etc. -- All participants please read in
« Last post by skwire on January 06, 2012, 12:44 PM »
I'm partial to "cohort" or "co-conspirator."   :D
2679
N.A.N.Y. 2012 / Re: NANY 2012 Mugs, etc. -- All participants please read in
« Last post by skwire on January 05, 2012, 08:12 AM »
I know the participants in NANY 2012 really did work a lot, but that mug is implying that they didn't leave their computer since 31/dec/2010 until 1/jan/2012 ;)

Maybe some of us haven't.   :P
2680
Finished Programs / Re: IDEA: Maximize Button Remover
« Last post by skwire on January 04, 2012, 01:34 PM »
Anytime you're messing around with window buttons and system menus, you're bound to come against stuff like this.
2681
Finished Programs / Re: IDEA: Maximize Button Remover
« Last post by skwire on January 04, 2012, 12:44 PM »
I still run XP.
2682
General Software Discussion / Re: send email after some delay
« Last post by skwire on January 03, 2012, 02:05 PM »
2684
Finished Programs / Re: IDEA: delete certain filetypes from fav folder
« Last post by skwire on January 03, 2012, 10:59 AM »
If the path has spaces, be sure to double-quote them like this:

del /S /F "c:\path\to\my\folder\*.wma"
del /S /F "c:\path\to\my\folder\*.m3u"
del /S /F "c:\path\to\my\folder\*.tunebite"
2685
Finished Programs / Re: IDEA: delete certain filetypes from fav folder
« Last post by skwire on January 03, 2012, 09:34 AM »
Just use a batch file like this:

Code: Text [Select]
  1. del /S /F c:\path\to\my\folder\*.wma
  2. del /S /F c:\path\to\my\folder\*.m3u
  3. del /S /F c:\path\to\my\folder\*.tunebite
2687
N.A.N.Y. 2009 / Re: NANY 2009 Release: Trout (audio player)
« Last post by skwire on January 01, 2012, 12:30 AM »
I'm afraid the Channels and ModDate columns don't work under 9x - nothing is displayed. And the sample rate is still broken.

Sample rate and Channels columns use the AudioGenie3 DLL so Win9x support is out for those.  I'll try to look into the ModDate column for Win9x.
2688
N.A.N.Y. 2009 / Re: NANY 2009 Release: Trout (audio player)
« Last post by skwire on December 31, 2011, 09:26 PM »
Website | Installer | Portable
v1.0.6 build 61 - 2011-12-31
    + Added "Channels" column.  (Thanks, Steve)
    + Added file modification date column (ModDate).  (Thanks, Derek G.)
    ! Sample rate wasn't always retrieved properly.
2689
I simplified a few things where you were duplicating a lot of code when using the whole alphabet.  You'll see what I mean.  Also, I tried to clean up and indent your code a bit.  I'm not a fan of including labels/functions within other labels/functions so, if you would like, I can clean it up much further than this.  Here you go:

Code: Autohotkey [Select]
  1. FileSelectFolder, Letter,::{20d04fe0-3aea-1069-a2d8-08002b30309d}, 0,Just Select Your Drive
  2. SplitPath,Letter,,,,,Letter ;If user select a full path instead of a Drive
  3. Letter=%Letter%\
  4.  
  5. LV_Modify(0, "-Select")
  6.  
  7. TreeViewWidth := 385
  8. ; Create an ImageList and put some standard system icons into it:
  9. ImageListID := IL_Create(5)
  10. Loop 5  ; Below omits the DLL's path so that it works on Windows 9x too:
  11.     IL_Add(ImageListID, "shell32.dll", A_Index)
  12. Width=413
  13. tBarHeight=20.5
  14. Title=Selecione el Folder :
  15. Gui, 2:+Caption +0x400000
  16. Gui, 2:font,s10, Verdana
  17. ;---------------------------------------------------------- Title Bar & Caption Text
  18. Gui, 2:Font, S10 Bold, Verdana
  19. ;----------------------------------------------------------- Minimize / Close Icons
  20. Cl_IconPos:=395
  21. Gui, 2:Color,E9E9E9
  22. Gui, 2:Font,s8 q5, Verdana
  23. Loop, 26
  24. {
  25.     Gui, 2:Add, Button,% "w14 x+1 v" . Chr( 64 + A_Index ), % Chr( 64 + A_Index )
  26. }
  27. ; Create a TreeView and a ListView side-by-side to behave like Windows Explorer:
  28. Gui, 2:Add, TreeView, vMyTree x15 r20 w%TreeViewWidth% gMyTreeLabel ImageList%ImageListID%
  29. SB_SetParts(60, 85)  ; Create three parts in the bar (the third part fills all the remaining width).
  30. WinSet, AlwaysOnTop, OFF, ahk_id %SEWIN_ID%
  31. Gui, 2:Show, w415, Seleccione el Folder :
  32. GuiNum=2
  33. {
  34.     IfWinActive, Seleccione el Folder :
  35.     {
  36.         SEWIN_ID:=WinExist("A")
  37.         WinGet, ExStyle, ExStyle, ahk_id %SEWIN_ID%
  38.         Break
  39.     }
  40.     Return
  41.  
  42. Fill:
  43.    Loop, 26
  44.     {
  45.         GuiControl, Disable, % Chr( 64 + A_Index )
  46.     }
  47.     FileDelete, %A_Temp%\PathsList.ini
  48.     Loop %Letter%\*.*, 2
  49.     {
  50.         FileAppend, %A_LoopFileName%`n,%A_Temp%\PhList.txt,UTF-8
  51.     }
  52.     MsgBox, 4096,,I created a txt document named "PhList.txt", this is the content...
  53.     MsgBox, 4096,,That txt document is the content on "%Letter%"
  54.     RunWait, %A_Temp%\PhList.txt
  55.     SplashTextOn, 200, 25, Cargando, Espere un momento..
  56.     Loop
  57.     {
  58.         FileReadLine, TempFlderName, %A_Temp%\PhList.txt, %A_Index%
  59.         If ErrorLevel
  60.         {
  61.             FileDelete, %A_Temp%\PhList.txt
  62.             Break
  63.         }
  64.         StringLeft, FirstLetterOrNumber, TempFlderName, 1
  65.  
  66.         If FirstLetterOrNumber=%FilterLetterOrNumber%
  67.         {
  68.             SplashTextOn, 200, 25, Cargando, Espere un momento..
  69.             FileAppend,
  70.             (
  71. %Letter%%TempFlderName%`n
  72.             ),%A_Temp%\PathList.txt,UTF-8
  73.         }
  74.     }
  75.     IfExist, %A_Temp%\PathList.txt
  76.     {
  77.         MsgBox, 4096,,I created a txt document named "PathList.txt", this is the content...
  78.         SplashTextOff
  79.         RunWait, %A_Temp%\PathList.txt
  80.         SplashTextOn, 200, 25, Cargando, Espere un momento..
  81.     }
  82.     Else
  83.     {
  84.         SplashTextOff
  85.         MsgBox, 4096,,You don't have folders that begins with "%FilterLetterOrNumber%" on "%Letter%".
  86.         MsgBox, 4096,,Try with other letter...
  87.         Goto, Guishow
  88.     }
  89.     Loop
  90.     {
  91.         IfExist, %A_Temp%\PathList.txt
  92.         {
  93.             FileReadLine, TreeRoot, %A_Temp%\PathList.txt, %A_Index%
  94.             If ErrorLevel
  95.             {
  96.                 FileDelete, %A_Temp%\PathList.txt
  97.                 Break
  98.             }
  99.             AddSubFoldersToTree(TreeRoot)
  100.  
  101.             AddSubFoldersToTree(Folder, ParentItemID = 0)
  102.             {
  103.                 ; This function adds to the TreeView all subfolders in the specified folder.
  104.                 ; It also calls itself recursively to gather nested folders to any depth.
  105.                 Loop %Folder%\*.*, 2  ; Retrieve all of Folder's sub-folders.
  106.                 {
  107.                     If ( SubStr( A_LoopFileName, 1, 1 ) = SubStr( Folder, 4, 1 ) )
  108.                     {
  109.                         AddSubFoldersToTree(A_LoopFileFullPath, TV_Add(A_LoopFileName, ParentItemID, "Icon4"))
  110.                     }
  111.                 }
  112.                 TV_Modify(0, "Sort")
  113.                 If ParentItemID!=0
  114.                     IniWrite, %A_LoopFileFullPath%, %A_Temp%\PathsList.ini, PathsList, %ParentItemID%
  115.             }
  116.         }
  117.     }
  118. IfExist, %A_Temp%\PathsList.ini
  119. {
  120.     MsgBox, 4096,,I created an ini document named "PathsList.ini", this is the content...
  121.     RunWait, %A_Temp%\PathsList.ini
  122. }
  123. Else
  124.     MsgBox, 4096,,The founded root(s) doesn't contain folders to add...
  125. Guishow:
  126.    Gui, 2:Show,, Seleccione el Folder :
  127.     Loop, 26
  128.     {
  129.         GuiControl, Enable, % Chr( 64 + A_Index )
  130.     }
  131. Return
  132.  
  133.  
  134. MyTreeLabel: ; This subroutine handles user actions (such as clicking).
  135.     FileDelete, %A_Temp%\List.txt
  136.     If A_GuiEvent <> S
  137.         Return
  138.     lns=0
  139.     SoundPlay, 0
  140.     Sng:=
  141.     TV_GetText(SelectedItemText, A_EventInfo)
  142.     ItemText=%SelectedItemText%
  143.     ParentID := A_EventInfo
  144.     Loop  ; Build the full path to the selected folder.
  145.     {
  146.         If MainGuiLeft=0
  147.             Break
  148.         ParentID := TV_GetParent(ParentID)
  149.         If not ParentID  ; No more ancestors.
  150.             Break
  151.         TV_GetText(ParentText, ParentID)
  152.         SelectedItemText = %ParentText%\%SelectedItemText%
  153.     }
  154.     sel := TV_GetSelection()
  155.     IniRead, SelectedFullPath, %A_Temp%\PathsList.ini, PathsList, %sel%
  156. Return
  157.  
  158. 2ButtonA:
  159. 2ButtonB:
  160. 2ButtonC:
  161. 2ButtonD:
  162. 2ButtonE:
  163. 2ButtonF:
  164. 2ButtonG:
  165. 2ButtonH:
  166. 2ButtonI:
  167. 2ButtonJ:
  168. 2ButtonK:
  169. 2ButtonL:
  170. 2ButtonM:
  171. 2ButtonN:
  172. 2ButtonO:
  173. 2ButtonP:
  174. 2ButtonQ:
  175. 2ButtonR:
  176. 2ButtonS:
  177. 2ButtonT:
  178. 2ButtonU:
  179. 2ButtonV:
  180. 2ButtonW:
  181. 2ButtonX:
  182. 2ButtonY:
  183. 2ButtonZ:
  184.    TV_Delete()
  185.     FileDelete, %A_Temp%\List.txt
  186.     StringRight, FilterLetterOrNumber, A_ThisLabel, 1
  187.     Goto, Fill
  188. Return
  189. Return
  190.  
  191. }
  192. Return
  193.  
  194. Close:
  195.    IfWinNotExist, Cargando
  196.     {
  197.         GuiControl, %GuiNum%:Hide, Button_Close1
  198.         If GuiNum=2
  199.         {
  200.         2GuiClose:
  201.            If Looping=
  202.             {
  203.                 FileDelete, %A_Temp%\PathsList.ini
  204.                 FileDelete, %A_Temp%\PhList.txt
  205.                 FileDelete, %A_Temp%\PathList.txt
  206.        
  207.                 SplashTextOff
  208.                 Gui 2:Destroy
  209.                 MsgBox, 4096,Closing...,Don't worry I've alReady erased all temp files.,2.5
  210.                 ExitApp
  211.             }
  212.         }
  213. }
  214. Return
2690
N.A.N.Y. 2011 / Re: NANY 2011 Release: Snap DB
« Last post by skwire on December 30, 2011, 02:34 PM »
Downloaded the version and I don't see any change in behavior I was referring to.
I am referring to File > Export rows to CSV file. The whole File menu disappears when I click on the checkbox for Filter/Read-Only mode.
To clarify further, it would be nice to be able to export a subset of records based on the filtered rows that are displayed.

Sorry, I was focused on the toolbar button which was still available.  I've added back a subset of the File menu, while in filter mode, in this next build.

I like the Web Search. I set it to search pronunciations from Forvo: http://www.forvo.com/search-hi/$$1 It works great from the right click menu, but nothing happens when I press Ctrl-W (which I think is generally used for "close window", but I don't know if that matters.

Uh...yeah...about that.   :-[  See the latest build.    :D  Let me know if that works how you like.

Website | Download
v1.3.6 - 2011-12-30
    * Changed the filter mode so a subset of the File menu is available.
    ! If you're going to hotkey an action, it helps to actually add the code for
      said hotkey.  Ctrl+W now works for the new web search functionality added
      in the previous version.  (Thanks, daddydave)
2691
N.A.N.Y. 2011 / Re: NANY 2011 Release: Snap DB
« Last post by skwire on December 30, 2011, 09:36 AM »
@daddydave: From what I can tell, Export to CSV is available in Filter mode.  Is this what you meant?

Website | Download
v1.3.5 - 2011-12-30
    + Added a new "Web search this cell" option to the context menu.  The
      default is to use Google but you can configure any search engine in the
      Options dialog.
    * Changed the filter mode so a subset of the Edit menu is available.
2692
N.A.N.Y. 2011 / Re: NANY 2011 Release: Snap DB
« Last post by skwire on December 30, 2011, 12:10 AM »
I was going to ask if there were any plans to allow exporting while in filter mode

Hmmm...I'm not sure why I don't allow that.  Let me see what I can do.
2693
Finished Programs / Re: DONE: Drop target to move files to predefined folders
« Last post by skwire on December 29, 2011, 11:18 AM »
[BUGS]
  • If two items exist in the ini and one is not a valid path the popup is not created and the operation is executed with the first valid path as the target. (maybe on load you should warn of invalid paths and give the item number)
  • "Reload Settings" attempts to perform the last completed operation again, but with the target of the first valid path in the ini.

Drop Zone has a feature where, if there is only one valid path configured, no menu will pop up.  However, you do make a good point about informing users about bad paths.  Regarding the "Reload Settings" issue, I'll take a look.

Functionality
  • I can't seem to find an easy way to set the target to the Recycle Bin. Any ideas?
  • It would be nice to have a quick way to open the target folders. Maybe an "Open Folder" submenu in the context menu that lists all the items by label name. Selecting one opens the corresponding folder. With only one target maybe the folder can be opened by a click or doubleclick on the window.
  • Here's a biggie. Would it be possible to have an alternate mode where you send files to applications rather than folders? It would be great if you could specify arguments in the ini as well.

1) I just tried it with the CLSID for the Recycle Bin and it didn't work so I'd assume that it can't be done without some internal code changes.

2) Good idea.  I'll consider adding this.

3) No, I think it would be outside the scope of the program.  You may want to check out DropIt, another similar app with much more capabilities.

Appearance
  • Set border color.
  • Set transparency
  • And the biggie... Make it skinnable! Transparent PNG support for the background.

You won't see skinned stuff from me as it's not my style or preference at all.  Again, check out DropIt and see if it's more suited to your tastes.  Thanks for the feedback, I appreciate it.   :)

2694
Finished Programs / Re: Taking Screenshot (via PrtScn) & MS Paint
« Last post by skwire on December 29, 2011, 09:18 AM »
It needs to be in Notepad just like you see it in the above code box (19 lines).
2695
Welcome to the pseudo-random random of computers.   :D
2696
Best E-mail Client / Re: E-mail client recommendations
« Last post by skwire on December 28, 2011, 01:09 PM »
I've used Becky for nearly a decade now.  I absolutely LOVE the way it handles multiple accounts.
2697
N.A.N.Y. 2012 / Re: NANY 2012 RELEASE: Portable Extension Warlock
« Last post by skwire on December 28, 2011, 12:34 PM »
ghacks picked this up, too.  Good job.   :D

http://www.ghacks.ne...e-extension-warlock/
2698
Finished Programs / Re: Taking Screenshot (via PrtScn) & MS Paint
« Last post by skwire on December 27, 2011, 11:52 PM »
Do you have the entire code on one line or something?
2699
N.A.N.Y. 2012 / Re: NANY 2012 Release: PDFInfoGUI
« Last post by skwire on December 27, 2011, 06:25 PM »
Is it possible to add the option to change order of columns?

You already can.  Simply drag-n-drop the columns in whichever order you wish.  Their order and widths will automatically be saved when you exit the program.

As said, I have a ebook-folder. Any chance of a "fav folder"-button?

Let me see what I can come up with.  Thanks for the feedback.
2700
Finished Programs / Re: Taking Screenshot (via PrtScn) & MS Paint
« Last post by skwire on December 27, 2011, 08:55 AM »
If you're serious about taking screenshots, I'd recommend a dedicated screenshot tool like mouser's own Screenshot Captor.  However, to answer your original request, here's an AutoHotkey snippet that will do the job:

Code: Autohotkey [Select]
  1. $PrintScreen::
  2. $!PrintScreen::
  3. {
  4.     If ( A_ThisHotkey = "$PrintScreen" )
  5.     {
  6.         SendInput, {PrintScreen}
  7.     }
  8.     Else If ( A_ThisHotkey = "$!PrintScreen" )
  9.     {
  10.         SendInput, !{PrintScreen}
  11.     }
  12.     ClipWait, 5, 1
  13.     Run, mspaint.exe, , , myPID
  14.     WinWait, % "ahk_pid " . myPID
  15.     WinActivate, % "ahk_pid " . myPID
  16.     WinWaitActive, % "ahk_pid " . myPID
  17.     SendInput, ^v
  18. }
  19. Return
Pages: prev1 ... 103 104 105 106 107 [108] 109 110 111 112 113 ... 222next