topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Wednesday November 12, 2025, 11:31 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 ... 30 31 32 33 34 [35] 36 37 38 39 40 ... 63next
851
FARR Plugins and Aliases / Re: FScript 1.19 Issues
« Last post by Perry Mowbray on September 20, 2009, 09:27 PM »
I'm beginning to understand what the  'f' in fscript really stands for  :o

I thought you already knew it was fantastic?  :P
852
FARR Plugins and Aliases / Re: idea: FARR plugin school / tutorial / wiki
« Last post by Perry Mowbray on September 18, 2009, 10:20 AM »
I wouldn't stop there either... why not include skins as well?
853
FARR Plugins and Aliases / Re: FScript 1.19 Issues
« Last post by Perry Mowbray on September 18, 2009, 10:18 AM »
ecaradec has just got back to me about this onProcessTrigger issue.

He suggested that onProcessTriggerV2 be tried: and it works!

OK: Problem not solved but easily worked around. I have not tested the other languages, so I'm not sure if they affected in the same way; but if you are using something apart from javaScript and onProcessTrigger is not being called - Try onProcessTriggerV2

Thanks ecaradec  :-*
854
so to make your plugin only try to handle it's own -- you check thispluginid vs pluginid and ignore it if they don't match -- UNLESS you are writing a plugin that is trying to take over all launching.

All good in that regard: just had to correct the example.

But I've discovered that FScript has also lost its ability to Trigger vbScripts  :(  :(   :(
855
FARR Plugins and Aliases / FScript 1.19 Issues
« Last post by Perry Mowbray on September 18, 2009, 06:12 AM »
I've been updating my plugins to the latest version of FScript (as requested in this thread).

First plugin went fine after I figured out what was going on.

So I headed onto #2 and it hasn't gone as smoothly as I'd hoped  :(

Plugin #2 uses vbScript, and worked fine in the previous versions of FScript that I was using. But after upgrading to 1.19 I think that FScript is not calling the onProcessTrigger function.

So I decided to start at the beginning, and I've converted the original javaScript examples to vbScript. I've attached them, if anybody else wants to check.

Note: I've left the signature for onProcessTrigger as was supplied with the original sample, but I've tried the other signature that works with my javaScript plugin without success.
856
And then test your plugin and make sure it all works fine, and then upload a new version with the new fscript and let us know it's updated.

TimeZone is done  :Thmbsup: (this turned out better than I hoped!!)
857
i *think*, if i remember correctly, that what you are experiencing is that farr/fsscript call onprocesstrigger differently, and a minor change is needed to your code now to test if indeed it should trigger or not.  i believe this is the source of the incompatibilities which is why we need to get everyone updated.  let me talk to ecaradec and czb and see if i cant post instructions on how the change should be implemented.  it's something minor and its my fault.

OK: I think I've found it... the short answer is to add the following code to onProcessTrigger:
Code: Javascript [Select]
  1. if(pluginid!=thispluginid){
  2.                         return 0;
  3.                 }

The longer answer follows...  ;)

I downloaded the latest FScriptSample (http://e.craft.free....es/FScriptSample.rar) and placed it into FARR's Plugin directory, and then replaced the dll with the latest version 1.19 (http://e.craft.free....ipt/1.19/fscript.dll).

I'm not actually sure where I got it from now (can't seem to find it anywhere  :-\ :-[), but the onProcessTrigger I ended up with was:
Code: Javascript [Select]
  1. function onProcessTrigger(path, caption, groupname, pluginid, thispluginid,score, entrytype, args, triggermode) {
  2.                 if(triggermode!=TM_EXPLICIT){
  3.                         return 0;
  4.                 }
  5.     counter++;
  6.     FARR.setStrValue("setsearch", "fscript");
  7.     return HANDLED;
  8. }

The above code didn't work at all (counter never changed) so I added the following (format changes for readability):
Code: Javascript [Select]
  1. FARR.debug("Path: " + path +
  2.                     "; Caption: " + caption +
  3.                     "; GroupName: " + groupname +
  4.                     "; PluginID: " + pluginid +
  5.                     "; ThisPlugin: " + thispluginid +
  6.                     "; Score: " + score +
  7.                     "; EntryType: " + entrytype +
  8.                     "; Args: " + args +
  9.                     "; TriggerMode: " + triggermode)

When launching a spreadsheet this was displayed:
Screenshot - 17_09_2009 , 9_26_14 PM.png
When launching FScriptSample this was displayed:
Screenshot - 17_09_2009 , 9_27_40 PM.png

From that I assumed that PluginID should equal ThisPluginID and changed the code to:
Code: Javascript [Select]
  1. function onProcessTrigger(path, caption, groupname, pluginid, thispluginid,score, entrytype, args, triggermode) {
  2.                 if(pluginid!=thispluginid){
  3.                         return 0;
  4.                 }
  5.                 FARR.debug("Path: " + path + "; Caption: " + caption + "; GroupName: " + groupname + "; PluginID: " + pluginid + "; ThisPlugin: " + thispluginid + "; Score: " + score + "; EntryType: " + entrytype + "Args: " + args + "; TriggerMode: " + triggermode)
  6.     counter++;
  7.     FARR.setStrValue("setsearch", "fscript");
  8.     return HANDLED;
  9. }

With that the Plugin correctly returned 0 when called when launching the spreadsheet, and incremented counter correctly and displayed the following:
Screenshot - 17_09_2009 , 9_31_15 PM.png

Concerning the mystery of where I got the version of onProcessTrigger...
The version that is distributed with the (latest) sample is:
Code: Javascript [Select]
  1. HANDLED=1; CLOSE=2;
  2. function onProcessTrigger(path, caption) {
  3.     counter++;
  4.     FARR.setStrValue("setsearch", "fscript");
  5.     return HANDLED;
  6. }

This version works for FScriptSample, but other triggers don't work: (eg can't run the spreadsheet, just get Hello).

