Welcome Guest.   Make a donation to an author on the site July 29, 2014, 01:44:47 AM  *

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.
 
Read the full one-year retrospective report on DonationCoder.com.
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: Prev 1 2 3 4 5 6 [7] 8 9 10 11 12 Next   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: Post your FARR v2 Plugin Idea Requests Here - Plugin Writers Read In  (Read 115888 times)
mouser
First Author
Administrator
*****
Posts: 33,183



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #150 on: May 10, 2008, 10:56:55 PM »

sabot, we definitely need these plugin.  I have quite a few ideas for it too, how to make it even better by letting it search on tags as well as text.  eventually i'll have to code it if no one else does, but i'd also be happy to help someone else work on it.
Logged
joes_garage
Participant
*
Posts: 12


View Profile Give some DonationCredits to this forum member
« Reply #151 on: May 12, 2008, 06:34:10 PM »

Sabot: do you know about grep?  This venerable command line tool does exactly what you need, and then more!
http://en.wikipedia.org/wiki/Grep
Sadly, grep does not come by default with windows (bleh), but you can definitely install a version of it:
http://gnuwin32.sourceforge.net/packages/grep.htm

Hope that this can help make your city safer right this day!  ;-)

cheers,
Logged
sabot7726
Supporting Member
**
Posts: 27


View Profile Give some DonationCredits to this forum member
« Reply #152 on: May 12, 2008, 07:34:35 PM »

Ya I use grep a lot when I'm running through *nix logs, but the systems we use at work are windows based and therefore don't have grep handy.

Until if/when someone makes the farr plugin, I've been using baregrep with some success. I like how its able to bring me my results fast on the fly rather than a search or cmd line where I have to enter a string and hit enter. For my purposes, I may not know exactly what I'm looking for until I find it by randomly entering strings :p
Logged
kartal
Supporting Member
**
Posts: 1,529


View Profile Give some DonationCredits to this forum member
« Reply #153 on: May 12, 2008, 09:17:04 PM »

you can try this search. It has text file search and command line as well.

http://www.saleensoftware.com/?ref=scanfs
Logged
Armando
Charter Member
***
Posts: 2,674



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #154 on: May 12, 2008, 10:00:12 PM »

Nice find, Kartal  thumbs up
Mentioned a few times in the forum, but never tried it
Logged

"I suppose it can be said that I'm an absent-minded driver. It's true that I've driven through a number of red lights on occasion, but on the other hand, I've stopped at a lot of green ones but never gotten credit for it."
Glenn Gould
kartal
Supporting Member
**
Posts: 1,529


View Profile Give some DonationCredits to this forum member
« Reply #155 on: May 12, 2008, 10:08:23 PM »

Developer is very responsive as well
Logged
sabot7726
Supporting Member
**
Posts: 27


View Profile Give some DonationCredits to this forum member
« Reply #156 on: May 12, 2008, 10:47:07 PM »

I didn't see an option for it to return lines inside of a file though, did I miss that somewhere? I only saw it return file names that matched what I was searching for smiley
Logged
kartal
Supporting Member
**
Posts: 1,529


View Profile Give some DonationCredits to this forum member
« Reply #157 on: May 12, 2008, 10:55:10 PM »

search "file contents". You can also enable preview for text files.
Logged
mouser
First Author
Administrator
*****
Posts: 33,183



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #158 on: May 13, 2008, 01:17:32 PM »

I don't use twitter, but it seems to me that if there was ever a plugin that would be a natural for FARR, it's a twitter plugin.. doesnt anyone want to write this?
Logged
mouser
First Author
Administrator
*****
Posts: 33,183



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #159 on: May 16, 2008, 07:57:59 PM »

How about a plugin to work with "Remember the Milk":
http://www.rememberthemilk.com/services/api/

It's a web service that lets you set up reminders to yourself that will be emailed or sms'd to you, etc.

Similar: http://iwantsandy.com/
« Last Edit: May 16, 2008, 08:01:01 PM by mouser » Logged
kartal
Supporting Member
**
Posts: 1,529


View Profile Give some DonationCredits to this forum member
« Reply #160 on: May 16, 2008, 08:06:09 PM »

I personally think that spending time more on extending commandline and argument passing would be better spent. Because most of these websites offer basic connection to tools like curl. I successfully sent twitter messages from Farr using curl. It is just an alias. But RTM could be little more daunting for novice Farr user because you may need to define multiple inputs.

http://curl.haxx.se/
Logged
nitrix-ud
Charter Member
***
Posts: 482

View Profile Give some DonationCredits to this forum member
« Reply #161 on: May 17, 2008, 02:59:42 AM »

