topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Friday November 21, 2025, 8:24 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 ... 85 86 87 88 89 [90] 91 92 93 94 95 ... 113next
2226
T-Clock / Re: T-Clock 2010 (beta - download)
« Last post by ewemoa on March 27, 2010, 04:12 PM »
Trying out the first beta of TC2010 (congratulations, btw  :Thmbsup:)

Stopwatch can now can be controlled form the command line:

      /exit   : Exit T-Clock 2010
         ...
      /stop   : Stop (pause really) the Stopwatch Counter
      /lap   : Record a (the current) Lap Time
      /reset   : Reset Stopwatch to 0 (stop as/if needed)
Woohoo!  Mmm, command line options...Sorry, I'll try to contain myself.

The quoted 1 + 3 items appear to work as expected here.

      /prop   : Open T-Clock 2010 Properties
      /start   : Start the Stopwatch Counter (open as/if needed)
These made a corresponding dialog of T-Clock active -- which seems to make sense for /prop, but I'm not sure it does for /start.  Do you get the same behavior?

Timers Can now be viewed/monitored:
Took me a bit to figure out how to make that window appear :) 

Some observations:

I had a single timer visible in the Timer Watch dialog, stopped it from the Add/Edit dialog (so this is neither expiring nor plain removal from the dialog), and noticed that the Timer Watch dialog went away.  Is that what happens there?  Not sure what I think of that yet.

Highlight a timer in ListView & hit Delete - To get Exit Options.
This seemed to work for all three cases.

I started to wonder whether it might be useful to be able to start expired or stopped timers from the Timer Watch dialog -- and/or perhaps have some way to get the Add/Edit Timer dialog to appear via a hotkey or button press.  Still at the wondering stage though.

Note: Timer Watch will automatically close if last timer is removed, or if a Single watched timer Expires.
I observed these two results too.  I'm not sure what I think of the latter yet.
2227
C / C++ / Re: C++ Programming Resources
« Last post by ewemoa on March 26, 2010, 10:46 PM »
Code::Blocks is currently undergoing a testing and bugfixing phase in preparation for a new stable release
I've been using the nightly build that Deozaan referred to for some weeks now and it hasn't given me any trouble (though I'm just trying to see what it's like to create FARR plugins with it).

it's always nicer to have everything configured in one step.
Indeed!  In retrospect, I don't think the steps involved in getting things working are hard -- what I found difficult was trying to find the appropriate instructions (note: here I'm referring to also installing MinGW and MSYS first) -- I misled myself via multiple sets of old instructions :)
2228
I've recently installed Aegisub (Wikipedia Article), but haven't tried it out much.  May be it's worth a look?

There's some online documentation including among other things:

  An overview
  Attaching subtitles to video
2229
T-Clock / Re: T-Clock 2010 (alpha - download)
« Last post by ewemoa on March 26, 2010, 08:11 AM »
It seem almost poetic :-\ lyrical - Is there a tune that goes with it?
Good question :)

Up Coming Stuff: I'm currently working on the (much needed) "live" timer countdown interface. The plan is to have a single location where a selectable group of active timers can be monitored.
Sounds nice!  Would a hotkey to toggle visibility make sense?

Also working on making the stopwatch controllable from the command prompt, so a script can start/stop/lap/reset the counter for execution time checking.
Mmmmm, command line access.  More of that!

Beyond that ... I'm running out of ideas
How easy/likely is a non-registry-using (=> portable-friendly) version?
2230
T-Clock / Re: T-Clock 2010 (alpha - download)
« Last post by ewemoa on March 25, 2010, 05:08 PM »
Trying out T-Clock 2010 (alpha -6- Release to DC).zip

Didn't know about
The font issues

Inspired to try
A different format

Used to use
  yyyy-mm-dd hh:nn:ss
But now trying
  yyyy-mm-dd\nhh:nn

Amazingly it works

Especially when one
Configures small font
And text position

Though the muscles
Of my eyes
Might feel twinges

In other news
Noticed original spelling
Of the name
Of user-contributed encyclopedia
In help doc