I've searched everywhere for the version that I used, but can't find it anywhere, but I must have got it somewhere... But some of the parameters don't seem to get filled: which is confusing.
858
I don't subscribe to Time, so I wasn't overly worried (or stressed)  ;)
859
i *think*, if i remember correctly, that what you are experiencing is that farr/fsscript call onprocesstrigger differently, and a minor change is needed to your code now to test if indeed it should trigger or not.  i believe this is the source of the incompatibilities which is why we need to get everyone updated.  let me talk to ecaradec and czb and see if i cant post instructions on how the change should be implemented.  it's something minor and its my fault.

Thanks: appreciate it. That was what I thought but I could not get a confirmation on the code to use.
860
what doesn't work?

Does that mean I Don't Know is coming next?

I did try to convert my TimeZone plugin to use 1.18 or 1.19 but had lots of issues. From memory onProcessTrigger was being called in TimeZone for each Trigger in FARR (regardless if the Search trigger was a result of a TimeZone search).

I was PM'ing ecaradec, but it never got resolved  :( So I gave up and kept using the one that worked.

Recent thought: could other plugins on my system be mucking it up??
861
And what do I do if it doesn't work?  :(
862
Living Room / Re: The unspoken truth about managing geeks
« Last post by Perry Mowbray on September 13, 2009, 08:30 AM »
The company I'm with now runs everything IT through IT. The HR folk get to weed out the drunks, junkies, & ex McDonald's employees ... and then pass the (much smaller) stack to IT to decided if the skill sets match closely enough. I've sat in on several interviews & played 20 questions with candidates to gauge how much (if any) of there history has been (Um...) "embelished"... The end result is that we have very little (almost no) turn over staff wise.

That's a great outcome. Currently I'm in local government so everything has to be open, transparent, done in triplicate, then probably redone in quadruplicate, etc: but we get a similar result... most of our turnover comes from staff wanting better pay &/or conditions rather than being a poor choice :(
863
Living Room / Re: Carrier Pigeon faster than commercial ISP
« Last post by Perry Mowbray on September 13, 2009, 06:02 AM »
The story may be true, but who wants to carry a pigeon?

Somebody p-mailing the recipe of Pigeon Pie to a pie maker?
864
Living Room / Re: The unspoken truth about managing geeks
« Last post by Perry Mowbray on September 13, 2009, 01:02 AM »
True: I have not re-read the article, but he did make the distinction between Companies with an IT focus and all others.

Our panels are only 3, so IT would really only sit on IT roles; but if it had a strong IT function then there would be a strong case of having our 3rd "independent" as an IT person.

But I don't think we do it at all well: still very hit and miss. My role is very IT based (though not technically in IT) and there was no IT representation on my panel. Maybe a good thing?  :-[
865
Living Room / Re: The unspoken truth about managing geeks
« Last post by Perry Mowbray on September 13, 2009, 12:15 AM »
What kind of feedback can you provide in an interview scenario Perry? I thought the suggestion was a bit much because I couldn't think of any helpful advice IT could offer HR (other than "This person has no idea about IT, don't hire them!!" of course :P). I'd be interested to know what IT can offer in that context.

Our panels consider technical merit and organisational fit, and rarely say "don't hire them", more just ranks them below the hire cut off  ;)

