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 ... 81 82 83 84 85 [86] 87 88 89 90 91 ... 113next
2126
Living Room / Re: two-monitors ergonomics
« Last post by ewemoa on June 01, 2010, 08:36 PM »
Isn't Eizo a Japanese company?

https://secure.wikim...kipedia/en/wiki/Eizo
2127
Thank you, mouser, for the update and your continued efforts  :Thmbsup:
2128
General Software Discussion / Re: Shortcut Creator
« Last post by ewemoa on June 01, 2010, 06:38 PM »
Also, not quite what was requested, but FWIW, here's what I have locally:

1. Select something in Windows Explorer

1.select-in-windows-explorer.png

2. Bring up tool via a hotkey, choose relevant menu item, and destination

2.bring-up-tool-with-shortcut-and-choose-destination.png
2129
Screenshot Captor / Re: Screenshot Captor Splice Tool
« Last post by ewemoa on June 01, 2010, 05:21 PM »
Looks nice  :Thmbsup:

I didn't see a hotkey listed on the menu item during the screencast -- is there a hidden one or an option to configure one?
2130
Living Room / Re: Sprocket Rocket: Very cool flash physics game
« Last post by ewemoa on May 31, 2010, 06:14 PM »
Reminds me a bit of Robot Odyssey.
2131
Living Room / Re: What books are you reading?
« Last post by ewemoa on May 31, 2010, 04:52 AM »
I'm slowly making my way through The Art of Unix Programming and so far have been finding it worthwhile.

artu.png

Thanks to mouser for pointing it out recently  :Thmbsup:
2132
Find And Run Robot / Re: FARR crashes after installing AltTab plugin
« Last post by ewemoa on May 30, 2010, 06:02 PM »
IIUC, most plugins live in their own folder under <somewhere>\FindAndRunRobot\Plugins and disabling can be done by moving the specific plugin's folder to some other location (while FARR is not running).

In the current case it looks like the folder to move is:

  C:\Program Files (x86)\FindAndRunRobot\Plugins\FARRAltTab

FWIW, it's a procedure I have gone through multiple times with some success, but under Windows XP.
2133
Find And Run Robot / Re: How can I use appshowappendmemo
« Last post by ewemoa on May 18, 2010, 07:01 AM »
I believe what mouser meant by:

don't believe everything you read in a help file, there is no such command "appshowappendmemo"
there is however "appcapappendmemo"

is that the help file is buggy :)
2134
Find And Run Robot / Re: dragging search results into a tool on the toolbar
« Last post by ewemoa on May 18, 2010, 04:28 AM »
I think I tried something similarly recently and didn't get it working either.
2135
Find And Run Robot / Re: How can I use appshowappendmemo
« Last post by ewemoa on May 17, 2010, 12:02 AM »
I didn't figure out how to get this to work either and am interested in seeing an example as well :)
2136
Don't know how much help I might be, but I've taken a brief look at format.pl.

One thing I wondered about was its specification of utf8 in the input and output from/to files:

Code: Perl [Select]
  1. open TXT, "<:utf8", "page_txt.txt";
  2. open BOX, "<:utf8", "page_box.txt";
  3. ...
  4. binmode(STDOUT, ":utf8");

I'm not experienced with AHK in that realm, but have the sense that that might present a tricky (or at least not-so-trivial) situation.

My impression so far with the rest of the script is that it doesn't look too bad.  May be if we can get close enough, help might arrive for any remaining difficulties :)

Do you have any sample input files and corresponding expected output that I might test with?
2137
Find And Run Robot / Re: Req: Ctrl+backspace to delete from cursor position
« Last post by ewemoa on May 15, 2010, 11:29 PM »
lanux128, I am not finding the hack to work in the following situation.

extraction-wizard-select-a-destination-dialog.png

Without the hack running, Control+LeftArrow at the end of the path field will move the cursor to the beginning of the field.

Before:
  C:\WINDOWS\System32|

After:
  |C:\WINDOWS\System32

where | shows the cursor position.

Contrast this with Windows Explorer's address field where the result is that the cursor moves to the right of the last backslash.

Before:
  C:\WINDOWS\System32|

After:
  C:\WINDOWS\|System32

Without the hack running, do you happen to know some general keystrokes that would move the cursor to the right of the last backslash in the Extraction Wizard dialog?  More generally, moving the cursor to the first backslash to the left of the current cursor position :)

I'd rather not do things that involve copying the text, analyzing the content, and sending arrow keys to get this to work...
2138
Post New Requests Here / Re: Compare 2 files and list differences...
« Last post by ewemoa on May 15, 2010, 06:43 PM »
2139
Finished Programs / Re: DONE: FFBookmarkUnpacker
« Last post by ewemoa on May 15, 2010, 05:52 PM »
Sounds interesting.

...
unpacks Firefox 3 bookmarks.html boomarks as .url files and subfolders
...
This is an easy way to have FF3 bookmarks show up in FARR and Everything.
So does that mean FARR's non-contiguous matching can be applied to find a candidate folder which might contain a bookmark for which I'm having trouble remembering any matching strings for? :)
2140
An example for latest topic at DC forums:

webgrab donationcoder - latest topic | pcommand webgrab https://www.donationcoder.com/forum/index.php?action=rtopicsdense;sort=creation `Creation Date</td>[^<]+</tr></tr><tr><td colspan="5"><hr/></td></tr>[^<]+<tr>[^<]+<td align="right" valign="middle" nowrap="nowrap" class="smalltext">\[([^\]]+)\]</td>[^<]+<td valign="top" class="orangemed"><a href="([^"]+)">([^<]+)</a></td>` `[%1] <a href="%2">%3</a>` html