Thanks for listening
Perhaps this was
A bit much  ;)
2231
Find And Run Robot / Re: Klip Keeper Access Violation
« Last post by ewemoa on March 24, 2010, 05:42 AM »
FYI, IIUC, the latest dll is at version 1.20 and may be obtainable via:

  http://e.craft.free....r/farr/FScript/1.20/
2232
T-Clock / Re: T-Clock 2010 (alpha - download)
« Last post by ewemoa on March 23, 2010, 09:08 PM »
Below is some feedback for: T-Clock 2010 (alpha -5- Release to DC).zip

1. All 3 of the afore mentioned Week-of-Year options listed above.
I haven't tried to grok the week stuff, but FWIW, I put Wm Ws and Ww in a custom format under "Advanced Clock Configuration Options".  What I see currently is:

12 12 12

Perhaps that's working :)  Anyway, just some feedback on that functionality...

2. Finally... a help file describing the currently available custom format options.
I see and have opened a file named T-Clock Help.rtf.  I see sections for Date, Time, and Other Options.

3. Bugg fix for the Menu Dismissal Issue (it didn't always go away when told - It does now)
I'm not sure I experienced this one before and I don't think I see it now.

4. Bugg fix for Stopwatch's Evil Psychotic Twin issue.
Twin seems long lost now ;)

5. Bugg fix for Child dialogs (Properties/Timers/Stopwatch)  failure to gain focus (pop-under) issue.
6. Bugg fix for bashful tooltip issue.
See remark for 3.

7. Finally created help file that explains how to make it do what it does.
Was this a reference to T-Clock Help.rtf?
2233
Thanks for the nice review :)

Regarding:

Tapping the Ctrl A shortcut a second time whenever the first does not select all text in an active form, field or window will select all the text in most applications.

The current code has a timeout, so I think if the second Control+A doesn't occur soon enough, the code's selection action will not be triggered.

Please let me know if this is not the case.

2234
Below are some brief examples (note: have only used tool with Windows XP):

Windows Explorer:
  Select a file or folder that has a name with at least one space in it
    Right-click to bring up the context-sensitive menu
      Choose the Properties menu item to bring up the corresponding dialog box
        Bring focus to the text field [1] with the name of the File or Folder
          Notice that neither double-clicking nor Control+A select all of the text

SelectAll - File or Folder Properties Dialog.png

SumatraPDF:
  Open some document for viewing
    In the Find field, type a phrase to search for that contains at least one space
      Press tab to move focus off of the Find field
        Bring focus back to the Find field
          Notice that neither double-clicking nor Control+A select all of the text

SelectAll - SumatraPDF.png

Standard Save Dialog:
  Right-click on an appropriate link in Firefox to bring up the context-sensitive menu
    Choose the "Save Link As" menu item to bring up a Save As dialog
      Edit the file name field to contain a string with at least one space
        Notice that neither double-clicking nor Control+A select all of the text

SelectAll - Save As Dialog.png

Other examples briefly mentioned in source.

(Note that tabbing off of a text field and using Shift+Tab to return focus to the text field can be a handy work-around for situations where initial focus to the text field selects all of the text.)


[1] Other text fields in the dialog also seem to behave similarly -- the file and folder name text field seemed easiest to describe.
2235
Background

I find that Control+A doesn't necessarily select all text in various contexts and typically notice this after typing Control+A.

Not finding anything that seemed to help, I put together a little utility tentatively named "SelectAll" in an attempt to improve the situation a bit.  I have been using it for a bit now and have found that it has turned out to be useful in my particular situation.  After some discussion with mouser a decision to post it was reached.  (Please let me know if you know of something similar or better.)

How to Use
  
While this program is running, if Control+A does not select all text for a field with focus, try entering Control+A twice quickly to get all of the text selected.
  
The invocation may be done in at least two ways:
  
1. An initial Control+A sequence, then letting go of both keys, and a subsequent Control+A sequence.
    
2. An initial Control+A sequence, then without letting go of the control key, let go of the A key and press the A key again.
        
(I prefer the second approach, but both seem to work as far as triggering an attempt to select all text.)

Caveat

