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:03 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 ... 94 95 96 97 98 [99] 100 101 102 103 104 ... 113next
2451
Developer's Corner / Re: Firefox Addons Developer Guide published
« Last post by ewemoa on March 12, 2009, 07:08 PM »
Do you mean the ones referenced at the following?

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

FWIW, I had some luck w/ the first one -- at least I didn't have any difficulty using it to complete the first programming school assignment for an FF extension.  May be it changed?
2452
Find And Run Robot / Re: custom file explorer ?
« Last post by ewemoa on March 12, 2009, 07:02 PM »
I still don't have a good idea about how to handle precedence resolution -- and as far as I understand, there are many other entities on the planet capable of thought ;)
2453
Congratulations for figuring out the issue -- and thanks for your efforts of investigation :)

I am looking forward to the next version of Shape Collage -- hope work on that goes well!

Thanks again for Shape Collage  :Thmbsup:
2454
Find And Run Robot / Re: Alt+P hotkey broken?
« Last post by ewemoa on March 11, 2009, 08:45 AM »
Ah, that makes sense.
2455
Find And Run Robot / Re: Alt+P hotkey broken?
« Last post by ewemoa on March 11, 2009, 07:35 AM »
for medium to fast typists, those hotkeys are triggered when using ctrl+space or alt+space (to trigger FARR)

I disabled them via the Hotkeys section of FARR's Options dialog -- does that not work for you?

Or may be I am not understanding something here...
2456
I wish you luck with your investigation!

FWIW, I don't know if it will be of any help but I've seen different numbers appear in the error dialog from the GIMP depending on the collage I make.
2457
Thanks for this edition!

Side note: you mean the errors discovered are not part of a contest to see who is paying appropriate attention?  ;)  Reminds me of "Find the Fake Ad" (or some such) from Games magazine...
2458
Thanks for the response -- and sorry it has taken me a bit to respond.

I believe that GIMP and Photoshop have a file size limit (2GB if I recall correctly) and there is also a limit on the resolution (something like 20,000 pixels in either of the dimensions).  Both programs will fail to open PSD files that exceed these limits.

Thanks for this information -- I don't get the sense I'm running up against these limits in my case.

If you send me your PSD file, I can take a look, but it should be in a format that GIMP can open.

Thanks for the offer.  I've been working on trying to create a collage for which I experience the problem that I don't mind sending :)  What I have learned in further experimentation is that I can create single image collages that fails to load in the GIMP and I have successfully created some that do load ok.  When I experience the problem, what I see the GIMP saying (I've tried w/ version 2.6.1, 2.6.3, and 2.6.5) is something like:

Error loading PSD file: Unsupported compression mode <some number>

where <some number> seems to differ depending on input images.

Ah, and now the processing resources at my disposal appear to have finished their work -- attached, please find an archive with a jpeg source image and a ShapeCollage-generated PSD file for which I experience the difficulty.
2459
Nice!

I have successfully made some collages -- though in one case I got an exception while saving (didn't manage to reproduce this though -- and sorry, no stack trace, intend to try to hang onto the next one if it happens again).

I also saved as PSD w/ the hopes of changing the positions of some of the photo images manually, but I didn't succeed in opening the file using the GIMP.  My limited understanding of PSD support in the GIMP is that the GIMP can manage to cope with some PSD files but not all.  Is it practical to output either a format which the GIMP could handle (in which editing is practical) or change the characteristics of the PSD within Shape Collage in a way that would make it editable via the GIMP?

Thanks for your consideration -- and Shape Collage  :Thmbsup:
2460
mouser told me that the way Cody's body works isn't quite the same as certain other organisms...
2461
I hope to see more of you

Sorry, silly attempt at humor -- nothing to see here, please move along  :P
2462
Ah, we appear to have a cloner among us  ;)

I should have known, having a nick like that!
2463
Living Room / Re: Tech News Weekly: Edition 09-09
« Last post by ewemoa on March 05, 2009, 12:30 AM »
I've spent more time than I care to admit searching for an alternative. At this point, I'm willing to concede that one doesn't currently exist.

I'm resigned to it being the kind of search I repeat every so often ;)  Some day though I think something appropriate may turn up.
2464
To continue the OT bit a bit...

Well, FWIW, the second result for me when I type:

sg php

is:

PHP Function Lookup - $2

Does that do it for you?
2465
Living Room / Re: Tech News Weekly: Edition 09-09
« Last post by ewemoa on March 04, 2009, 06:25 AM »
Thanks for this week's!

Re: 4 and 7 -- possibly  :Thmbsup: ?

Re: 6 -- I've been looking for a replacement for some time, but I still haven't succeeded...I wonder if this will help something turn up.
2466
I thought to use the lib_ffi (which is a wrapper that allow script language to call native code ) to allow jscript to call any native functions. However this is a bit laborious to bind with active scripting since nobody seem to have done that before. I'm not sure there is that many functions that would be useful.

This sounds interesting.  May be I will try to find out more about it.

You also have the FARR.getObject function available that give you access to the wmi objects.

I guess if I understood WMI better I might find this attractive :)  Perhaps it is worth learning more about.

You also have sockets in the recent version. You could implement the functionnalities in a server and communicate via sockets.

Hmm, may be -- I don't suppose you have some sample code? ;)

You could also use another script language that come with libraries that allow many more things than the jscript allow.

This was my original leaning, but the main problem w/ this in my opinion is that the attractive languages to me would be Python, Perl, or Ruby (possibly a few others) -- but none of them ship w/ Windows.  That seems to imply one of:

  • users installing the languages
  • providing plugins that contain code created w/ things like py2exe, perl2exe, rubyscript2exe, and the like