Quote
I personally think that spending time more on extending commandline and argument passing would be better spent. Because most of these websites offer basic connection to tools like curl. I successfully sent twitter messages from Farr using curl. It is just an alias. But RTM could be little more daunting for novice Farr user because you may need to define multiple inputs.

couldn't agree more, spending time on the core of FARR, adding aliases functionnalities, switches, ... would be great
i consider some of my aliases pretty much like plugins  cheesy

considering curl, i personnaly use external autohotkey scripts that i call from FARR :

here is one to save an url on your del.icio.us account (change name and password) :
this is pretty basic but does the job... first the names, then the tags...
Formatted for AutoIt with the GeSHI Syntax Highlighter [copy or print]
  1. OSD(text)
  2. {
  3.   #Persistent
  4.   ; borderless, no progressbar, font size 25, color text 009900
  5.   ;Progress, hide Y600 W1000 b zh0 cwFFFFFF FM50 CT00BB00,, %text%, AutoHotKeyProgressBar, Backlash BRK
  6.   Progress, hide b w400 zh0 cw000000 FM30 CTFFFFFF,, %text%, AutoHotKeyProgressBar, Backlash BRK
  7.   ;WinSet, TransColor, FFFFFF 255, AutoHotKeyProgressBar
  8.   DetectHiddenWindows, on
  9.  
  10.   WinSet, Transparent, 150, AutoHotKeyProgressBar
  11.   Progress, show
  12.   SetTimer, RemoveToolTip, 2000
  13.  
  14.   Return
  15.  
  16.  
  17. RemoveToolTip:
  18.   SetTimer, RemoveToolTip, Off
  19.   Progress, Off
  20.   return
  21. }
  22.  
  23. EncodeURL( p_data, p_reserved=true, p_encode=true )
  24. {
  25.   old_FormatInteger := A_FormatInteger
  26.   SetFormat, Integer, hex
  27.  
  28.   unsafe =
  29.      ( Join LTrim
  30.         25000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F20
  31.         22233C3E5B5C5D5E607B7C7D7F808182838485868788898A8B8C8D8E8F9091929394
  32.         95969798999A9B9C9D9E9FA0A1A2A3A4A5A6A7A8A9AAABACADAEAFB0B1B2B3B4B5B6
  33.         B7B8B9BABBBCBDBEBFC0C1C2C3C4C5C6C7C8C9CACBCCCDCECFD0D1D2D3D4D5D6D7D8
  34.         D9DADBDCDDDEDF7EE0E1E2E3E4E5E6E7E8E9EAEBECEDEEEFF0F1F2F3F4F5F6F7F8F9
  35.         FAFBFCFDFEFF
  36.      )
  37.  
  38.   if ( p_reserved )
  39.      unsafe = %unsafe%24262B2C2F3A3B3D3F40
  40.  
  41.   if ( p_encode )
  42.      loop, % StrLen( unsafe )//2
  43.      {
  44.         StringMid, token, unsafe, A_Index*2-1, 2
  45.         StringReplace, p_data, p_data, % Chr( "0x" token ), `%%token%, all
  46.      }
  47.   else
  48.      loop, % StrLen( unsafe )//2
  49.      {
  50.         StringMid, token, unsafe, A_Index*2-1, 2
  51.         StringReplace, p_data, p_data, `%%token%, % Chr( "0x" token ), all
  52.      }
  53.  
  54.   SetFormat, Integer, %old_FormatInteger%
  55.  
  56.   return, p_data
  57. }
  58.  
  59. DecodeURL( p_data )
  60. {
  61.   return, EncodeURL( p_data, true, false )
  62. }
  63.  
  64. dir_curl = C:\_Garbha\Program Files\curl
  65.  
  66. IfExist, %dir_curl%\log.txt
  67. FileDelete, %dir_curl%\log.txt
  68.  
  69. url = %1%
  70.  
  71. url := EncodeURL(url)
  72.  
  73.  
  74. InputBox, description, Description, Entrez la description,,150,100
  75. if !ErrorLevel
  76. {
  77. InputBox, tags, Tags, Entrez les tags avec des virgules,,150,100
  78. if !ErrorLevel
  79. {
  80.  
  81. description := EncodeURL(description)
  82. tags := EncodeURL(tags)
  83. RunWait, %dir_curl%\curl.exe -ku name:password "https://api.del.icio.us/v1/posts/add?url=%url%&description=%description%&tags=%tags%&replace=yes&shared=no" -o "%dir_curl%\log.txt",,hide
  84.  
  85. if !ErrorLevel {
  86.  
  87. Sleep, 1000
  88. FileRead, result, %dir_curl%\log.txt
  89.  
  90. if not ErrorLevel  ; Successfully loaded.
  91. {
  92. IfInString, result, "done"
  93. {
  94. OSD("URL saved")
  95. }
  96. else {
  97. OSD("Problem!!!")
  98. }
  99. Sleep, 500
  100. ExitApp
  101. }
  102.  
  103.  
  104.  
  105. }
  106. }
  107. }

