topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Tuesday November 11, 2025, 6:21 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 ... 47 48 49 50 51 [52] 53 54 55 56 57 ... 73next
1276
Living Room / Re: A list of things to know when time-traveling to the past
« Last post by Target on January 04, 2010, 08:38 PM »
Either that or I need another injection or Rorschach test.

quick, feel this....  .:: ;' ~.: ::, :-)
1277
General Software Discussion / Re: File Renaming question
« Last post by Target on January 04, 2010, 07:36 PM »
this will do what you want (in AHK)

fileselectfolder, mypath, ::{20d04fe0-3aea-1069-a2d8-08002b30309d}

Loop, %mypath%\*.jpg
{
    stringtrimright, FName, a_loopfilename, 4
    fname:= floor(Fname - 1)
    Mylist.= a_loopfilefullpath . "~" . a_loopfiledir . "\" . fname . "`." . a_LoopFileExt . "`n"
}

sort, mylist, U

loop, parse, mylist, `n
{
    stringsplit, F2, a_loopfield, ~
    filemove, %F21%, %F22%, 1
}
exitapp

code loops through the nominated directory and creates a list of files.  it then sorts the list in ascending order (to avoid overwriting another file incorrectly), then moves the files to the new name

note that this very basic - it assumes all filenames are numeric (so alpha filenames may skew the results), and it won't start/stop at a given point (it will just plow through the whole directory)

anyways, it should give you an idea....
1278
General Software Discussion / Re: File Renaming question
« Last post by Target on January 04, 2010, 04:43 PM »
what's the file naming convention here - do we assume the files are all named 7XXX.XTN, or is there some other convention involved?

Are they all in a single folder?

in subfolders?
1279
Post New Requests Here / Re: IDEA: "Compress each folder to separate archive"
« Last post by Target on January 03, 2010, 05:23 PM »
I don't have it installed here but I'm pretty sure WinRAR already does this (though not from the context menu)

it's a while since i've done this but there's an option (checkbox) on one of the tabs when creating an archive

downside is that you can't pick a single folder and apply it to all the subfolders (you have to select the folders first)

it could also be worth looking at the command line options (these could be scripted)
1280
Living Room / Re: possible alternative to AutoPatcher
« Last post by Target on January 01, 2010, 11:06 PM »
I stopped years ago, because I was too lazy (I know I should, but I don't, and then I need it, and I haven't done it...)

likewise, I've never gotten around to playing with ntlite (though it too is on my todo list...)

target
New Year's resolutions coming up?
-cranioscopical (December 31, 2009, 10:29 PM)

funnily enough I've just done a rebuild... and no, I haven't done any of the things I should have...
1281
Living Room / Re: Simple problem, is there a simple answer?
« Last post by Target on December 23, 2009, 06:06 PM »
apologies if I'm teaching you to suck eggs here, but if you have web access (DOH! you CLEARLY do) then online scans can do the AV bit (otherwise there are standalones - Dr Web Cureit, CLAM AV, etc - that can be run from a USB drive

if you can rule out an infection of some sort it's a start

probably also be worth checking your autoruns for any 'strays'...
1282
General Software Discussion / Re: Alternatives to Daemon Tools?
« Last post by Target on December 21, 2009, 10:50 PM »
and another one - never used it so can't vouch for it, but it may be worth a look

http://wincdemu.sysprogs.org/
1283
Living Room / Re: The Great Aussie Firewall to Go Ahead
« Last post by Target on December 21, 2009, 04:27 PM »
you didn't have anything to do with did you Ehtyar?

http://yro.slashdot....?sid=09/12/20/227224
1284
N.A.N.Y. 2010 / Re: NANY 2010 Release: Piggy Banks
« Last post by Target on December 20, 2009, 05:08 PM »
Hmmm...I think this might be a bit out of scope for this little app. 

I figured as much, implementing this feature was what stopped me looking at this one...

but it was worth mentioning...
1285
actually it doesn't quite say that it, it says the poster thought DC was closed source donationware (clearly he hasn't spent much time here...)
1286
N.A.N.Y. 2010 / Re: NANY 2010 Release: Piggy Banks
« Last post by Target on December 17, 2009, 11:31 PM »
not sure if this is useful feedback or if it's going beyond the intentions of this app but...

is there any value in incorporating some sort of debit field to this?

I realise this is venturing into the realms of ledgers and the like but it seems like sometimes you might want/need to legitimately debit a fund.  I realise you could do this by modifying the kitty, but there's no details of the transaction so you won't know the who/when/why - this may not be important, but it was one of the first things I thought of when i saw mousers original post
1287
Developer's Corner / Re: Crazy Autohotkey issue
« Last post by Target on December 14, 2009, 04:01 PM »
kudos for sticking at it AND advising the fix :Thmbsup:
1288
N.A.N.Y. 2010 / Mini NANY 2010: GAC
« Last post by Target on December 12, 2009, 04:10 AM »
this is a little script I've been using for a while (in fact, it's so trivial I'm a little embarrassed to be posting it...)

GAC (Gamers Alarm Clock) is a simple alarm clock, albeit with a slight twist.

I'm a gamer, and I have a curfew (SWMBO gets very annoyed if I stay up till all hours playing).

Over the years I've tried any number of clock/alarm app's but they have all fallen short for one reason or another (eg they don't sound when you're in a game, or they do, but they steal focus, etc)

Given that my needs here are minimal (ie let me know when I get to nominated time without interrupting whatever it is i'm doing) I knocked up the below.  

Where this differs from any alarm tools that I've seen is that it doesn't actually sound an alarm - when an alarm time is reached it toggles the mute status on and off.

This is extremely effective, yet it doesn't interrupt anything and you can still hear whatever it might be that your listening to (so it works when your listening to music, watching a video, or playing games)

All functions (snooze, cancel, quit, reload, edit alarms) are controlled by hotkeys - mouse over the tray icon to see a list (editing is also accessible by right clicking the tray icon)

There's no GUI (apart from an input box to set alarms) so no screenshots, but it sounds like this - "                   "

see the code here...

Spoiler
/*
Gamers alarm clock - Target Dec08

Alarm clock functionality for gamers.  
Alarms denoted by stuttering mute status - 'audible' during game play and doesn't interupt anything  

alarm times read from ini file (GAC.INI)
all times in 24hour clock (format H:mm - note no leading zeros on the hour)
multiple alarms can be set by separating times with a comma

traytip display of alarm times on mouseover tray icon
alarm times can be set from tray menu or hotkey (or edit the INI file manually)

HOTKEYS  
WIN+F8 - Reload
WIN+F9 - edit alarms
WIN+F10 - Quit
WIN+F11 - snooze (10 minutes)
WIN+RMouseButton    - snooze (10 minutes) - for FPS
WIN+F12 - stop alarm
*/

fileinstall,GAC.ico,GAC.ico,0
#singleinstance
#persistent
sendmode InputThenPlay

menu,tray,icon,GAC.ico
menu,tray,nostandard
menu,tray,add,EditINI
menu,tray,add
menu,tray,add,About

ifnotexist,GAC.INI
{
iniwrite,12:00,GAC.ini,alarms,times
}

iniread, alarm,GAC.INI,alarms,times

menu,tray,tip,Alarms:%alarm%`n`nHOTKEYS`n#F9 - Edit alarms`n#F10 - quit`n#F11 - Snooze (10Mins)`n#F12 - stop alarm

