topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Tuesday November 11, 2025, 1:46 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 2 3 4 5 6 [7] 8 9 10 11 12 ... 14next
151
i mean somethin like this

You can insert object and use any math software (for example openoffice Math)
152
try this:
Code: Javascript [Select]
  1. // plugin script :
  2. displayname="barebone";
  3. versionstring="1.01.01";
  4. releasedatestring="23.6.2008";
  5. author="Oldrich Svec";
  6. updateurl="";
  7. homepageurl="";
  8. shortdescription="barebone";
  9. longdescription="";
  10. advconfigstring="barebone";
  11. readmestring="barebone";
  12. iconfilename="icon.ico";
  13.  
  14. aliasstr="bb";
  15. regexstr="";
  16. scriptregex="";
  17. regexfilterstr="";
  18. keywordstr="";
  19. scorestr="300";
  20.  
  21. // type
  22. UNKNOWN=0; FILE=1; FOLDER=2; ALIAS=3; URL=4; PLUGIN=5; CLIP=5;
  23. // Postprocessing
  24. IMMEDIATE_DISPLAY=0; ADDSCORE=1; MATCH_AGAINST_SEARCH=2;
  25. // search state
  26. STOPPED=0; SEARCHING=1;
  27.  
  28. function onSearchBegin(querykey, explicit, queryraw, querynokeyword,modifierstring,triggermethod){
  29.   skip_value = 0;
  30.   if(!explicit) {
  31.     if(aliasstr.indexOf(querynokeyword)!=-1) {
  32.       FARR.setState(querykey,1);
  33.       FARR.emitResult(querykey,aliasstr, aliasstr, iconfilename,ALIAS,IMMEDIATE_DISPLAY,300);
  34.       FARR.setState(querykey,0);
  35.     }
  36.     return;
  37.   }
  38.   FARR.setState(querykey,SEARCHING);
  39.   FARR.emitResult(querykey,"Hello World!","1" , iconfilename,UNKNOWN,IMMEDIATE_DISPLAY,1000);
  40.   FARR.emitResult(querykey,"Bonjour Tout le Monde!","2" , iconfilename,UNKNOWN,IMMEDIATE_DISPLAY,1000);
  41.   FARR.setState(querykey,STOPPED);      
  42. }
  43.  
  44. HANDLED=1; CLOSE=2;
  45. function onProcessTrigger(path, caption) {
  46.   switch (path) {
  47.     case "1":
  48.       FARR.setStrValue("launch", "paste Hello World!")
  49.       break;
  50.     case "2":
  51.       var shell = new ActiveXObject("WScript.Shell");  
  52.       shell.Run("C:\\windows\\system32\\mspaint.exe \"C:\\windows\\system32\\ntimage.gif\"",1,true);
  53.       break;
  54.     default:
  55.       break;
  56.   }
  57.   return HANDLED;
  58. }
153
FARR Plugins and Aliases / Re: Google Calendar Quick Add
« Last post by czb on June 27, 2008, 04:48 AM »
For some reason when I add an event with this plugin it shows up on Gcal one hour off. For example, if I type:
gc "test event on 1 jun at 2:30 pm"
it will show up on Gcal as starting at 3:30.

The preview window in FARR shows it as:
Title: test event
From: 2008-06-01T14:30:00.000-06:00
To: 2008-06-01T15:30:00.000-06:00

If I add the same event string directly into Gcal it shows up at the correct time.

I think it must be something with google calendar, because as you can see:
From: 2008-06-01T14:30:00.000-06:00
google recognizes it correctly...
Does this:
https://addons.mozil...S/firefox/addon/2405
work for you?
154
FARR Plugins and Aliases / Re: Google Calendar Quick Add
« Last post by czb on June 27, 2008, 03:19 AM »
I will check it out ;)
155
Also, I'd like to see an example of step3 where FARR launches
any arbitrary application and passes in whatever the user
chose as a cmdline argument to that application.

Hi,
this can be done easily by activexobject. Look at my "upload plugin", where I call 7zip with arguments and also call FTP commands...
You can also take a look at my "shell plugin" ;)

#
STEP3:
Take the text that the user selected and paste it into the previously-active window

alias commands can be called also from javascript so you can use "paste" command there ;) but if you need UTF-8 (chinese characters etc) support then I would use activexobject instead => take a look at my "online czech to X dictionary" where I paste text to the clipboard (unfortunately I do not know how to paste it directly to last active window)

EDIT: if you wait I will make some example on friday ;)
156
FARR Plugins and Aliases / Re: Google Translation Plugin
« Last post by czb on June 24, 2008, 06:19 AM »
just corrected small bug. When you typed "gt" and hit ctrl+tab an error occured. it should be fixed now ;)
157
FARR Plugins and Aliases / Re: Google Translation Plugin
« Last post by czb on June 23, 2008, 12:02 PM »
czechboy, some ideas:

- decrease fontsize for lang list from fs24 to fs20

- it would be good if a default input/output language could be locked if the user adds them to the plugin settings. Specifying other languages in the FARR input box would then only temporarily override the default.

- maybe let more than one space at the end of the searchphrase trigger toggling of output language.
example: "gt sunshine " translates from english to german, "gt sunshine  " (two spaces) translates from english to spanish, three spaces = french, and so on for some set default languages.

- put current input/output language name in status bar
Hi, I have released new version ;)
to your comments:
1) done
2) well for now you can modify it directly in fscript.js (first two lines) => I will add settings later
3) try ctrl+tab instead ;)
4) done :)

