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:42 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 ... 82 83 84 85 86 [87] 88 89 90 91 92 ... 113next
2151
Find And Run Robot / Re: Req: Ctrl+backspace to delete from cursor position
« Last post by ewemoa on May 12, 2010, 04:41 PM »
As I understand it, the way this works has to do with the class of the control (and now also that of the window the control lives in).  If those match, it seems like it may work.  For reference:

  http://www.autohotkey.net/~Lexikos/AutoHotkey_L/docs/commands/_If.htm

Here is the source of the latest (not uploaded version)

Code: AutoIt [Select]
  1. #If ActiveControlIsOfClassAndWindowIsOfClass("TEdit", "TMainForm")
  2. {
  3.   ^BS::Send ^+{Left}{Del}
  4.   ^Del::Send ^+{Right}{Del}
  5. }
  6. #If
  7.  
  8. ActiveControlIsOfClassAndWindowIsOfClass(CClass, WClass)
  9. {
  10.   ControlGetFocus, FocusedControl, A
  11.   ControlGet, FocusedControlHwnd, Hwnd, , % FocusedControl, A
  12.   WinGetClass, FocusedControlClass, % "ahk_id " . FocusedControlHwnd
  13.   WinGet, Hwnd, ID, A
  14.   WinGetClass, FocusedWindowClass, % "ahk_id " . Hwnd
  15.   Return (FocusedControlClass = CClass) and (FocusedWindowClass = WClass)
  16. }

You may have noticed that this code may apply for some non-FARR apps too.

2152
Find And Run Robot / Re: Req: Ctrl+backspace to delete from cursor position
« Last post by ewemoa on May 12, 2010, 08:37 AM »
Hope it works out ok for you.

More detail than you probably care for
The code is a modification of one of the AutoHotkey_L examples for its #If directive and should apply to all TEdit controls.

I've made a version which also checks that the window is of class TMainForm, so if the first version gives any trouble, there's something else to try :)

2153
Find And Run Robot / Re: Req: Ctrl+backspace to delete from cursor position
« Last post by ewemoa on May 11, 2010, 08:49 AM »
I agree with skajfes and present exhibit A:

  https://www.donation....msg195526#msg195526
2154
Find And Run Robot / Re: Req: Ctrl+backspace to delete from cursor position
« Last post by ewemoa on May 11, 2010, 07:39 AM »
I would like this too.  I think something similar was mentioned at:

  https://www.donation...ex.php?topic=18120.0

Here's a little hack to demo the desired behavior:

  http://ewemoa.dcmemb...FARRCtrlBSDelFix.exe

SHA1: 8cbc04eaf82a8b403657e94366afe887d4a08a70

Control+Delete behavior is also changed.  It's a quick hack so be warned :)

(It's done using AutoHotkey_L in case you feel like decompiling, messing around and recompiling.)
2155
General Software Discussion / Re: Connection refused? Where to look ...
« Last post by ewemoa on May 08, 2010, 10:20 PM »
Have you tried gathering data via Wireshark?
2156
Skrommel's Software / Re: all links for software are broken
« Last post by ewemoa on May 08, 2010, 05:40 AM »
Hmm, no apparent difference in results here.  Still get a similar-looking dialog: "EXE corrupted" when I try to run the resulting exe.  FWIW, the original exe does run fine.
2157
Skrommel's Software / Re: all links for software are broken
« Last post by ewemoa on May 08, 2010, 05:32 AM »
The decompression seemed to worked for me too, but when trying to run the resulting .exe,  there was a dialog box that said something about the exe being corrupted.  I only used the -d option which overwrites the original file.  May be I'll try what you suggested.  Thanks.
2158
Skrommel's Software / Re: all links for software are broken
« Last post by ewemoa on May 08, 2010, 04:55 AM »
maybe the current exe files can decompressed without recompiling? upx allows decompression unless it's password-protected.
BTW, I tried this today on 100 or so of Skrommel's tools and didn't have luck with any of them.  Has any one else tried?  If any of you are/were successful, would you mind sharing the command line options you used?
2159
May be you know the following already, but FWIW:

IIRC, QS used MacOS X's Accessibility API for this (at least at one point).  For Windows, there's:

  http://msdn.microsof...indows/bb735024.aspx

with interesting-sounding tibdits like "UI Automation".  Don't know if any of that would be useful in the current context though.

AHK has WinMenuSelectItem and here's some extract from its docs:

...However, some windows might need to be in a non-minimized state.

This command will not work with applications that use non-standard menu bars. Examples include Microsoft Outlook and Outlook Express, which use disguised toolbars for their menu bars. In these cases, consider using ControlSend or PostMessage , which should be able to interact with some of these non-standard menu bars.

May be some of those things in combination with %LASTHWND% would let a plugin or alias do something relevant.
2160
Thanks!  I uploaded an updated version.
2161
Hope it's been working for you and you've made progress on your mouse issue :)