Unfortunately, it doesn't work with a number of (all?) NirSoft utilities -- and it seems likely there are other things it won't work with.  I might make an exception list, but haven't decided whether it's worth it or if it makes sense just yet.  Also, depending on the size of the text field, after text is selected there may be some scrolling.  Anyway, perhaps the code can be improved upon or someone can come up with a better idea :)

Credits

The code is basically an adaptation of an AHK Forum post (thanks to the author "jonny"):

  http://www.autohotkey.com/forum/topic15537-1.html

The selection method was improved by lanux128 -- thanks to him for that  :Thmbsup:

Code

Source:

/*

   Name: SelectAll
   Description: Select All Text via Hotkey
  
   Control+A does not always select all text unfortunately.
   This program is an attempt to improve the situation a bit.
  
   While this program is running, if Control+A does not select all
   text for a field with focus, try entering Control+A twice
   quickly.
  
   This may be done in at least two ways:
  
     1. An initial Control+A sequence, then letting go of both keys,
        and a subsequent Control+A sequence.
    
     2. An initial Control+A sequence, then without letting go of the
        control key, let go of the A key and press the A key again.
        
   FWIW, the author finds the second form easier to execute.
        
   Example locations of relevance (Windows XP):
  
     -7-zip: address/path text field [1]
     -Code::Block: multiple text fields
     -Everything: options dialog: multiple text fields
     -FileZilla: multiple text fields
     -Free Download Manager: multiple text fields
     -grepWin: multiple text fields
     -Internet Explorer:
       home page text field [1]
     -IrfanView: multiple text fields
     -Notepad++: Preferences dialog: multiple text fields
     -ReNamer: multiple text fields
     -Universal Extractor: multiple text fields
     -Windows Explorer:
       address/path text field [1]
       file/folder name when renaming via F2 [1]
     -WinMerge:
       Select Files and Folders: mulitple text fields [1]
       Options dialog: multiple text fields
     -WinSpy++: multiple text fields
     -Save / Open Dialogs: filename text field [1]
     -Run Dialog: name text field [1]
     -File/Folder Properties Dialog:
       various text fields
     -HTMLHelp (hh.exe, .chm viewing): keyword text field [2]
      
   Where this code does not work (Windows XP):
    
     -Windows Explorer:
        file name text field in searching for files
        string text field in searching for files    
    
   [1] Though initial focus selects all text
   [2] Double-clicking on field selects some text
  
   code based on http://www.autohotkey.com/forum/topic15537-1.html

*/

#NoEnv
#Persistent

; XXX: place in .ini?
delay = 400
hkmod = ^
hkletter = a
hk = %hkmod%%hkletter%
fullhk = ~%hk%
Hotkey, %fullhk%, Invoke
Return

Invoke:
; 'delay' is the maximum allowed delay (in ms) between presses.
If ((A_PriorHotKey = fullhk) && (A_TimeSincePriorHotkey < delay))
{
  BlockInput, On
  ; thanks to lanux128 for the following
  Send, {Control Down}{Home}{Control Up}{Control Down}{Shift Down}{End}{Shift Up}{Control Up}
  BlockInput, Off
}
; XXX: don't know what this Sleep is for...
Sleep, 0
KeyWait, %hkletter%
Return

Executable

Meta

Posted this here as per:

https://www.donation....msg199036#msg199036

Please move if necessary :)
2236
T-Clock / Re: T-Clock 2010 (alpha - download)
« Last post by ewemoa on March 20, 2010, 08:26 PM »
1. Broken Timer Test Sound Button Bugg.
 2. Can't Add 2nd Timer if First is Running Bugg.
Verified locally  :Thmbsup:  ...and the Test button even stops the sound being tested.

I tried the Stopwatch feature a bit. 

I like the lap feature and the ms updating :)

It looks like you can create multiple instances -- is that intentional?

If so, here's something:

1. Open a stopwatch window and move it away from where it appears a bit
2. Press the start button for the stopwatch
3. Open another stopwatch window
4. Press the stop button for the first stop watch
5. Press the start button for the second stopwatch

