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:11 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 ... 92 93 94 95 96 [97] 98 99 100 101 102 ... 113next
2401
FWIW, I installed 2.10.01 and have been using it for some hours w/o noticing any problems.
2402
I've been wanting FARR to be able to handle these sorts of situations as I believe that may make it possible for FARR plugins to be written to customize such handling :)
2403
FWIW, there's a Wikipedia article that contains a couple of off-line references:

  https://secure.wikim...Application_software

May be those have some information regarding the history of the term (I didn't notice anything within the article during a quick scan of it)...
2404
FARR Plugins and Aliases / Re: An Extremely Simple Gmail Tasks Plugin
« Last post by ewemoa on March 28, 2009, 04:43 PM »
Looks interesting  :Thmbsup:

A quick side note: the included FScript.dll looks like it may be version 1.8.

FWIW, ecaradec recently posted a link to a more recent version with at least one fix (though I don't know if 1.8 had the issue being addressed):

  https://www.donation....msg156890#msg156890
2405
General Software Discussion / Re: Rambooster. Junk?
« Last post by ewemoa on March 27, 2009, 08:02 PM »
MB != GB?
2406
Find And Run Robot / Re: how does setuservar work ? [feature request ?]
« Last post by ewemoa on March 27, 2009, 08:27 AM »
Here's what happened for me using a plugin to try to leverage this functionality:

Code: Javascript [Select]
  1. FARR.setStrValue("launch", "setuservar Akete.test=hi");

I then observed the following text in the User Variables pane of the Options dialog box:

[setuservar Akete]
test = hi

May be I'm doing something wrong...

FWIW, I tested with FARR 2.53.02.
2407
Post New Requests Here / Re: Activation inside of Dialog
« Last post by ewemoa on March 26, 2009, 09:34 PM »
This sounds nice.

I hope it's possible as I think I could benefit from it working in Microsoft Script Debugger.
2408
FARR Plugins and Aliases / Re: FARR plugin: FARR Remember The Milk 0.4.5
« Last post by ewemoa on March 26, 2009, 09:03 AM »
Thanks for the update!
2409
Find And Run Robot / Re: last window id
« Last post by ewemoa on March 23, 2009, 07:20 AM »
Hurray!  Root folders (drives) seem to work for me now :Thmbsup:

I've noticed something odd.

Sometimes (?) I experience the following sequence:

  • Bring up FARR with the text edit field pre-filled w/ +fao (I have a hotkey configured for this)
  • Press the Home key
  • Type S:\
  • After I type the backslash, the cursor jumps to the end of the text in the text edit field (right after the 'o' in '+fao')

Any thoughts on why this might be happening?
2410
Developer's Corner / Re: What JavaScript libraries should I look at? Prototype?
« Last post by ewemoa on March 22, 2009, 11:53 PM »
If you have Python leanings and you don't want a lot of extra stuff, perhaps Mochikit is worth considering -- note the originator (this has meaning for Python fans, IMHO).
2411
Unfinished Requests / Re: EXISTS - IDEA: Regular Expression Helper
« Last post by ewemoa on March 22, 2009, 07:27 AM »
I didn't locate any posts w/ the following, so FWIW:

http://kodos.sourceforge.net/about.html
2412
Site/Forum Features / Re: Meta Survey Survey for Fundraiser Survey
« Last post by ewemoa on March 21, 2009, 07:19 PM »
"Have you smiled today?"

This is a fine question indeed  :Thmbsup:
2413
DcUpdater / Re: DcUpdater v2 Preliminary Flirtations
« Last post by ewemoa on March 21, 2009, 07:13 PM »
Thanks for the sample display!  I think it helps my feeble imagination.
* ewemoa hopes for checksums  ;)
2414
I've made something using Python's decorators.  I have the following code near the beginning of a plugin:

Code: Python [Select]
  1. import sys, traceback, pprint
  2.  
  3. # "advice" -- quick-and-dirty wrapping/instrumenting code
  4. #
  5. # to use, place @around before a function definition line.
  6. # for example, for a function f:
  7. #
  8. #   @around
  9. #   def f(arg1):
  10. #     print arg1
  11. #
  12. # based on code at:
  13. #   http://livingcode.org/2009/aspect-oriented-python
  14. def around(fn):
  15.   def wrapped(*args, **kws):
  16.     try:
  17.       return fn(*args, **kws)
  18.     except:
  19.       import pprint
  20.       xtype, value, tb = sys.exc_info()
  21.       trace = traceback.format_exception(xtype, value, tb)
  22.       tracestr = pprint.pformat(trace)
  23.       efname = plugindir() + "\\exception.txt"
  24.       f = open(efname, "w")
  25.       f.write(tracestr)
  26.       f.close()
  27.       FARR.setStrValue("launch", "notepad.exe " + efname)
  28.   return wrapped

Then example usage for onInit might be:

Code: Python [Select]
  1. @around
  2. def onInit(currentDirectory):
  3.   FARR.setStrValue("DisplayAlertMessage", "Know any perfect numbers?")
  4.   # XXX
  5.   1 / 0

That is, just place "@around" on the line preceding the first line of a function definition -- assuming you want the function in question "wrapped".

The basic idea seems ok -- but using "launch" w/ "showhtml" isn't working out so well for plugin reloads.  Looks like FARR quickly goes on to display the result of the plugins reloading so I don't get enough time to read the stack trace...

Edit: It's a bit ugly, but now the code writes exception information to a temporary file within the plugin directory and opens it using notepad.
2415
Find And Run Robot / Re: last window id
« Last post by ewemoa on March 21, 2009, 04:58 AM »
I don't have an answer to your question, but FWIW, the change you made is one I made as well :)
2416
Post New Requests Here / Re: IDEA: X Windows Style Death Mouse (xkill)
« Last post by ewemoa on March 21, 2009, 01:27 AM »
What I've been wondering is...how long before what we think of as a false positive turns out not to be...

I wish more authors would consider publishing crypto checksums (and then go ahead w/ it) -- it's not perfect but I think it works better than conversing about version X.Y.
2417
At the moment, I'm taking the wrap function bodies approach -- as an example, an onInit might look like:

Code: Python [Select]
  1. def onInit(currentDirectory):
  2.   try:
  3.     # XXX
  4.     1 / 0
  5.   except:
  6.     type, value, tb = sys.exc_info()
  7.     FARR.setStrValue("DisplayAlertMessage", repr(traceback.format_exception(type, value, tb)))

This is assuming something like the following also in an appropriate location in the code:

Code: Python [Select]
  1. import sys, traceback

DisplayAlertMessage is a bit tight on space, so I'm considering alternatives.  Perhaps bring up some browser window?  It'd be neat to display the stack trace, but also perhaps load the source for the file with the problem and highlight the problematic line.  Mmm, how to do that...

Doing this for each function sounds painful so I'm thinking of writing some code to appropriately "instrument" certain functions -- may be just the plugin entry points.  This code could then be placed so that it runs when the plugin is first loaded.

Any reflections?
2418
Living Room / Re: "50 Most Beautiful Icon Sets Created in 2008"
« Last post by ewemoa on March 20, 2009, 11:52 PM »
Yeah, I have a hard time imagining that it escaped the creator...
2419
General Software Discussion / Re: nice portable wiki
« Last post by ewemoa on March 20, 2009, 10:46 PM »
At least it seems Java can be carried around w/ some tweaking - I adapted the instructions at the following, and at least so far it seems to be working for me:

http://www.pendrivea...a-from-a-flashdrive/
2420
Find And Run Robot / Re: Browser script error?
« Last post by ewemoa on March 20, 2009, 10:41 PM »
On a side note, does anyone know of good solutions for creating automated tests for GUI apps?  Preferably free ;)
2421
Site/Forum Features / Re: Meta Survey Survey for Fundraiser Survey
« Last post by ewemoa on March 20, 2009, 05:30 PM »
I like having the "any questions we didn't ask but you'd like to answer anyway" question - or response option at the end of many :)
2422
I am starting to experiment more with writing plugins using Python.