loop
{
formattime,TChk,%a_now%,H:mm
loop,parse,alarm,csv
{
if a_loopfield = %TChk%
{
loop
{
if Brake
{
Brake:=
soundset,0,master,mute
sleep,60000
break
}
soundset,1,master,mute
sleep, 200 ;125
soundset,0,master,mute
sleep, 800 ;700
}
}
}
sleep, 15000
}

#f8::reload
#F9::gosub EditINI

#F10::exitapp

#RButton::
#f11::
soundset,off,master,mute
sleep, 600000
return

#F12::
Brake:=1
return

EditINI:
gui,add,edit,r1 vtmp1 gupdt,%alarm%
gui,add,button,default w50 gSave, Submit
gui, add, button,x65 y33 w50 gFormClose,Exit
gui, -sysmenu -caption +border
gui,show, autosize center
return

updt:
gui,submit,nohide
return

save:
iniwrite,%tmp1%,GAC.ini,alarms,times
gui, destroy
splashtexton,,,Alarms Updated
sleep,2500
splashtextoff
reload
return

FormClose:
guiescape:
closeform:
ifwinexist, GAC - About
{
    gui, destroy
    return
}    
tmp1:= alarms
iniwrite,%tmp1%,GAC.ini,alarms,times
gui, destroy
return