After step 5, I observe the first stopwatch starting and as you might expect, I expected the second stopwatch to start instead.
2237
T-Clock / Re: T-Clock 2010 (alpha - download)
« Last post by ewemoa on March 19, 2010, 07:08 PM »
Tabbing Issue was actually with Virtual PC. After I restarted the whole shebang it started working just fine.
Congratulations -- it seems it wasn't your code :)

1. Deleting a running timer, also stops said timer.

Seems to be working.

2. Deleting a timer no longer scrambles all of the other configured timers.

I was going to test this, and went to create a second timer, but the Start button was disabled...This is not by design, right?

After a timer expired, I was able to create a new one and start that.  Then I was able to select the first one to start that too.  Scrambling seems to not have happened.

3. Removed excess MessageBoxes (that weren't actually supposed to be there - oops!).

Darn it!  How do I get them to appear now?  ;)

4. Fixed ... Tab Order issue.

Much nicer!

5. Entering out-of-range time data is now auto-converted to its D:HH:MM:SS equivelents

6. Timer Status message now reflects the above ... - This will eventually be a "Live" counter.

I am seeing appropriate values in the status dialog for the timer  :Thmbsup:  (I see that if I specify 2 minutes and 120 seconds in the dialog for creating timers, the numbers I specified are preserved in the dialog upon subsequent viewing.  Perhaps this is a nice feature.)

7. Timers that were running on program shutdown are automatically reset so they don't get stuck as unstartable.

So what currently happens is that one can still start them up, but they don't auto-resume.  Is that correct?  That's my interpretation of what I'm observing.  Definitely seems good to be able to start them again!

8. Some other stuff I can't remember at the moment.

I'm not finding any obvious non-trivial effect of pressing the "Test" (triangle) button (I imagine I'm supposed to hear the specified sound -- I'm not hearing the corresponding sound upon pressing the button though).  I don't remember whether this worked before and I've removed my older T-Clock -- oops.
2238
Find And Run Robot / Re: Windows Key ONLY for hotkey
« Last post by ewemoa on March 19, 2010, 06:43 PM »
You can do it with AutoHotkey. I found a solution in this thread: http://www.autohotke...orum/topic46323.html

Excellent find!  Thanks for sharing  :Thmbsup:
2239
T-Clock / Re: T-Clock 2010 (alpha - download)
« Last post by ewemoa on March 19, 2010, 06:32 PM »
Code: C++ [Select]
  1. if(day > 42) day = 7; // It was either Hitchhikers Guide to the Galaxy -or- the 49.7 day bugg :-)

Ha ha ha ha ha  :D

Now you can stick anything anywhere & it'll convert it for you on-the-fly as needed.

Sounds good to me  :Thmbsup:

Hopefully I'll have a new build ready sometime this weekend.

Good luck!  Err, I guess this happened while I was composing this response.../me goes off to download.
2240
T-Clock / Re: T-Clock 2010 (alpha - download)
« Last post by ewemoa on March 18, 2010, 07:49 AM »
60 - 100 seconds timer?
Yup.  As a somewhat vague example, there are these sites that make you wait before letting you do certain things, and if you miss a window of opportunity you are made to wait another period of time.  It has been my experience that the quoted wait times are often communicated in seconds.  I've seen 500 seconds wait times, FWIW.

I ganged all the spinner controls together so that clicking up on 59 seconds would automatically set minutes to one. So as each spinner reaches it max (or min) value, it will start updating its neighbor control.
Aha.  Thanks for the explanation. 

A little more detail on what I did:

I put the focus in the seconds field, entered 100 and subsequently used tab to visit other fields, ensuring that the other time fields were 0.  From what I can see, tabbing off of the seconds field does not appear to update the time fields.  At the time when I click on the start button, what I see for time values consists of:

  0 Days
  0 Hours
  0 Minutes
  100 Seconds

If I visit the Timer dialog subsequently and copy-paste the seconds value elsewhere, I see a value of 65595.

I can pull that (update yer neighbor) part if it's to confusing/annoying - or try tweaking it for clarity if it's saveable.
I'm not sure yet.  There is an element of convenience to having the conversion done automatically.

