DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: FarSubScript : Pixsy  (Read 9,897 times)

verszipo

  • Member
  • Joined in 2009
  • **
  • Posts: 26
    • Plugin Coding Medal
FarSubScript : Pixsy
« on: January 15, 2014, 04:23 PM »
I played a little with Pixsy.Net and the Chrome browser addon and i thought it would be interesting to add the functionality to FARR.

Pixsy has a strange way of working, when you search for something it doesn't directly redirect the browser, it returns a string containing instructions on what should be done (I suspect it's in JSON format, but i'm not certain).
Usage :
pix <command><space>
or
pix <command><enter>

For example : pix .g wolf will search for "wolf" using "google.com" while pix .y wolf will search for "wolf" using "yahoo.com", look at Pixsy's Syntax for more info.

There are still some bugs in it, the most notable ones are :
- after pressing Enter at the end of the search string FARR looses focus and the editbox from Pixsy page gets the focus

Note : this script requires FarSubScript, make sure you have it installed and working in FARR.

Install :
extract the content of the archive into a subfolder under the Scripts folder of FARR (for example : plugins\Pixsy) and either write "goreload" in FARR (this will reload all plugins) or restart FARR.

If anybody wants to improve the script feel free to do so.

Note : I didn't include the source in this post (you'll have to download the attached ZIP file) because it's quite long.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: FarSubScript : Pixsy
« Reply #1 on: January 18, 2014, 04:07 AM »
Looks cool, Verszipo, I'll give it a try and report  :Thmbsup:

Original address: https://www.donationcoder.com/forum/index.php?topic=37032.0