Welcome Guest.   Make a donation to an author on the site August 31, 2014, 05:26:03 AM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
Free DonationCoder.com Member Kit: Submit Request.
   
  Forum Home Thread Marks Chat! Downloads Search Login Register  
  Show Posts
      View this member's profile 
      donate to someone Donate to this member 
Pages: Prev 1 ... 122 123 124 125 126 [127] 128 129 130 131 132 ... 171 Next
3151  Special User Sections / N.A.N.Y. 2009 / Re: NANY 2009 Release: Auto Cursor Mover on: March 06, 2010, 06:39:33 AM
http://nahtanoj88.dcmembe...s.com/AutoCursorMover.exe
3152  DonationCoder.com Software / Finished Programs / Re: IDEA: Faster boots combining hibernate and restart (Boot Snooze) on: March 05, 2010, 04:59:19 AM
After a conversation with snark_be (thanks!) and, after doing some tests, it's easier to enable/disable auto-login than I initially thought so I've changed my mind about adding it.  Here's some thoughts on this:

1) Add username and password fields to the Boot Snooze form with a checkbox for enabling auto-login.

2) If enabled, the requisite registry entries will be set just before shutdown.  DefaultUserName, DefaultPassword and AutoAdminLogon are the keys involved.  DefaultUserName is almost always already in place.

3) If enabled and upon rebooting, Boot Snooze will remove the DefaultPassword and AutoAdminLogon registry entries.  In other words, Boot Snooze will minimise the amount of time that a box is in AutoLogon-able state.

4) I don't think Boot Snooze should save the username and password (even encrypted) in the config.ini file.  Yes, that does mean the user will have to enter it each time.  I'm open to discussion on this.

Thoughts, everybody?
3153  DonationCoder.com Software / Finished Programs / Re: IDEA: Organize files into folders based on flename wildcard parsing on: March 05, 2010, 04:07:50 AM
OK, I've tried to give you some sense of the file naming conventions which are reasonably strict as long as you appreciate that they will always start with a 2 or 3-letter or number group, then an underscore, then a 2 or 3 letter designator (typically but no hard and fast rule) then an underscore and some more letters and/or numbers and perhaps another underscore or hyphen and some more letters or numbers but this last part is not relevant to the project.

Well, therein lies the rub.  "Reasonably strict" doesn't equate to "strict" so this will be very difficult to do automatically.  However, read on.

So what we need to create is the following structure:
root (could be anywhere)
then the first grouping creates a major subdir named after it (in the examples shown FJ or MA)
then subdirs off those based on the next grouping
then subdirs off that based on third grouping
then all the files that fit that pattern into those dirs so only three levels deep

At its most basic, what you describe above is very easy to do.  Cracking a filename on its underscores, creating folders, and moving said file into said folder is a piece of cake.  However, since some of your files have three groups and others have four, this is much more difficult to do accurately.  Do you understand what I mean?

For instance, your MA_* files mostly have four groups (three that matter and then the irrelevant counter portion) but your FJ_* files mostly have three groups (two that matter and then the irrelevant counter portion).  Normally, I could take num_groups-1 and go with that but I can't, in this case, since there are example in your images where the MA_* files have three groups and the FJ_* files have four groups.

At this point, I don't feel comfortable writing a parser that goes three levels deep since there is no hard standard to the filenames.  There are a few ways to approach this:

1) You strictly standarise your filenames at which point I can make the parser as creative as you would like.

2) You divvy up your files into groups that contains the same amount of "underscore groups" and then I can offer an option to crack the filenames on first, second, or third groups.

3) I write the app so you can form basic *? type of wildcard matching.  Something like "MA_*_*.jpg" gets filtered to some destination folder you specify.  One drawback here is that each match entry can only have one destination folder.  Another drawback, I suppose, is that the entry will need to be entered manually.  On the other hand, the list of entries is easily saved and reused.  This is how I started writing this app before you mentioned your automatic-filename-cracking request.

I hope you appreciate that I need an automatic process because (currently) there are 21,128 filers (and growing) so any needed manual intervention makes it a very laborious process indeed!

Sure, I appreciate it but, from my point of the view as the coder who is messing with your files, I have to feel confident that I'm not going to muck them up.

I forgot to ask you whether this process can be recursive because currently