BTW, would you mind if I swapped in your icons and make those "official"?
2162
General Software Discussion / Re: XML editor
« Last post by ewemoa on May 05, 2010, 06:45 PM »
Thanks for this suggestion, daddydave.

Unfortunately, my attempts at trying the software out without running the installer ended in vain.
2163
Mouser's Zone / Re: Mouser Software Update Batch (Screenshot Captor, etc.)
« Last post by ewemoa on May 05, 2010, 06:29 PM »
Thanks for your continued work on these  :Thmbsup:
2164
Do you know if it works on 64 bit versions of Windows?  It doesn't mention 64 bit on the product page.
I didn't manage to determine this via some searching.

As far as making info available to FolderCache is concerned, some kind of merging is what I currently have in mind.  No point in duplicating paths.  Perhaps there is some date / time info (may be the last accessed or modification info for FolderCache.txt?) that can be leveraged for this purpose.

Also you need to make sure FolderCache is not running while you do this since it rewrites the FolderCache.txt on closing.
The situations under which it occurred to me to use this is when FolderCache has not been running, so ordinarily it doesn't seem like it'd be a problem, but thanks for the warning.  It'd be good to check for a running FolderCache.  For reference, the cases I have considered so far are:

  • When you first install FolderCache
  • While performing maintenance / debugging of some sort, it's not unusual for me to shut down a lot of utilities -- sometimes I stop certain things and not others and don't always remember to restart everything (though I wrote a little utility that's been helping me to "fill in the missing processes").
  • Accidental process killing without noticing

I am happy to report that I have not yet witnessed FolderCache crashing on its own :)

A few lines of batch should do it depending on what you have to do to format the output of the ShellBagsView. 
He he.  I will probably avoid batch as I still find it hard to use -- though it's nice that I don't typically need to install anything extra.  (I find coming back to batch good from time to time -- it helps in my appreciation of other programming languages.)

By having your lines first in the FolderCache.txt file they won't be discarded because the stack has reached its limit.  They will be the last entries pushed on.
Thanks for this explanation.

edit: looking at the output I don't see what the information is.  It shows the root of the folder opened for all I can see.  A bunch of C:  X: F: with no particular folder info.. unless something escapes me.
Interesting -- I typically get full path info, though not always.  My current leaning is just to work with full path information, at least to start with.  Hmm, a random thought -- if FolderCache could be handed folder info from other programs (e.g. via command line invocation) whether it's running or not, may be that'd open up some interesting possibilities...

edit2: Sifting through registry mish mash, esp. 32 vs 64 bit is not my thing.  That's why I do the active window in the first place.  If you can some up with something yourself I'd be curious to see it though. :)
If ShellBagsView isn't managing to extract anything useful, my first inclination would be after doing some further testing and searching to see if others had similar experiences, to try to bug Nir Sofer about it -- I think sifting through registry stuff is one of his things :)
2165
btw you may want to try ReOpen instead.  I find sometimes I type a substring in the input filter and I don't get a result in the folder list, but sometimes a recent program that lives in that folder is still in the program list.  Then I can highlight it, press Alt Left Click to paste it into the input line.  Once there I can backspace out the program part to get the folder.

Thanks for the suggestion.  For the particular case of folders that contain applications, I have an existing method of coping :)

I also cheat by using Everything Search.  If I type in a folder name and come up dry, then I hit ^c to kick off the hotkey search, which I have set to open Everything Search... then the contents of the input filter edit line are sent as a macro.

Interesting tip -- I have Everything Search installed but I haven't used it much outside of testing and troubleshooting for the FARR TinyEv plugin.  May be I should investigate it some more.

Returning for a moment to FolderCache I was looking at FolderCache.txt and thinking how similar it is to the output you can get from ShellBagsView from NirSoft.

After choosing to show only the Path and Last Modified Time columns in ShellBagsView (this is a one-time thing), using the following command line invocation, you can get a list of path-date pairs (separated by tabs) sorted with most recent first:

shellbagsview.exe /sort "~Last Modified Time" /stab result.txt

By sending this through some appropriate light processing (drop the tab and the second column), perhaps one can end up with something that FolderCache can use. 

May be for the case where for whatever reason FolderCache doesn't happen to be running this could be useful.  One would feed FolderCache ShellBagsView-originating-but-appropriately-transformed-output (possibly doing some kind of analysis of / merging with FolderCache.txt) and then perhaps it'd be as if FolderCache had been running all along.