Now you can also use enter :Thmbsup:
158
FARR Plugins and Aliases / Re: Google Translation Plugin
« Last post by czb on June 23, 2008, 04:36 AM »
Hi All.
Can I use this plugin for translate non-latin languages (for example, en-ru translation)? First try was failed... seems like cyrillic is not supported :((((

You can but you must have Arial Unicode MS font ;)
159
a currency converter would be very useful, considering how we need to compare prices from different regions. i remember that there was a thread that discussed this but nothing concrete came out of it.

Maybe Google Calculator could be also used ;)
http://czb.dcmembers...m/#Google_Calculator

Try "gcal 125CZK in USD=", you can even do aliases of such a type:
group alias name:convert
regular expression pattern:^convert (.*)$
results:
$$1 CZK to USD| dosearchontrigger gcal $$1 CZK in USD=
$$1 SKK to USD| dosearchontrigger gcal $$1 SKK in USD=
160
FARR Plugins and Aliases / Re: google dollar exchange rate plugin -- sketch
« Last post by czb on June 22, 2008, 06:01 AM »
what about to try?:
string = string.match(/1 .*? = (?:\d|\.|\,)*? /g);
161
Nxqd3051990: I can do it, but not sooner than in a week ;)
162
FARR Plugins and Aliases / Re: Character Table Plug-In
« Last post by czb on June 17, 2008, 05:16 AM »
Hi,
then it might be a good question to ecaradec. Shall I write him, or will you do that?
163
FARR Plugins and Aliases / Re: Character Table Plug-In
« Last post by czb on June 16, 2008, 09:24 AM »
Grorgy: try to install latest FARR version. ;)
164
Living Room / Re: Friday the 13'th...!
« Last post by czb on June 13, 2008, 12:17 PM »
I do not believe in friday the 13th. In the Czech Republic people think that this day brings them bad luck.
But today somebody broke in to our appartment and has stolen my wallet with all the credit cards, driving licence etc...and my pc has just stopped working (dont know what is wrong with it => does not want to start, no screen etc... but fans are working)

But still I do not believe in the friday the 13th... I had just a baaaaad luck :mad:
165
Found Deals and Discounts / Re: Free Ashampoo Burning Studio 2008
« Last post by czb on June 13, 2008, 03:51 AM »
Maybe it is this site?
http://www.raymond.c...-worth-500-for-free/

thanks for the links ;)
166
FARR Plugins and Aliases / Re: Timer
« Last post by czb on June 13, 2008, 03:01 AM »
tm settings
gets me a never-ending series of settings windows. Have to kill FARR to stifle the little blighters... :down:

Having spoken messages enabled no longer causes the message window to fail, though : :up:
-cranioscopical (June 12, 2008, 05:14 PM)

It was my mistake. I do not know how it happened by forgot to save and upload the latest version... now it should be fine. But to be sure pls check it ;)
thanks
167
Find And Run Robot / Re: old IE of HTML view - solved
« Last post by czb on June 12, 2008, 12:30 PM »
hamradio: thanks for the link.

btw: have you noticed that always when HTML view mode is launched you loose focus of the search (entry) bar? I think it should not be so
168
Find And Run Robot / Re: old IE of HTML view
« Last post by czb on June 12, 2008, 12:16 PM »
Yeah.. seems it is IE7... I was confused that in FARR forms are displayed differently than in IE7... :-[
169
Find And Run Robot / old IE of HTML view - solved
« Last post by czb on June 12, 2008, 12:06 PM »
Hi,
could you pls check what you get when you type:
igo http://czb.dcmembers.com/temp/show.htm
I get:
Microsoft Internet Explorer 4.0 (compatible; MSIE 6.0)
so it means that my HTML view mode uses really old version of IE, is it the same with you? (those having IE7)

EDIT: my mistake => IE7 gives the same result.. but still it seems to me as if FARR is not using IE7... I will check further :-[
170
FARR Plugins and Aliases / Re: Timer
« Last post by czb on June 12, 2008, 12:04 PM »
Yeah it seems as a bug. I have already given notice to mouser and he said he would resolve it ;) So let us hope :)
171
FARR Plugins and Aliases / Re: Timer
« Last post by czb on June 12, 2008, 11:16 AM »
A minnor update. Enter is now used and the memo mode is now active :up:
172
FARR Plugins and Aliases / Re: Timer
« Last post by czb on June 12, 2008, 10:12 AM »
cranioscopical: well maybe you can try to reinstall your sapi, but not sure if it solves the problem. I have tried talking warning and I have got "unknown exception" several times and suddenly now it works fine again. I have no idea why this happends but I have included try catch statement so in case of any error you will not loose your alert message ;)

jgpaiva: I use no regex. Do you mean regex should not be empty but with "^tm(.*)$" inside?
173
Find And Run Robot / Re: [Feature Request] HTTP POST request
« Last post by czb on June 11, 2008, 02:59 AM »
it is true that with javascript http post request are pretty simple  ;)
174
Find And Run Robot / Re: Output to Farr's memo mode
« Last post by czb on June 10, 2008, 11:02 AM »
It was not recoded yet... ;) There are to many of my plugins waiting for recoding and bachalor state examinations are coming :(
175
Find And Run Robot / Re: Output to Farr's memo mode
« Last post by czb on June 10, 2008, 01:23 AM »
it should handle all commands. I will test it when I get home this afternoon
Pages: prev1 2 3 4 5 6 [7] 8 9 10 11 12 ... 14next