Yes, recursive processing is easily doable.

3154  DonationCoder.com Software / Finished Programs / Re: IDEA: Organize files into folders based on flename wildcard parsing on: March 04, 2010, 07:54:35 PM
MoveOut (as far as I can see) lacks the ability to create the necessary sub-folders and then move the files that meet the wildcard criteria into the self-named newly-created folders.
Did I miss something?

Ah, apologies.  I didn't realise that MoveOut didn't create the destination folders.  In that case, would it be possible for you to PM me a simple text listing of your image filenames so I can test against them?  I don't need the full paths...just the names.  However, if there are privacy/sensitivity issues with this request, I certainly understand.  In that case, I'll just generate some random filenames based off the patterns in your initial post.  I've got the main framework of your app already finished;  I just need to do a more work on the flow and then some testing.
3155  DonationCoder.com Software / Finished Programs / Re: IDEA: Faster boots combining hibernate and restart (Boot Snooze) on: March 04, 2010, 06:54:55 AM
My intent would be to add it in as an option.
3156  DonationCoder.com Software / Finished Programs / Re: IDEA: Faster boots combining hibernate and restart (Boot Snooze) on: March 04, 2010, 06:13:42 AM
I'll contact you via PM.
3157  DonationCoder.com Software / Finished Programs / Re: IDEA: Faster boots combining hibernate and restart (Boot Snooze) on: March 04, 2010, 05:09:41 AM
Sure, I'm happy to collaborate.  I just didn't want to release the source publicly.
3158  DonationCoder.com Software / Finished Programs / Re: IDEA: Organize files into folders based on flename wildcard parsing on: March 03, 2010, 11:41:38 PM
By chance, have you checked out Skrommel's MoveOut?

http://www.donationcoder....rommel/index.html#MoveOut

If that doesn't do it for you, I'll write you a custom app.
3159  DonationCoder.com Software / Finished Programs / Re: IDEA: Organize files into folders based on flename wildcard parsing on: March 03, 2010, 10:50:13 PM
Are all the original files in one source folder?
3160  DonationCoder.com Software / Finished Programs / Re: DONE: Create Shortcut on the Destop (hopefully not as stupid as it sounds) on: March 02, 2010, 10:06:08 AM
I downloaded and installed Xplorer2 and it works fine here.  However, I've uploaded a new version that allows you to specify the clipboard timeout amount.  Re-download using the same URL and you can now adjust the timeout like this in your alias:

Desktop Shortcutter | %ALIASDIR%\DesktopShortcutter.exe %LASTHWND% 5 /ICON=icons\Desktop.ico

You can change that 5 (timeout in seconds) to whatever number will work on your system.  You may have to experiment a little.  As for Firefox maximising, I have no idea.  I am running Firefox as well and haven't seen that behaviour.
3161  DonationCoder.com Software / Finished Programs / Re: DONE: Create Shortcut on the Destop (hopefully not as stupid as it sounds) on: March 02, 2010, 07:19:53 AM
Here's a FARR alias package for it:

http://skwire.dcmembers.c...ks/DesktopShortcutter.zip

Unpack that to your FARR Installed or MyCustom folder and type goreload into FARR.  The default alias is ds and the application is designed to activate the last active window before FARR.  In other words, focus your Explorer (or any file manager) window, make your selection, activate FARR, type ds, and press enter.  Shortcuts of your selection should appear on the desktop.  Let me know how it works out for you.  Thanks.
3162  DonationCoder.com Software / Finished Programs / Re: DONE: Create Shortcut on the Destop (hopefully not as stupid as it sounds) on: March 02, 2010, 05:57:40 AM
Is it possible to add an option so that the script can be executed as an alias in FARR, and closes after the shortcut is created on the desktop?

Do you not run a main AHK script of any sort?  This is a simple hotkey that can be integrated into any AHK script.

See post below...
3163  Other Software / Found Deals and Discounts / Re: VIPRE Antivirus Twitter Giveaway (March 2, 2010 only) on: March 02, 2010, 12:03:34 AM
I hope it was worth it.  Sellout.   tongue
3164  DonationCoder.com Software / Finished Programs / Re: DONE: Create Shortcut on the Destop (hopefully not as stupid as it sounds) on: March 01, 2010, 09:13:32 AM
I use Autohotkey.  Can you translate the script from AutoIt?