in FARR : it is one of multiple results for the following regex trigger :
[copy or print]
^(https?://)?(([0-9a-z_!~*'().&=+$%-]+: )?[0-9a-z_!~*'().&=+$%-]+@)?(([0-9]{1,3}\.){3}[0-9]{1,3}|localhost|alextd|mickytd|([0-9a-z_!~*'()-]+\.)*([0-9a-z][0-9a-z-]{0,61})?[0-9a-z]\.[a-z]{2,6})(:[0-9]{1,4})?((/?)|(/[0-9a-z_!~*'().;?:@&=+$,%#-]+)+/?)$

Delicious___$$4$$8$$9 | C:\_joker\Utilities\Ahk\DeliciousPost.ahk "http://$$4$$8$$9" /ICON=icons\delicious.ico

THIS is the beauty of FARR, it is only one of multiple results, so when i have an URL in FARR, i can either save the it to del.icio.us, open it in opera or firefox, etc.
you really customize you experience Wink


... to the point... one fantastic addition to FARR would be the possibility to post variables to a website and open the resulting page
don't know how to do it with curl by the way, you post you get the resulting page but not in the browser...

on many search sites, you cannot send your search using get variables... i'd be great to be able to post your search... and see the resulting page
it would be easy to automate logging to a website (without using tools like roboform...)

« Last Edit: May 17, 2008, 03:02:12 AM by nitrix-ud » Logged
TucknDar
Charter Member
***
Posts: 1,094


Advanced coder of Nowt

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #162 on: May 18, 2008, 05:57:17 AM »

I'd love to see something similar to InstantNavigator for OneNote, which searches for specific notes. It behaves much like FARR, but I'd obviously prefer doing this through FARR and not run another app just for this.
Logged
s.newave
Supporting Member
**
Posts: 124


View Profile Give some DonationCredits to this forum member
« Reply #163 on: May 18, 2008, 04:53:35 PM »

Two more plugin requests:

1) a plugin that can run an exe with commandline parameters and capture its stdout and show it in results memo view (note that users could use this with the explicit dll invocation technique to make their own alias configurations that use your dll to run any commandline program and capture the output).

2) a plugin that can fetch a web page and then extract text from the webpage (using a regex mask) and display text (stripped of html) as farr result memo.  (again this should use the explicit dll invocation technique to let people configure their own aliases that fetch different pages and use different regex matches).  The uses for this one are practically unlimited.

note: i guess that #1 might benefit from a regex mask as well, making these two plugins 95% identical.

Wow #2 would be amazing  ohmy ohmy  Any progress on that front. As you say the uses for this, combined with the html viewer you mentioned in another thread, would be practically limitless. I wouldnt think it necessary to reinvent the wheel with a full browser inside farr however a scaled down html mode would be great. I can imagine using this for quick wiki searches, reviews, quick weather updates etc etc where all you need is some specific info from a html page without having the need to browse and follow links. It actually shouldnt be that hard to do as long as FARR could support html output cheesy

« Last Edit: May 19, 2008, 05:18:52 PM by s.newave » Logged
alivingspirit
Supporting Member
**
Posts: 165



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #164 on: May 22, 2008, 06:32:07 AM »

a plugin that makes it easy to search/browse and install plugins
Logged
czb
Moderator
*****
Posts: 335



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #165 on: May 22, 2008, 07:41:35 AM »

a plugin that makes it easy to search/browse and install plugins

Great idea. Mouser is going to add install option for plugins into Dcupdater, but I think it would be better as FARR plugin than to have special software for it. So when Mouser releases xml file for installing new plugins I will try to write FARR javascript plugin for searching/browsing and installing plugins
Logged

My open-source online piano game: http://musicope.com/
mouser
First Author
Administrator
*****
Posts: 33,183



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #166 on: May 22, 2008, 07:48:06 AM »

This may be a rare occasion where i disagree with czb -- I think this is something i can do more cleanly by building it into FARR or the update system.. i dont think it's something that should be optional and done via a plugin.  And most of all I don't think we should waste our precious and valuable czb coding time on it.. there are more important plugins to write that we NEED him for(!)
Logged
czb
Moderator
*****
Posts: 335



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #167 on: May 22, 2008, 07:51:30 AM »

I understand. I just do not like the idea of having Dcupdater for plugins only... it should be directly in FARR, so it would be easy to install Wink
Logged