I thought that the article was directly talking about hiring managers of IT depts at that stage?
866
Living Room / Re: The unspoken truth about managing geeks
« Last post by Perry Mowbray on September 11, 2009, 04:09 AM »
Thanks  :Thmbsup:

It gets a bit much toward the end (ask IT to sit in on new hire interviews?..please)

I actually thought that was quite relevant, it's what we do in our organisation. One of the people who sat on my interview panel was someone who's position I'd be supervising (not that I got my head around that in the interview  :-[)
867
FARR Plugins and Aliases / Re: idea: FARR plugin school / tutorial / wiki
« Last post by Perry Mowbray on September 08, 2009, 09:49 AM »
Actually I'll be happy with any name... It is possible to create it ?

Me too  :D
868
FARR Plugins and Aliases / Re: FARR Plugin: TimeZone [Update version 1.1.0]
« Last post by Perry Mowbray on September 08, 2009, 08:55 AM »
thanks, that will be very useful. it would save me a lot of scrolling in the 'cities' crop-down list. :)

Have a look at the new version... It wont lessen the scrolling, but it does add Custom URLs to the Favourites so at least you can navigate to the right DateAndTime.com page  :)

I've also added a new alias "tzs" that will search TimeAndDate for the required location (if it's not available in the drop-down list).

Hope that helps  :-\

BTW:
1. the drop-down list will read keypresses to highlight the next node starting with the keypress.
2. You weren't wanting more than 5 favourites??
869
FARR Plugins and Aliases / Re: FARR Plugin: TimeZone [Update version 1.0.1]
« Last post by Perry Mowbray on September 06, 2009, 10:18 PM »
And I'll also have a look at adding the possibility of having custom cities  :D
870
FARR Plugins and Aliases / Re: FARR Plugin: TimeZone [Update version 1.0.1]
« Last post by Perry Mowbray on September 06, 2009, 06:21 AM »
for some reasons, Stuttgart is not listed on the "Cities" drop-down list. i tried the "TZ ReDownload" option several times but there is no change. i also tried adding the code (317) manually in the "timezone.ini" file but it shows only the local time. any clues to why this happens?

it's the oddity of the site: Stuttgard is not on their City page (I guess you can't have every city).

It must be the same timezone as Berlin? Make Berlin the Favourite and add "Stuttgart" as the Label and tick Replace ("Rep")

And, that's right: adding 317 as the URL doesn't work... I think I check the favourites against the data. Must admit that I didn't realise that they had "hidden" cities  :-\

871
Screenshot Captor / Re: Links to Reviews and Comments - Add yours!
« Last post by Perry Mowbray on August 17, 2009, 08:33 AM »
Gizmo have just pushed ScreenShot Captor up to #2 on their Best Screen Capture Utility list:

Screenshot - 17_08_2009 , 11_30_04 PM.png



from Gizmo's Freeware
872
Living Room / Re: Keyxoard Layouts
« Last post by Perry Mowbray on August 16, 2009, 04:25 AM »
Now all I need to do is get up the gumption to start learning to type with it.
 (see attachment in previous post)

Hey that's great to hear!!

I actually found it pretty easy. My main problem was that my fingers habitually went to the wrong keys.

I'm not sure what my speed is up to, as I have not done the tests in a while: but it was no where near as hard as I thought it would be! QWERTY seems very odd to me now, so I think that must mean that the cross-over is complete?

I just realized that that graphic was your keyboard!! Looks great! Well done: I'd be interested to hear how they wear...
873
Here is the current build installer that does not include any of the toolbars and other questionable content:
http://update.digsby...all/digsby_setup.exe

Thanks Carl, this is the link that I used when I originally installed Digsby way back when.

I'm a happy Digsby user, though I bypassed the install offers and have now turned off the research module.

I'd even consider turning on the research module if I had some say in what projects it was used on. I think I even read in their blog that their was some consideration of enabling online stats of what your computer had done and how much you've helped  :)
874
The AM/PM reporting gets out of sync sometimes.
I grabbed these two shots just far enough apart for the minute to roll over
but it's the am/pm indicators to which I refer. (see attachment in previous post)
-cranioscopical (April 29, 2009, 09:58 AM)

I'm happy to say that this bug is fixed in the version 1.0.1, available in the first post or from my TimeZone page.

Thanks Chris for sticking with this long enough for the penny to drop!  :wallbash: Tell me again why it's not obvious that 12 AM is hour number 0, not 12?!?
875
Developer's Corner / Re: AutoHotKey Tidy or equivalent?
« Last post by Perry Mowbray on August 06, 2009, 05:50 AM »
I use PSPad and I can be pretty untidy  :-[
Pages: prev1 ... 30 31 32 33 34 [35] 36 37 38 39 40 ... 63next