About:
Gui, add, text, ,Gamers Alarm Clock `(NANY Clock`) is a simple alarm tool `n`nAlarms denoted by toggling the mute status on and off - 'audible' during game play and doesn't interupt anything `n`nAlarm times read from ini file (GAC.INI) `n`nAll times in 24hour clock (format H:mm - note no leading zeros on the hour) `n`nMultiple alarms can be set by separating times with a comma `n`ntraytip display of alarm times on mouseover tray icon `n`nalarm times can be set from tray menu or hotkey (or edit the INI file manually) `n`nHOTKEYS `n`nWIN+F8                        - Reload `n`nWIN+F9                        - edit alarms `n`nWIN+F10                      - Quit `n`nWIN+F11                      - snooze `(10 minutes`) `n`nWIN+RMouseButton    - snooze (10 minutes) - for FPS `n`nWIN+F12                      - stop alarm
gui, show, ,GAC - About
return



1289
N.A.N.Y. 2010 / Re: NANY 2010 Idea Thread Skwireification Embargo Policy
« Last post by Target on December 10, 2009, 08:30 PM »
you just have to bee in everything, don't you? :P
1290
Clif

the general consensus seems to be the sense of community and camaraderie, but you might also see the 'what other people are saying page for some further material...
1291
N.A.N.Y. 2010 / Re: NANY 2010 Pre-Release: Page Countster
« Last post by Target on December 08, 2009, 09:55 PM »
CAMP - Count All My Prints
LAPT - Local Area Print Totals (this could be a tip of the hat to your boss, LAP Tech...)
1292
N.A.N.Y. 2010 / Re: NANY 2010 Pre-Release: Page Countster
« Last post by Target on December 08, 2009, 08:38 PM »
@Target - Print NANY  (or Printer NANY) does have some potential ... but I got a feeling the boss won't like it (I'll ask).

tell him there's a DC mug in it for him...
1293
N.A.N.Y. 2010 / Re: NANY 2010 Pre-Release: Page Countster
« Last post by Target on December 08, 2009, 08:09 PM »
here's another suggestion - Print NANY
1294
N.A.N.Y. 2010 / Re: NANY 2010 Pre-Release: Page Countster
« Last post by Target on December 08, 2009, 07:46 PM »
I humbly suggest: "Findster and Countster Robot"

Rolls trippingly off the tongue doesn't it?

While it does seem to have a (rather familiar...) "ring" to it ...(LOL)... I did mention that my primary objective was to not get fired, Right..?