My experience so far is that I do not know how to become aware of at least one type of runtime difficulty.  Specifically, I do not know that the plugin has aborted execution due to an exception being raised.  Tracking down relevant lines in the source code can become a chore with no hints!

Does any one have any ideas (other than wrap every function call body in try/except) about how to be alerted about runtime exceptions?  Any chance that FScript could make a stacktrace available (or may be it does already and I don't know where to look)?

For comparison, when this type of thing occurs for a JavaScript plugin, I am alerted by my local installation of MS Script Debugger...I went looking for something similar for Python, but so far I have not been successful in locating anything.

I hope someone has some good ideas regarding this situation :)

Edit: catch -> except ... oops ;)
2423
Find And Run Robot / Re: beta testing : some comments
« Last post by ewemoa on March 19, 2009, 06:06 AM »
FWIW, I was able to get %LASTURL% to give me something.

The way I tested was:

1. Invoke "kstools" from the Keyser plugin
2. Use the "Evaluate" transformation from the Bakko plugin on the following string:

FARR.getStrValue("resolve:%LASTURL%");

The result was an absolute path to a local file for this case.

Just my 2 local currency units ;)

2424
Find And Run Robot / Re: What happended to Ctrl+Alt+Enter?
« Last post by ewemoa on March 19, 2009, 03:44 AM »
Sounds like a koan ;)
2425
Find And Run Robot / Re: last window id
« Last post by ewemoa on March 19, 2009, 01:28 AM »
Have tested so far with some success:

  • %LASTURL%
  • %LASTURLSET%
  • %CUSTOMFILEBROWSER%
  • %CUSTOMWEBBROWSER%
  • %MAXRESULTS%
  • %MAXRESULTSDEF%
  • %MAXRESULTSEXT%

Edit: added two more
Pages: prev1 ... 92 93 94 95 96 [97] 98 99 100 101 102 ... 113next