This is just for illustration purposes, FarrWebMetaSearch might be more appropriate for this type of thing (especially if you want to see more than one topic).
2141
Below is another example use:

webgrab donationcoder | pcommand webgrab https://www.donationcoder.com `<!-- DCAP- LEFTSIDEBAR TOP SUPERSHORT -->[^<]+<p class="sph">([^<]+)</p>[^<]+<p class="sp"><img src="[^"]+" alt=""/>([^<]+)</p>[^<]+<p class="sp"><a href\s*=\s*"([^"]+)">([^<]+)</a></p>` `%1 %2 <a href="https://www.donationcoder.com%3">%4</a>` html

Note that when constructing regular expressions, one may have less problems if working off of the original HTML source from the server and not the "processed" version.  Specifically, under Firefox, "View Selection Source" will provide "DOM Source of Selection", while "View Page Source" will give something that is closer to (if not) the original HTML source.  There were at least two differences that showed up while working on the example above.
2142
Skrommel's Software / Re: Skrommel Apps Re-uploaded!
« Last post by ewemoa on May 15, 2010, 02:39 AM »
Thank you Skrommel!
2143
Living Room / Re: zen and the art of file and folder organisation
« Last post by ewemoa on May 14, 2010, 06:03 PM »
I haven't finished reading the article yet, but I am finding some good bits along the way.

As an example, I think tip #34 on Settings touches on an area that I wish more applications would take into consideration.

Thanks for sharing this post  :Thmbsup:
2144
Living Room / Re: zen and the art of file and folder organisation
« Last post by ewemoa on May 13, 2010, 10:53 PM »
Many files and folders I create or obtain start off on my Desktop.
2145
Find And Run Robot / Re: Req: Ctrl+backspace to delete from cursor position
« Last post by ewemoa on May 13, 2010, 07:31 PM »
Perhaps a new topic is in order?

FWIW, the following is something that tries to work with a wider selection of controls:

  http://ewemoa.dcmemb...mp/CtrlBSDelHack.exe

SHA1: 7e808d15300c9bfb40e6b66d09f0893a112a6432
2146
Find And Run Robot / Re: Req: Ctrl+backspace to delete from cursor position
« Last post by ewemoa on May 13, 2010, 09:23 AM »
i found a program (mIRC) where this scripts doesn't work.. :(
Well it is not surprising to me :)  The current code is deliberately made to be a bit focused on where it's supposed to work.

FWIW, the code from which this descends only checked controls with class "Edit".  FARR doesn't use that for its main edit box IIUC, so I changed what it checks for.  I also modified it to check the window class as the original request was for FARR and I didn't want this to affect too many other things.

I agree that a more general tool would be interesting, but haven't given it much consideration yet.

Don't know if you have AutoHotkey_L to test, but may be this will work...not as a replacement tool, but as something temporary to run separately as a test
Code: AutoIt [Select]
  1. #If ActiveControlIsOfClassAndWindowIsOfClass("Edit", "mIRC")
  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. }

2147
is there a way to display only part of page i mean something like this

i add sutom alias i.e. http://www.ling.pl/indexalt.php?word=$$1
and i know that important part of html that i want to see in application window is between <div id='main'></div>
is there a way to put only this part in my Find and Run Robot window?

i understand tha i can sometimes need to load the whole page to display site correctly
but is there a way to hide everything besides interesting part "<div id='main'></div>"

Depending on what it is you want to do, I think you may be disappointed in Webgrab.  The plugin lets you extract information from HTML and reformat, but it's not going to get you images, style sheets, etc.

But, FWIW, below is the latest:

  http://ewemoa.dcmemb....com/tmp/Webgrab.zip

SHA1: 6e83bda1a192dfee82b1a1e94458de89ab071c80

Usage has changed since earlier.  A snippet from the included README.txt:

  In the 'Result(s) - programs, ...' text area of the Edit Alias Dialog, one might specify:

    pcommand webgrab http://www.urbandict...com/define.php?term=$$u1 `<table id='entries'>([\s\S]*)<div id='paginator'>` `%1` html

  The URL (what to get) is:

    http://www.urbandict...com/define.php?term=$$u1

the regular expression (what to pay attention to) is:

    <table id='entries'>([\s\S]*)<div id='paginator'>

and the template string (how to present) is:

    %1

  N.B. The latter two are surrounded by backticks ` to help the plugin understand what information it is being given.

  This example alias ends with:

    html

which tells Webgrab to display the results as HTML.

  This example makes use of user input, so it is important to specify an appropriate value for "Regular Expression Pattern".  For example, if "Alias Trigger Text" has the value:

    testwg

  One might specify a value of:

    ^testwg (.*)

  for "Regular Expression Pattern".

  Reminder: a backtick character ` is used for quoting the regular expression and the formatting template.

The README.txt contains more detail and examples.

Please note that the backtick character ` (the backwards single quote) is used for surrounding the regular expression and the template string.
2148
mouser found plenty of things to improve in the latest available version so I'm working on addressing some of those things.

Hope to have some news on this before long.
2149
The version of Webgrab mentioned in the aforementioned topic is dated.  Below is a link to one that seems to work for some cases:

  http://ewemoa.dcmemb....com/tmp/Webgrab.zip

Usage:

  webgrab <url> {<regular-expression>} "<template-string>"

Example:
         
  webgrab http://www.weather.c.../weather/local/08080 {<div class="ccTemp">(\d+)} "Temperature in your town is %1 degrees"

If there is interest, perhaps this version can be modified appropriately or a separate implementation can be attempted.
2150
The following has some possibly related info:

  https://www.donationcoder.com/forum/index.php?topic=12128.msg137164#msg137164
Pages: prev1 ... 81 82 83 84 85 [86] 87 88 89 90 91 ... 113next