yeah, i was thinking that some potential pronunciations of the acronym (FACR) could be problematic (FAKeR, or maybe if it's not working as expected (HA!), F**KeR)
1295
N.A.N.Y. 2010 / Re: NANY 2010 - Offers of Assistance
« Last post by Target on December 02, 2009, 08:04 PM »
happy to help with documentation (drafting, proof reading, etc - sorry, english only :-[) and testing where I can (XP SP2)
1296
Hmmm...MetaRoot, am I correct that I must provide name and email address when installing this program--even for the freeware version?

try the portable version (no questions asked...)
1297
Living Room / Re: All Wordy and Junk: A brand new multi-author blog
« Last post by Target on November 25, 2009, 08:15 PM »
so what happened? (anyone know?)

I was following this and then...nothing

no updates since mid September (perhaps they're all off hunting ninja's/pirates??)

1298
Post New Requests Here / Re: IDEA: Standardize File Name With AHK Dialog Boxes
« Last post by Target on November 25, 2009, 05:20 PM »
as requested, attached is the complete script I was playing with.

As you can see I've just added a loop to the top of Skwires script to check for the existence of file save dialogs...

you should be able to use save in lieue of save as, though I haven't played with this

it also occurs to me that there is no need to destroy the gui each time as hide/show has the same effect.  The bonus with this is that the last use is persistent, ie you can see the last entry (note that this could be coded in anyway)

#singleinstance

Loop
{
    ifwinactive, Save As ;should work with just save, but i haven't tried it - note that you would need to change the other instances as well
    {
        gosub filename
        winwaitclose, Save As
    }
    ifwinnotexist, Save As
        gui, destroy
    Sleep, 1500

}

FileName:
^t::
{
    Gui, Margin, 0, 0
    
    Gui, Add, MonthCal    , xm+0   ym+0   w185 h160 Border             vMyCalendar   gOnClick  ,
    Gui, Add, Text        , xm+185 ym+5   w70  h20  Right 0x200                                , Reference #:
    Gui, Add, Edit        , xm+260 ym+5   w50  h20                     vRefNo        gOnClick  ,
    Gui, Add, Text        , xm+315 ym+5   w65  h20  Right 0x200 Number                         , Sequence #:
    Gui, Add, Edit        , xm+385 ym+5   w20  h20                     vSeq          gOnClick  ,
    Gui, Add, Text        , xm+190 ym+30  w200 h20  0x200                                      , Document Orgination And Ownership:
    Gui, Add, DropDownList, xm+190 ym+50  w250 h150                    vOwnership    gOnClick  , Vendor||Company|Client|Other
    Gui, Add, Text        , xm+190 ym+75  w200 h20  0x200                                      , Document Type:
    Gui, Add, DropDownList, xm+190 ym+95  w250 h150                    vDocumentType gOnClick  , Invoice||Packing Slip|Purchase Order|Work Order|Check|Proofing Document|Film|Drop Ship Document
    Gui, Add, Text        , xm+190 ym+120 w200 h20  0x200                                      , Initial Routing Direction:
    Gui, Add, DropDownList, xm+190 ym+140 w250 h150                    vDirection    gOnClick  , Sent Out||Returned To Company|File Only
    Gui, Add, Button      , xm+370 ym+165 w70  h20                                   gClipboard, Clipboard
    Gui, Add, StatusBar
    SB_SetText( "Ready.", 1 )
    Gui, Show, AutoSize, Filename Standardiser
}
Return


OnClick:
{
    Gui, Submit, NoHide ; Get current variable values.
    
    ; Handle "Document Orgination And Ownership" DDL.
    If ( Ownership = "Vendor" )
    {
        myAbbr1 := "V"
    }
    Else If ( Ownership = "Company" )
    {
        myAbbr1 := "P"
    }
    Else If ( Ownership = "Client" )
    {
        myAbbr1 := "C"
    }
    Else If ( Ownership = "Other" )
    {
        myAbbr1 := "O"
    }
    
    ; Handle "Document Type" DDL.
    If ( DocumentType = "Invoice" )
    {
        myAbbr2 := "IN"
    }
    Else If ( DocumentType = "Packing Slip" )
    {
        myAbbr2 := "PS"
    }
    Else If ( DocumentType = "Purchase Order" )
    {
        myAbbr2 := "PO"
    }
    Else If ( DocumentType = "Work Order" )
    {
        myAbbr2 := "WO"
    }
    Else If ( DocumentType = "Check" )
    {
        myAbbr2 := "CK"
    }
    Else If ( DocumentType = "Proofing Document" )
    {
        myAbbr2 := "PD"
    }
    Else If ( DocumentType = "Film" )
    {
        myAbbr2 := "FF"
    }
    Else If ( DocumentType = "Drop Ship Document" )
    {
        myAbbr2 := "DS"
    }
    
    ; Handle "Initial Routing Direction" DDL.
    If ( Direction = "Sent Out" )
    {
        myAbbr3 := "S"
    }
    Else If ( Direction = "Returned To Company" )
    {
        myAbbr3 := "R"
    }
    Else If ( Direction = "File Only" )
    {
        myAbbr3 := "F"
    }
    
    ; Format calendar to chosen datestamp.
    FormatTime, myDate, % MyCalendar, yyyy-MM-dd
    
    ; Replace spaces with underscores if necessary.
    StringReplace, Ownership   , Ownership   , %A_Space%, _, All
    StringReplace, DocumentType, DocumentType, %A_Space%, _, All
    StringReplace, Direction   , Direction   , %A_Space%, _, All
    
    ; Build filename from user input.
    myFilename := RefNo . "_" . Seq . "_-_(" . myAbbr1 . myAbbr2 . myAbbr3 . ")_" . Ownership . "_" . DocumentType . "_" . Direction . "_" . myDate
    
    ; Populate filename field.
    SB_SetText( myFilename, 1 )
}
Return


Clipboard:
{
    Clipboard := myFilename
    SB_SetText( "Filename copied to clipboard.", 1 )
    Sleep, 1500
    SB_SetText( myFilename, 1 )
}
Return


GuiClose:
GuiEscape:
{
    Gui, Destroy
}
Return

1299
Post New Requests Here / Re: IDEA: Standardize File Name With AHK Dialog Boxes
« Last post by Target on November 24, 2009, 11:46 PM »
a small 'enhancement' (if i may...)

adding this code

Loop
{
    ifwinactive, Save As
    {
        gosub filename
        winwaitclose, Save As
    }
    ifwinnotexist, Save As
        gui, destroy
    Sleep, 1500

}

FileName:

to the top of the above script means that the gui will popup automagically whenever a 'save as' dialog is open (it will also destroy the gui when the dialog has been closed if the user hasn't already closed it)

should work with any dialog with 'Save As' in the title - tested fine with both Word and Excel
1300
Post New Requests Here / Re: IDEA : sleep on click, wakeup with Esc
« Last post by Target on November 18, 2009, 05:31 PM »
have you looked at 'BlockInput'?
Pages: prev1 ... 47 48 49 50 51 [52] 53 54 55 56 57 ... 73next