For comparison...
For reference, in a former life, I wrote a timer plugin for some program.  The method I used there for specifying times was purely via a single text field.  Some examples of expressions I supported were:

     1h20m4s (1 hour 20 min 4 sec)
     4m3s (4 min 3 sec)
     500s (500 seconds)

     1:30 (1 min 30 sec)
     2:30:10 (2 hours 30 min 10 sec)

     3 (3 min)
     1.5 (1 min 30 sec)
     20r (every 20 minutes)

The main emphasis was on being able to quickly create timers -- and to be honest, I find not having to tab to different controls more convenient for specifying times from scratch.  However, I think that visually speaking, the spinner arrangement in T-Clock provides a stabler, more normalized feeling.  I think it may be nicer for editing existing timers, and as far as reading an existing time specification is concerned I think it may be better than a single text field.  (Perhaps a potentially nice addition might be for the dialog to also display at what time a timer will expire.)


I noticed that if I press the X button to remove a timer without stopping it first, it still appears under the T-Clock Timers submenu.  After the timer expires, it goes away, but I guess there's no straight-forward way to get at it to stop it.  Am I missing something obvious may be?

For future consideration
Ah, one more thing I forgot to mention in my previous post.  After I deleted all timers, leave the timer dialog, and return to it, the File text field is empty (which makes some sense).  Unfortunately, though, clicking on "..." brings up a File Open dialog pointing initially at the directory for the T-Clock binary.  If it's doable, perhaps it'd be more convenient to have the directory location point to the most recently used location for a timer with a sound.  What do you think?

2241
Find And Run Robot / Re: FARR.setInterval(id, millisecond, pFunc);
« Last post by ewemoa on March 18, 2010, 03:40 AM »
I hope this topic is appropriate :)

I'd like to be able to use the return value of a Date object's getTime method for the id of setInterval.  I think currently it may cause an overflow -- at least that's the sort of message I'm getting via Script Debugger.

Would this be an easy / worthwhile change to setInterval in fscript.dll?

I'm currently using version 1.20 -- at least that's what the file's properties indicate.

Thanks for the consideration -- and below is a quote from MDC's documentation on Date objects:

getTime
    Returns the numeric value of the specified date as the number of milliseconds since January 1, 1970, 00:00:00 UTC (negative for prior times).
2242
T-Clock / Re: T-Clock 2010 (alpha - download)
« Last post by ewemoa on March 17, 2010, 11:37 PM »
I tested a bit w/ the content of:

  T-Clock 2010 (alpha -2- Release to DC).zip

10-second timer worked -- at least, when I specified a .wav file, I heard something at what seemed like around 10 seconds  :Thmbsup:

60-second and 100-second timers seem to give me times rather longer than 60 or 100 seconds (at least when I choose the timer from the context menu, the dialog box that comes up says something like 18:wx:yz).  Being able to specify values greater than or equal to 60 for seconds is a good feature IMHO because sometimes we are quoted values from external sources, and not having to manually convert those values to set timers would be much appreciated :)

Tab order among fields for the Timer dialog seemed odd to me.  Here's the order I observed for when there are no timers yet:

Time Name text field
Minutes numeric field
File text field
... button
Test button
Repeat checkbox
Blink checkbox
Start button
Cancel button
Seconds numeric field
Hours numeric field
Days numeric field
2243
Interesting idea.

I was looking through the documentation and backend.ini and the following thoughts occurred:

I use a set up that aspires to be portable and one of the things I do is to launch PStart from a batch file after booting.  The batch file sets some environment variables which then become available to programs I launch via PStart (and I launch FARR from PStart, so FARR gets them too as well as programs launched from FARR).

One of the environment variables I set is called DRIVE and it's set up in the batch file as:

set DRIVE=%~d0%

and subsequent environment variables refer to DRIVE.  I also have an environment variable named PAR (for portable applications root), which is set as:

set PAR=%DRIVE%\apps

In backend.ini I notice you have:

#app_drive_letter#:

as well as:

_apps

I didn't read backend's source, but if it doesn't already, do you think it might be useful for it to handle environment variables?  My recent thinking is that file and folder path information stored by programs being wired to absolute (or even relative, though that seems a bit nicer) paths is an unhappy situation waiting to happen -- and I've been thinking that environment variable support for such things might lead to happier results.