As tomos and cranioscopical mentioned, that is AHK code.  The AutoIt highlighter is the closest we have to an AHK highlighter.  Apologies for the ambiguity.
3165  DonationCoder.com Software / Finished Programs / Re: IDEA: Faster boots combining hibernate and restart (Boot Snooze) on: March 01, 2010, 08:14:47 AM
Great idea and great implementation.
Do you plan to release the source code? I understood it is written with AutoHotkey, right?
I have a password defined for my user and I have to, it's required by a remote control tool I use. I'm willing to add support for auto-login at boot myself if you do not want to do it.

Thanks for the kind words.  Boot Snooze turned out to be MUCH more popular than I ever anticipated.  No, I don't plan on releasing the source code and, yes, it's written in AutoHotkey.  I specifically didn't add auto-login for two reasons.  One, I didn't want BootSnooze seen as a security issue and, two, I'm a fan of the "one tool for one job" way of writing software.  Honestly, BootSnooze is one of the simplest apps I've written here on DonationCoder.  In case you require more information on how Boot Snooze works, here you go.

BootSnooze writes a single entry to the following registry key:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce

This key is meant for uses such as these since the Windows OS removes the entry once it's run, hence, "RunOnce".  The part of BootSnooze that does the suspending/hibernating is the standard Windows API call found here (this is also described in the AHK help file under the "Shutdown" entry):

http://msdn.microsoft.com.../aa373201%28VS.85%29.aspx

You can even do it yourself from the Run prompt like this:

http://support.microsoft.com/kb/555569
3166  DonationCoder.com Software / Finished Programs / Re: DONE: Create Shortcut on the Destop (hopefully not as stupid as it sounds) on: March 01, 2010, 07:27:04 AM
Here you go.  Works with files, folders, single and multiple selections.  Change the shortcut to whatever you'd like (ctrl-d is default).

Formatted for Autohotkey with the GeSHI Syntax Highlighter [copy or print]
  1. ^d::
  2. {
  3.    ; Save current clipboard contents for restoration later.
  4.    Clipboard_Saved := ClipboardAll
  5.  
  6.    ; Clear clipboard
  7.    Clipboard := ""
  8.  
  9.    ; Get Explorer selection to the clipboard.
  10.    SendInput, ^c
  11.  
  12.    ; Wait up to three seconds for the clipboard to contain data.
  13.    ClipWait, 3
  14.  
  15.    ; Error-checking for the ClipWait.
  16.    If ( ErrorLevel != 0 )
  17.    {
  18.        MsgBox, The Clipboard timed out.
  19.        Return
  20.    }
  21.  
  22.    ; Create shortcuts.
  23.    Loop, Parse, Clipboard, `n, `r
  24.    {
  25.        If ( A_LoopField != "" )
  26.        {
  27.            SplitPath, A_LoopField, , OutDir, , OutNameNoExt
  28.            FileCreateShortcut, % A_LoopField, % A_Desktop . "\" . OutNameNoExt . ".lnk", % OutDir
  29.            Sleep, 1
  30.        }
  31.    }
  32.  
  33.    ; Restore clipboard.
  34.    Clipboard := Clipboard_Saved
  35.  
  36.    ; Free memory.
  37.    Clipboard_Saved := ""
  38. }
3167  Special User Sections / N.A.N.Y. 2010 / Re: NANY 2010 Release: Anuran on: March 01, 2010, 05:38:17 AM
Quote
Another option is to use the Archive hotkey or the Archive entry in the tray.
Ah yes, i'll archive right after every entry. Great tip!

Hopefully, with the latest build, you won't have to do this.  Just set your archive time to something very small...one minute or so.  The time and CPU used for an archival is negligible and shouldn't cause any hit on your system.

I even got a compliment at work because my timekeep was completly filled on time. :-)

Hahaha...very nice.   cheesy
3168  DonationCoder.com Software / Post New Requests Here / Re: IDEA: TrueCrypt Alternate GUI for Windows on: February 27, 2010, 10:35:06 AM
I could give this a go but the GUI won't be bitmap-based like your example above.  Would that be acceptable?
3169  Special User Sections / N.A.N.Y. 2010 / Re: NANY 2010 Release: Bestimate on: February 27, 2010, 10:30:14 AM
Thanks for all the testing of this latest version, Chris.  I much appreciate it.  =]
3170  Special User Sections / N.A.N.Y. 2010 / Re: NANY 2010 Release: Anuran on: February 27, 2010, 08:33:52 AM
Sweet crispy crap, why didn't I think of this?