What do you think?
2166
Find And Run Robot / Re: How to use pskill with farr
« Last post by ewemoa on May 04, 2010, 07:45 PM »
BTW, as soon as I type pskill, I see a value filled in for %cliptext%:

farr-pskill-alias-2.png

(I noticed that the value I saw in the results was not necessarily that which was in my clipboard -- perhaps there's some caching somewhere?.)
2167
He he, MilesAhead, I confess I have been a FolderCache user for a bit :Thmbsup:
2168
Find And Run Robot / Re: How to use pskill with farr
« Last post by ewemoa on May 04, 2010, 05:59 PM »
putnum, after you made changes to your alias, did you close the options dialog and do "goareload"?  IIUC, this sort of thing will help to ensure the changes you made are understood by FARR (if I've got the specifics wrong, may be someone can point that out).

FWIW, below is roughly what my FARR main window looks like using the alias in question.

farr-pskill-alias.png
2169
Find And Run Robot / Re: How to use pskill with farr
« Last post by ewemoa on May 04, 2010, 05:22 PM »
when i go and type the process name the search string goes away

I don't quite follow this.  Would you mind elaborating on this in more detail?  Perhaps some screenshots or video?

cannot start pskill
-putnum

I failed to mention in my post that I used the full path to pskill.exe in:

Result(s): pskill \\%cliptext% $$1

Sorry about that.  Perhaps that has something to do with it?
2170
Find And Run Robot / Re: How to use pskill with farr
« Last post by ewemoa on May 04, 2010, 04:02 PM »
Looking at a Windows Sysinternals PsKill page, I guess you want to end up with an alias that gets filled in to look like:

  pskill \\SomeComputer SomeProcess.exe

I had difficulty with this [1], but the following seems to work.

In the Edit Group Alias dialog box:

  Alias Trigger Text: pskill
  Regular Expression Pattern: ^pskill (.*)
  Result(s): pskill \\%cliptext% $$1

Does it work for you?

References


May be taichimaster's ProcessKill plugin works only for local processes?


[1] I didn't have success getting %clipboard% to work though %cliptext% seemed to.

Update: Added nitrix-ud's topic to list of references.
2171
General Software Discussion / Re: XML editor
« Last post by ewemoa on May 04, 2010, 01:35 PM »
If you are looking for a portable xml editor then have a look at Firstobject XML Editor
Thanks for this suggestion, PhilB66.

Some initial notes:

  • Universal Extractor seems to have worked on it [1].
  • Feels light and speedy.
  • Help seems unheavy -- though it took me a few moments to figure out how to close it.
  • Nice that there is (initially) an option in preferences to choose whether to store settings in the same folder as the exe or in some user-related folder -- a bit odd-feeling (though somewhat understandable) that I no longer seem to have access to this setting
  • Didn't notice any registry activity.
  • Seemed to work fine with FARR's .alias files


[1] Sorry, I failed to mention in my previous posts in this thread that I have updated the innoup.exe that comes with my Universal Extractor, so if you encounter any difficulties, please consider updating the exe via innounp.
2172
Developer's Corner / Re: Resources for learning git?
« Last post by ewemoa on May 04, 2010, 07:47 AM »
Perhaps for bit-by-bit learning the following will come in handy:

  http://gitready.com/

Edit: Doh!  I had posted a link for a Mercurial resource -- amended...
2173
Developer's Corner / Re: Resources for learning Mercurial?
« Last post by ewemoa on May 04, 2010, 07:46 AM »
Perhaps for bit-by-bit learning the following will come in handy:

  http://hgtip.com/
2174
FARR Plugins and Aliases / Re: FARR plugin: FARR Windows Search 0.1.0
« Last post by ewemoa on May 04, 2010, 02:59 AM »
I also get a propsys.dll error on Windows XP Pro SP3 -- I don't have Windows Search installed and had assumed that was a factor.  May be it's something different?
2175
General Software Discussion / Re: XML editor
« Last post by ewemoa on May 04, 2010, 01:39 AM »
Thanks for posting this, MilesAhead.

Some initial notes:

  • Source appears available.
  • A bit on the large side, but Universal Extractor seems to handle this one ok too.
  • Some registry-writing for this one, but that may be because it is using Qt.
  • Mmm, Python (console) and plugins :)
  • Seems fairly speedy, though the help seems a bit heavy.

Seems like fun for hackers  :Thmbsup:

Edit: just minor formatting changes
Pages: prev1 ... 82 83 84 85 86 [87] 88 89 90 91 92 ... 113next