What do you think?
2244
This tool written by ladiko over at the AHK forum not only gives you more options when compiling your AHK scripts but also has an option to NOT use UPX.

http://www.autohotkey.com/forum/viewtopic.php?t=22975&highlight=compile
-Apathetic_Coding (January 10, 2010, 01:20 PM)

FWIW, I've been using this for a few things and it seems pretty decent.  Thanks for pointing this out :)
2245
T-Clock / Re: T-Clock 2010 (alpha - download)
« Last post by ewemoa on March 13, 2010, 04:03 PM »
So far it's working fine here in Windows XP SP3 :)

(Ah, what do you know -- looking at T-Clock 2010 reminded me it's Pi day.)
2246
How does that work? It seems rather magical to me.

Some excerpted text:

fabricate lets you simply type run('command', 'arg1', 'arg2'), and it will run the command and figure out its dependencies (and outputs) automatically. Next time it'll only actually execute the command if those dependencies have changed (or the outputs have been modified or don't exist).

It finds dependencies by one of two methods:

    * strace: fabricate first tries to use the Linux strace command to log system calls to open() and determines what files were read and modified that way. This is the original method used by Bill McCloskey's memoize.
    * File access times (atimes): Some systems (Windows) don't have strace, and in that case fabricate looks at the atimes of files before and after the command was run, and from those can figure out which files each command accesses. It also uses file modification times (mtimes) to determine the command's output files. It's fast and simple, and it works on NTFS, FAT32 (thanks to some tricks), as well as Linux file systems that have atimes enabled.

I found the above text at the HowItWorks page.  There is further text there including a warning for use on Windows systems :)
2247
Thanks for posting about this.

I've started migrating a couple of small projects from custom windows/msdos batch scripts to using fabricate.  (Perhaps I should give SCons a try at some point, but I'm all for starting out with simpler (meant in a good way here!) options first.)

I'm not sure if I'm making good use of it, but for FWIW, I'm finding it much easier to use Python (compared to using batch scripts) to manage building exes, preparing an archive file for distribution, running tests, etc.

For reference, the kinds of things this has helped in gluing together include:

  ahk2exe.exe
  7z.exe
  jsl.exe
  mkdir
  copy
  rmdir

I thought I'd mention some things I found useful:

  using shell() w/ shell=True seemed to make certain things function better
  using shell() w/ silent=False was nice as it allowed getting output from tests
  use '*list' in calls to shell() to handle command lines of the form:

    this.exe file1.js ... fileN.js

  where list is:

    ['file1.js', ..., 'fileN.js']

  the call to shell() would look like:

    shell('this.exe', *list)

  which IIUC is similar to:

    shell('this.exe', 'file1.js', ..., 'fileN.js')

Nice to have source to discover these things (especially when my doc-reading skills don't succeed) :)

Anyway, thanks again!
2248
I think I'd tried the following instructions from the first post of the TinyEV topic with some success:

Prefix your search with a dollar sign to use regular expression search.

Does that work for you?

I think this works out to typing something like:

ev $^fi.*x$

for things that start with:

fi

continue with some other text and end with:

x
2249
Developer's Corner / Re: Parsing / Filtering text
« Last post by ewemoa on March 07, 2010, 09:23 PM »
Here are some samples of using "The Regex Coach" to study regular expressions:

Specify Regular Expression and Target String
1. Specify Regular Expression and Target String.png

Observe Tree Analysis of Regular Expression
2. Observe Tree Analysis of Regular Expression.png

Specify Replacement String
3. Specify Replacement String.png

Step Through Regular Expression Evaluation
4. Step Through Regular Expression Evaluation.png
2250
FARR Plugins and Aliases / Re: CHM2Alias
« Last post by ewemoa on March 03, 2010, 07:23 AM »
Regarding easier access to one's MyCustom alias directory...

I made an alias with the following result:

  %CONFIGDIR%\AliasGroups\MyCustom

Using this alias, FARR opens my MyCustom aliases directory.  I guess CHM2Alias could provide this alias...
Pages: prev1 ... 85 86 87 88 89 [90] 91 92 93 94 95 ... 113next