You and me, both, my friend.   tongue  Everybody, let me know if the following build breaks anything.  Thanks.

Website | Download
v1.0.30 - 2010-02-27
    * If an archive file already exists, the current.anu contents will now be appended to it instead of a new_file[1].anu file being created.  (Thanks, DeVamp)

3171  Special User Sections / N.A.N.Y. 2010 / Re: NANY 2010 Release: Bestimate on: February 27, 2010, 07:45:32 AM
Website | Download
v1.0.5 - 2010-02-27
    + Added per-file saving/loading.  (Thanks, cranioscopical)
    + Added up/down toolbar buttons to move a selection in the listview.
    + Added a "Recent files" menu to the main File menu.
    * Changed the icon look from the Silk set to the Fugue set found at http://www.pinvoke.com.


New look:

[attachthumb=#]
3172  Special User Sections / N.A.N.Y. 2010 / Re: NANY 2010 Release: Anuran on: February 26, 2010, 03:33:18 AM
would that mean that you might archive every 10 minutes, but you would only have one archived text file for each day if your Log timestamp doesnt include hours or minutes ?

If so sounds very good to me

Correct.
3173  Special User Sections / N.A.N.Y. 2010 / Re: NANY 2010 Release: Anuran on: February 26, 2010, 02:44:49 AM
Kiss Kiss the program.  Thmbsup

It's perfect, because at work i always forget to stay up to date with what work i did for what client.

Thanks for the compliment and sorry about the delay in replying.

the only thing i have with it, is the way of archiving.

Hehehe...yeah, I know what you mean.  Grin  It's kind of tough to cover everybody's ideas regarding archiving without it becoming a huge mess of options.

when i changed the archivetime to every 10 minutes, but now i get a new file every 10 minutes.
It's in the format Log_yyyy_MM_dd_dddd[number].anu
like Log_yyyy_MM_dd_dddd[1].anu and Log_yyyy_MM_dd_dddd[2].anu and Log_yyyy_MM_dd_dddd[3].anu

isn't it possible to just append to the file if it already exists in the format.

This is actually a very elegant way to solve the issue.  Anybody else have thoughts on this?

That still doesn't solve the fact that if i enter something just before closing the PC, it will be archived the next day.
For that, perhaps you can use the timestamp of the entry to calculate the timestamp of the archivefile.
And then just append to that file.

Another option is to use the Archive hotkey or the Archive entry in the tray.  Thanks for the feedback.
3174  Other Software / Developer's Corner / Re: Parsing / Filtering text on: February 25, 2010, 05:53:52 AM
I had to replace ¥`s with \`s thou :]

The yen symbols are actually backslashes on ewemoa's (and my) computer.  It's a side effect of using Japanese as the default language on a English Windows box.  I've become so accustomed to it over the years that my eyes don't even "see" them as yen symbols anymore.
3175  Other Software / Developer's Corner / Re: Parsing / Filtering text on: February 25, 2010, 04:44:55 AM
If you're familiar with RegEx at all, here is a way to do it in AutoHotkey.  You could easily adapt the RegEx portion to your own code or a more capable editor that has RegEx search capabilities.

Formatted for AutoIt with the GeSHI Syntax Highlighter [copy or print]
  1. Text =
  2. (
  3. Motorcycle\crap\morecrap
  4. Car\crap\morecrap
  5. Truck\crap\morecrap
  6. Bike\crap\morecrap
  7. )
  8.  
  9. Loop, Parse, Text, `n
  10. {
  11.    If ( A_LoopField != "" )
  12.    {
  13.        RegExMatch( A_LoopField, "^(.+?)\\", SubPat )
  14.        Block .= SubPat1 . "`r`n"
  15.    }
  16. }
  17.  
  18. MsgBox, % Block
Pages: Prev 1 ... 122 123 124 125 126 [127] 128 129 130 131 132 ... 171 Next
DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.524s | Server load: 0.03 ]