Latest posts of: ChrisVN -
HOME | Blog | Software | Reviews and Features | Forum | Help | Donate
Click here to
donate and join now!
Welcome Guest.   Make a donation to an author on the site April 17, 2015, 10:23:24 PM  *

Please login or register.
Or did you miss your validation email?

Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.

You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
The N.A.N.Y. Challenge 2011! Download 30+ custom programs!
  Forum Home Thread Marks Chat! Downloads Search Login Register  
  Show Posts
      View this member's profile 
      donate to someone Donate to this member 
Pages: [1]
1 Software / FARR Plugins and Aliases / Re: Timer - closed on: March 03, 2009, 03:36:24 AM
thanks a lot - downloaded the czb_pack  smiley
2 Software / FARR Plugins and Aliases / Re: Timer on: March 03, 2009, 03:06:26 AM
The link seems to be broken!?
-> 404 Not Found
    The requested URL /Plugins/Timer/ was not found on this server.

is there a new URL to download the plugin?
3 Software / FARR Plugins and Aliases / Re: FScript Javascript SDK - Write FARR plugins in javascript and more. on: March 02, 2009, 02:19:48 PM
Special thanks to ewemoa - 2 of your tips did the trick  cheesy

Trick #1: Python v3 is NOT working
After installing Python 2.6 the plug-in showed up in the list

Trick #2: Python requires the whole signature for onSearchBegin
Even though the java script samples don't use the whole signature, python seems to need all parameters including "modifierstring" and "triggermethod"

A big 'thank you' for the useful tips
now I can go on and experience the new possibilities.
4 Software / FARR Plugins and Aliases / Re: FScript Javascript SDK - Write FARR plugins in javascript and more. on: March 02, 2009, 03:40:05 AM
[1] I didn't even notice the plugin appearing...
This is exactly what happend to me at first.
(I don't know what has changed that the plugin finally showed up)

-> Seems like I will have to work with Python v2.6

But I will also try this at first:
Ah, I didn't mention this earlier, but my sense of the corrupt text was that this happens if some of certain variables (e.g. releasedatestring) are not defined.
5 Software / FARR Plugins and Aliases / Re: FScript Javascript SDK - Write FARR plugins in javascript and more. on: March 02, 2009, 02:57:39 AM
Thanks again

Tonight I will try out the suggested signature for onSearchBegin:
def onSearchBegin(querykey, explicit, queryraw, querynokeyword,
                  modifierstring, triggermethod):

6 Software / FARR Plugins and Aliases / Re: FScript Javascript SDK - Write FARR plugins in javascript and more. on: March 02, 2009, 02:46:21 AM
Thanks for the tips so far.

I will try the newest version of FScript and I will also try to get TodoTXT running.
I don't like the idea of downgrading to Python v2.x - but if we are running out of ideas I will also test this one.

Any other suggestions?
7 Software / FARR Plugins and Aliases / Can you help me getting started with a Pyhton script? on: March 01, 2009, 07:26:39 AM

First of all:
Thanks for FARR and FScript. I like controlling the PC with the keyboard - so this is a perfect tool  smiley

As a former programmer I like the idea of extending the functionality with Python scripts.
I have been searching for a while for a reason to start learning Pyhton  Wink

So: I am new to FARR and Python and got stuck in the beginning.

What I tried to do: I converted the sample ruby-script to the Pyhton syntax.
BUT: the plugin doesn't show up at all in the list of plugins
OR: the proberties of the plugin only contain strange characters like ??????? (see attachted screenshot)

My Setup:
 - Windows Vista
 - ActiveState Python v3
 - FScript dll v1.8.0.0

I created a directory with those files:
c:\Program Files\FARR\Plugins\TESTPython\FScript.dll
c:\Program Files\FARR\Plugins\TESTPython\FScript.ico
c:\Program Files\FARR\Plugins\TESTPython\

At this point I have no idea what the problem is  tellme
Any ideas to help me?


this is the pyhton script:

Formatted for Python with the GeSHI Syntax Highlighter [copy or print]
  1. displayname="TESTPython"
  2. versionstring="0.0.1"
  3. author="Author"
  4. iconfilename="FScript.ico"
  5. aliasstr="ttt"
  6. regexstr=""
  7. regexfilterstr=""
  8. keywordstr=""
  9. scorestr="300"
  11. # type
  13. # Postprocessing
  15. # search state constants
  18. def onSearchBegin(querykey, explicit, queryraw, querynokeyword):
  19.  FARR.setState(querykey,SEARCHING) #start search
  20.  #   return result to farr  (queryID,       , title                            ,path                            , icon                         , entrytype=FILE , resultpostprocessing=2        ,  score=300)
  21.  FARR.emitResult(querykey,"python TITLE", "python PATH", iconfilename, ALIAS    ,IMMEDIATE_DISPLAY ,5000)
  22.  FARR.setState(querykey,STOPPED) #stopped search
Pages: [1] | About Us Forum | Powered by SMF
[ Page time: 0.046s | Server load: 0.17 ]

Share on Facebook
submit to reddit