My open-source online piano game: http://musicope.com/
mouser
First Author
Administrator
*****
Posts: 33,183



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #168 on: May 22, 2008, 08:06:19 AM »

To check the web for new plugins to install, my solution will require dcupdater.
But to install a new plugin for the first time that you have downloaded, i will add a function into FARR to let you browse for the zip and install it using just plain FARR.  Same with alias packs.
Logged
czb
Moderator
*****
Posts: 335



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #169 on: May 22, 2008, 08:11:40 AM »

and what about to create special FARR links on the web (similar to firefox plugins etc) and when you click on them FARR would be called and plugin installed automaticaly?
Logged

My open-source online piano game: http://musicope.com/
mouser
First Author
Administrator
*****
Posts: 33,183



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #170 on: May 22, 2008, 08:16:06 AM »

yeah i could do that through updater system.
Logged
Veign
Charter Honorary Member
***
Posts: 993



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #171 on: May 22, 2008, 01:38:43 PM »

How about a PHP function locator which lets me start typing 'php [function name]' and a list of matching function is provided and when selected takes me to the PHP.net website for that function (default browser).  If this is easy I could provide a function list to assist.

The format for locating a function at php.net is:
http://www.php.net/[function name]

so, to find information on strlen would be:
http://www.php.net/strlen

Plugin could be expanded to other languages as it would be a simple data file for the langauge syntax and a URL format to locate the information.  One data file could hold multiple languages in an array
Logged

kartal
Supporting Member
**
Posts: 1,529


View Profile Give some DonationCredits to this forum member
« Reply #172 on: May 22, 2008, 01:48:26 PM »

From my another post.

Maybe someone can create "auto alias" plugin which would go through desktop and start programs and create aliases for installed shortcuts. So for newbie users that would make things faster.
Logged
nitrix-ud
Charter Member
***
Posts: 482

View Profile Give some DonationCredits to this forum member
« Reply #173 on: May 22, 2008, 02:34:44 PM »

mouser, please read this Wink

Quote
How about a PHP function locator which lets me start typing 'php [function name]' and a list of matching function is provided and when selected takes me to the PHP.net website for that function (default browser).  If this is easy I could provide a function list to assist.
this is a good idea

there is a way to do it without any plugins, it is cumbersome but it works :

convert the functions list to text files (1 file = 1 function), can be easily done with autohotkey for instance...

add a search folder (to the text files...) with the following modifier keyword : folder_with_php_function_text_files (<=can be shorter  tongue)

add an action alias : open_browser
Open in browser $$1| C:\_pathtoscript\open_browser.ahk "$$1"

then create a dosearch alias :
regex : ^php (.*)
php $$1 | dosearch +folder_with_php_function_text_files +open_browser $$1

open_browser.ahk is as follows :
[copy or print]
SplitPath, 1, name, dir, ext, name_no_ext, drive
Run, http://www.php.net/%name_no_ext%

as you see, it is a bit cumbersome but it WORKS exactly as expected (if i understood well)

now obviously one need to have autohotkey installed for that setup to work or i could send you a compiled version...


a new feature would simplify the process... and eliminate the need of autohotkey (or any other scripting langage)

in this alias :
Open in browser $$1| C:\_pathtoscript\open_browser.ahk "$$1"

$$1 refers to the full file name (with its path)
if we had some special FARR function to split that path
then we would have :
Open in browser $$1| http://www.php.net/FARR($$1,"only file name")


an other idea :
it would be great to have a new command :

dosearchfile "C:\...\functionlist.txt" +open_browser $$1

just specify a file and FARR searches it line by line...



i am not saying a plugins would not be great, however i think using core functions of FARR is almost enough to achieve Veign's idea
to be short... let me say that I am much much more excited by new core functions/features for FARR than anything else... it just opens new horizons each time
Logged
mouser
First Author
Administrator
*****
Posts: 33,183



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #174 on: May 22, 2008, 02:59:37 PM »

i believe the right way to do this is with a generic plugin that has been talked about before -- a kind of structured file searching plugin.

Basically the plugin would let you configure search keywords, along with specifying the file they should search, and how they should look for text and tags and what info to show on match.

So this could be used to search almost any kind of text,xml, or help file in a structured way that would allow you to type keywords or tags and have FARR show ranked resuls -- then select one to show full text of the entry.

It would be incredibly useful for a wide variety of things.

---

Though note that in veign's request, it might also make sense to use a generic web scraper plugin to query the php.org site and grab matches from that.
Logged
Pages: Prev 1 2 3 4 5 6 [7] 8 9 10 11 12 Next   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.135s | Server load: 0.08 ]