The former I can say from experience working on another FARR-like project that it doesn't tend to work out so well.  The latter I am guessing tends to create rather large plugins (and possibly bloating FARR's runtime footprint?).

I'd be glad to be wrong about using other scripting languages -- may be there is something I'm missing.
2467
Considering the plugin ideas, the timing of the triggering of the mechanism for generating the content of the #filecontents file is unclear for me -- doing it each time the alias is about to be used seems potentially problematic.  Depending on the case, a periodic execution might be sufficient but I'm hazy on this.

I'm not so clear on the benefits of having a network version of #filecontents if one of the earlier plugin ideas of using an external script or some code are implemented.  Similarly for the suffix and prefix support -- these also seem doable via one of the earlier plugin ideas.

On a side note, have you tried:

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

for searching php functions? ;)
2468
Find And Run Robot / Re: #filecontents FILEPATH -- how does it work?
« Last post by ewemoa on March 04, 2009, 01:15 AM »
I'm not sure I'm following Nod5's idea very clearly.

Reflecting on the following bits from the perspective of a plugin implementation:

a textfile (e.g. C:\test\test.txt ) that includes paths to other files. Each such included path is then listed as a result in FARR when the alias runs.

That is combine the results from the .txt (placed first in the results) AND the results from a FARR search (placed last).

The first bit raises the question of how the plugin finds which file to work w/:

  • via a special file extension?
  • via a user variable setting made by the user?
  • via a specific directory (or multiple directories) to look in?
  • or some other means...

The second bit has me wondering about how to ensure that all items from the file (.txt or something else appropriate) appear before all other results.  Very large score inflation?

Any thoughts?
2469
Thanks for the feedback.

A bit wary w.r.t. .NET regarding deployment among other things -- I don't suppose Mono can be used to achieve similar results (although even if possible, may be this approach would also have similar characteristics -- e.g. size)...not turning up anything yet on this.  Perhaps I will keep looking :)
2470
Thanks for the tutorial  ;D

I wonder if there is anything interesting that could be done by:

  • Set up an alias using #filecontents pointing to some file (call it A)
  • Use a plugin to generate the content of a temporary file -- eventually to replace A
  • When the temporary file construction is complete, move / copy it over A
2471
FARR Plugins and Aliases / Re: FARR plugin: Bakko
« Last post by ewemoa on March 02, 2009, 10:31 PM »
The detection of +sall/+alias/-alias currently uses regular expressions and it's probably not quite right.

I was thinking that may be applying:

FARR.getStrValue("Search.keywords")

appropriately might work better.  (I use it in the Akete plugin and there it seems to be fine.)

However, I noticed that the return value doesn't appear to contain the leading + or - characters.

Any chance there's some other existing (reliable) method of obtaining the keywords along w/ the leading (+/-) characters?
2472
I've been looking for an easy way [1] to create ActiveX objects so that FScript JScript plugins can get access to more functionality.  I haven't found a good way yet, but one thing that looks promising is hinted at in the section titled "Creating a COM component" in the following (plus perhaps using something like py2exe or cx_Freeze):

  http://stormcoders.b...com-with-python.html

I haven't manage to get it working yet (not sure what I'm doing wrong), but I'm wondering if anyone else has tried anything similar or has a better idea.

Any thoughts?


[1] Preferably doable w/ free tools, no nasty license agreements to accept, straight-forward to code, etc.
2473
FARR Plugins and Aliases / Re: FARR plugin: Bakko
« Last post by ewemoa on March 02, 2009, 08:47 PM »
I made similar transformations for +alias and -alias.  (I wonder if it's going too far to remove +alias if adding -alias and vice versa...)

Then I noticed that the tray icon for Bakko disappeared after I used -alias  :D
2474
FARR Plugins and Aliases / Re: FARR plugin: Bakko
« Last post by ewemoa on March 02, 2009, 07:36 PM »
Here's a proof-of-concept implementation (showall.js) -- no icon and some problems exist, but FWIW:

Code: Javascript [Select]
  1. /*global params, pu */ // jslint be quiet
  2. (function () {
  3.   var name;
  4.   // NOTE: no spaces in name
  5.   name = "ShowALLResults";
  6.   function caption(stxt) {
  7.     return "Show All Results";
  8.   }
  9.   function hint(stxt) {
  10.     return ""; // XXX
  11.   }
  12.   function icon(stxt) {
  13.     return pu.pidir + "\\icons\\showall.ico";
  14.   }
  15.   function launch(stxt) {
  16.     return "farr://pcommand " +
  17.            aliasstr + " " +
  18.            "xform " +
  19.            name + " " + // NOTE: no spaces in name
  20.            stxt;
  21.   }
  22.   function display(stxt) {
  23.     var m;
  24.     // XXX: need a better regexp?
  25.     m = /\+sall/.exec(stxt);
  26.     if (m !== null) {
  27.       return false;
  28.     } else {
  29.       return true;
  30.     }
  31.   }
  32.   function code(argtxt) {
  33.     return argtxt + " +sall";
  34.   }
  35.   return {name: name,
  36.           caption: caption,
  37.           hint: hint,
  38.           icon: icon,
  39.           launch: launch,
  40.           display: display,
  41.           code: code};
  42. } ());
2475
FARR Plugins and Aliases / Re: FARR plugin: Bakko
« Last post by ewemoa on March 02, 2009, 07:25 PM »
IIUC, what is suggested is to take something like:

FindAndRunRobot.exe

and change it into:

FindAndRunRobot.exe +sall

Does that sound about right and if so is there any difference whether +sall is prepended or appended?

I guess the other ones listed under "Special Search Modifier Keywords" could be done too...
Pages: prev1 ... 94 95 96 97 98 [99] 100 101 102 103 104 ... 113next