topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Friday November 21, 2025, 8:53 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 ... 76 77 78 79 80 [81] 82 83 84 85 86 ... 113next
2001
FARR Plugins and Aliases / Re: FLua: FARR Plugins Using Lua
« Last post by ewemoa on July 09, 2010, 05:31 PM »
Here's something preliminary for sqlite 3 access:

  http://ewemoa.dcmemb...com/tmp/lsqlite3.zip

SHA-1: 9de918c90409e4c9cfa879decf5c1d91af07868b

Some brief docs are included for lsqlite3 usage, but the original distribution has more detail. 

To install for use with FLua, I think all that is necessary is to place lsqlite3.dll and sqlite3.dll in the FLua plugins folder.
2002
Unfinished Requests / Re: FamilyFolder ?
« Last post by ewemoa on July 09, 2010, 11:49 AM »
With winrar when you select a group of compressed files. Gives the opportunity to decompressed to a folder. And the name folder is the last one compressed file.
I am not a WinRAR user so not too familiar with its use.  Would you mind elaborating the steps involved with a concrete example?  Still having difficulty getting a clear idea of what "last" might mean.

For example : Ask for the name of the folder similar way activatin the scroll lock . O give a name of date and time creation.
Thanks for these ideas.
2003
FARR Plugins and Aliases / Re: FLua: FARR Plugins Using Lua
« Last post by ewemoa on July 09, 2010, 09:01 AM »
Thanks for the follow-up comment.

I intend to continue looking into getting Alien to work, but in the mean time, here is a rearranged Flua:

  http://ewemoa.dcmembers.com/tmp/FLua-2010-07-09.zip

SHA-1: fd0c178adf51726d529c2e4edc5cd9c753b81add

The main difference in this version is that the core lua portion lives in its own dll (luadll.dll) and that FLua.dll and lfs.dll both link to luadll.dll.

Also included are rex_pcre.dll (also linked to luadll.dll) with pcre.dll and a minor amount of related test code in plugin.lua.
2004
FARR Plugins and Aliases / Re: FARR plugin: FarrWebMetaSearch 1.6.0
« Last post by ewemoa on July 09, 2010, 06:25 AM »
If relative from where the plugin lives would be more convenient to you, I can certainly change that :)
My current thoughts about this are that a common case would be to store local files to be parsed in Plugins\FarrWebMetaSearch\searches so that those files could live alongside their corresponding .conf files.  Consequently, having the "base" directory from which to resolve relative references be the Plugins\FarrWebMetaSearch\searches directory seems convenient to me.

BTW, I don't know if I mis-tested or I'm doing something wrong but I'm not finding the following sort of thing to be working now:

searchUrl=%PLUGINDIR%\searches\ahkscriptlisting.html

I get a popup informing me about not finding a file at: <driveletter>:\searches\ahkscriptlisting.html

For reference, the following seems to work:

searchUrl=%FARRDIR%\Plugins\FarrWebMetaSearch\searches\ahkscriptlisting.html

and the following too:

Plugins\FarrWebMetaSearch\searches\ahkscriptlisting.html

May be I've messed up somewhere...
2005
FARR Plugins and Aliases / Re: FARR plugin: FarrWebMetaSearch 1.4.2
« Last post by ewemoa on July 09, 2010, 04:08 AM »
I've boldly uploaded version 1.6.0 so you can use DCUpdater to update to the current version (if DCUpdater works with your setup).
...and I've boldly updated :)

Searching local files should now work with both relative paths (relative to where FindAndRunRobot.exe is) and FARR virtual folder variables. I've not implemented user variables.
Both implemented options seem to work here  :Thmbsup:

Out of curiosity, why did you decide to make the relative path relative to where the .exe is -- as compared with where the FarrWebMetaSearch plugin lives?

Let me know if it works or not. If it doesn't, enable the log file with wms !Enable Logging. Then check the log file with wms !Open log file.
Cool features  :up:

Thanks for the local file feature!
2006
C / C++ / Re: C++ Programming Resources
« Last post by ewemoa on July 09, 2010, 12:46 AM »
Started reading An Introduction to GCC -- seems fairly clear so far.

(Although I'm mostly using Code::Blocks, since I'm using it with GCC, I figure it's worth understanding GCC somewhat especially for when things don't get so smoothly (e.g. understanding the output in Code::Blocks' "Build log" and "Build messages" windows -- I have the "Compiler logging" setting set to "Full command line" (via Settings -> Compiler and debugger... -> Global compiler settings -> Other settings -> Compiler logging)))

anintrotogcc.png
2007
FARR Plugins and Aliases / Re: FLua: FARR Plugins Using Lua
« Last post by ewemoa on July 09, 2010, 12:42 AM »
Specifically, some bits I'm thinking of trying include:
  http://alien.luaforge.net/
I've been trying to get alien to work with FLua but haven't had much luck so far.  Actually, it looks more like some kind of problem building alien (or libffi which alien uses) using Code::Blocks / MinGW.  Compilation is successful but when trying to do something as simple as:

Code: Text [Select]
  1. require('alien')
  2. mb = alien.User32.MessageBoxA
  3. mb:types({ret = "long", abi = "stdcall", "long", "string", "string", "long"})
  4. mb(0, "Hey!", "From Lua", 0)

The host application (whether it's FARR of lua.exe) crashes at line 4 :(
2008
Unfinished Requests / Re: FamilyFolder ?
« Last post by ewemoa on July 08, 2010, 11:08 PM »
I select the archives and with a shortkey we put in a folder with the name of the last one selected. The last one may be the father ?
I don't have any good ideas about how to figure out what the last selection is.

O even with configuration we can put the folder name we want for special families.....
Do you have a specific set of steps for a concrete example that illustrates what you mean?

resume : Selected the archives we want in a new folder at the same level and apply the shortkey for that.
The selected archives, files, folders are moved to the new one.
I don't have any good ideas about how to figure out which folder counts as the "new one".

Update: Here's an idea: perhaps by examining the creation dates of the folders?
2009
FARR Plugins and Aliases / Re: FARR plugin: FarrWebMetaSearch 1.4.2
« Last post by ewemoa on July 06, 2010, 12:03 PM »
Ah yes, you mentioned that but I forgot. I think you said using FARR user variables would be ok?
Yes.  For reference, the ideas were:

One idea is to be able to specify a path using FARR's "virtual folder" functionality as mentioned in the "Variable Replacements, Virtual Folder Names, Env Paths" section of the help file.  For example, being able to use %APPDRIVE%, %PLUGINDIR%, and the like as part of the path specification.  For reference, I believe "resolve" described in the "Values Getable by Plugins" section of the FARR help file can help with this.

Another is to be able to apply user variables.  For example, I have something like the following defined in the [Paths] section of my user variables:

  par=%APPDRIVE%\apps

So using:

  %uservar.Paths.par%

as part of a path.

The last idea is for non-absolute paths to be resolved relative the FarrWebMetaSearch plugin (or perhaps searches) directory.

Looking back on the ideas, it seems to me that the FARR user variables idea is the least convenient for users -- I assume this because I don't see much mention of it being used.  The easiest in terms of writing .conf files seems to me to be the "resolve relative to" idea.  Do you have an opinion about this?

Thanks for your continued attention and consideration regarding this, btw :)
2010
FARR Plugins and Aliases / Re: FARR plugin: FarrWebMetaSearch 1.4.2
« Last post by ewemoa on July 05, 2010, 04:27 PM »
Thanks for looking into this :)

I tried to follow the steps you outlined, but for whatever reason (perhaps not being able to follow the "made some nasty line breaks" one appropriately?) didn't succeed.

I did have luck with the following .conf file for accessing the content over the network.  Strangely, after I save it locally and modify the conf file to point to it, it doesn't seem to work here (no results appear):

description=Windows XP Keyboard Shortcuts
searchUrl=http://www.stoicjoker.com/HotKeys/Main.php?Target=WinXP
resultPattern=<tr>[^<]*<td class='black10b' bgcolor='#ededed' align='center' width='150'>([^<]*)</td>[^<]*<td class='black10' bgcolor='#FFFFFF'>&nbsp;([^<]*)</td>[^<]*</tr>
farrCaption=$2
farrGroup=$1
farrPath=$1
isFeed=true

Now the question is: does this already solve your problem, or did you have something else / more in mind?
I didn't succeed in carrying the procedure out for local access so I didn't test whether this procedure would work when specifying a searchUrl which is a non-absolute file path.  Does that work? 

I much prefer not to place absolute file paths into my configuration files -- so for example, if I change the location of my FARR installation I wouldn't have to modify my configuration files to change file path information recorded within.
2011
N.A.N.Y. 2011 / Re: NANY 2011 Pledge: NetLauncher
« Last post by ewemoa on July 05, 2010, 04:19 PM »
I don't have an answer for you but in the process of looking into it, I came across:

  http://stackoverflow...cal-network-adapters

May be that will be of some help as part of this venture...
2012
FARR Plugins and Aliases / Re: FLua: FARR Plugins Using Lua
« Last post by ewemoa on July 04, 2010, 07:12 AM »
Do you know if FLua can use external libraries from lua ?
Depending on what you mean, I think it may be doable (perhaps in more than one way).

See:

  http://lua-users.org...iki/BindingCodeToLua

Specifically, some bits I'm thinking of trying include:

  http://alien.luaforge.net/
  http://www.nongnu.org/cinvoke/lua.html

Thank you so much !
Thank you for FScript and its source :)

BTW, the DLL is built using Code::Blocks and MinGW.  I'm hoping to clean up the source and make it generally available before too long.
2013
N.A.N.Y. 2011 / Re: NANY 2011 Pledge: Crush Sniffer
« Last post by ewemoa on July 03, 2010, 04:00 AM »
Thanks for the explanation -- it makes more sense to me now :)
2014
Living Room / Re: Linux Learning - what to do after basic install?
« Last post by ewemoa on July 03, 2010, 01:50 AM »
Starting looking through it.  Thanks for sharing.

I liked section 1.5 :)
2015
FARR Plugins and Aliases / Re: FLua: FARR Plugins Using Lua
« Last post by ewemoa on July 03, 2010, 01:23 AM »
From what I understand, there was (and may be still is?) quite a bit of effort on the parts of the creators/maintainers (3 people as I understand it) to keep the language simple -- internally and externally.

Conceptually it reminds me a lot of Lisp/Scheme but with a syntax that feels more mainstream (though not really C-like).

To give you a taste, here's a snippet from plugin.lua (from the sample plugin):

Code: Text [Select]
  1. function on_init(
  2.   directory
  3. )
  4.   odprintf("    current working directory is: " .. lfs.currentdir())
  5.   plugin_dir = directory
  6.   odprintf("    plugin_dir set to: " .. directory)
  7.   determine_envvars()
  8.   return true
  9. end

Below is an attempt at explaining the content (if there are other Lua folks around and see errors please speak up :) ).

This is a function definition.

Lines 1-3 are the portions that indicate a name for the function and a parameter names (the parameter being on separate lines is just a style I am experimenting with -- haven't seen any one else do this in Lua).  The name of the function is 'on_init' and it has one parameter named 'directory'.

Line 4 is a function call.  The argument is the result of concatenating (via ..) two things, a string and the result of another function call (the function currentdir in the module lfs)).

Line 5 is an assignment of the passed in value of 'directory' to the 'plugin_dir' variable (which currently is global).

Line 6 is another function call, similar to line 4.

Line 7 is a call to another function defined elsewhere in plugin.lua.

Line 8 is a return statement.  It returns a boolean true value.

Line 9 delimits the end of the function statement.

For reference, some potentially handy Lua resources:

  lua-users wiki
    http://lua-users.org/wiki/

  Programing in Lua (1st edition, covers a slightly older Lua, but still quite useful)
    http://www.lua.org/pil/

  The Programming Language Lua
    http://www.lua.org/
2016
N.A.N.Y. 2011 / Re: NANY 2011 Pledge: Crush Sniffer
« Last post by ewemoa on July 02, 2010, 08:54 PM »
I'm confused about the description -- is it supposed to work for both Windows and UNIX/Linux type of system?

Apart from that sounds handy :)
2017
FARR Plugins and Aliases / FLua: FARR Plugins Using Lua
« Last post by ewemoa on July 02, 2010, 09:38 AM »
I've been working on trying to make it possible to write plugins for FARR in Lua and there is now something that seems to work somewhat so...

The design is almost completely based on ecaradec's FScript (many thanks to him for releasing the source to that).  I haven't implemented timers yet, but other things are somewhat in-place.  If you've used FScript before, the interface should feel very familiar. 

Had some luck with following:

  • on_init
  • on_set_str_val
  • on_search_begins
  • on_regex_search_match
  • on_process_trigger
  • farr_set_str_value
  • farr_get_str_value
  • farr_emit_result
  • farr_set_state
  • farr_emit_results (this may be more convenient than using the last two)

Implemented but didn't really test:

  • on_receive_key
  • on_idle_time

Below is a link to a sample Lua plugin.  It is supposed to be similar to vitalyb's FARREnvironmentVariables plugin.

It's got some issues (e.g. DOS window showing up momentarily), but anyway:

  http://ewemoa.dcmemb...p/LuaPathEnvVars.zip

SHA-1: 50f501d3d6e85b7ea3052e76b13ecda58ca8be72

The contained files and folders are:

  • FLua.dll
  • flua.lua
  • LICENSES\
  • LuaPathEnvVars.ico
  • plugin.lua
  • README.txt <- pretty much useless at this point

The main file to tinker with at this point is plugin.lua.

Any comments welcome :)
2018
I believe it is possible to use Python to make a plugin for FARR using ecaradec's FScript.. but i'm not sure exactly how.
I think we had some luck with this before -- sort of:

  https://www.donation....msg155926#msg155926

However, at the time, I remember concluding that it didn't seem practical to work with Python via FScript particularly because it seemed hard to figure out when things go wrong (e.g. no debugging support and no meaningful error messages).
2019
You can be sure it will be implemented at some point. It's certainly a worthwhile feature.
Thanks for your consideration!
2020
Thanks for the response.

Yes. That's correct. It's on the todo list. I'm also considering adding assignable hotkeys.

Is keyboard navigation essential for you?
Not sure if I would describe it that way, but I very much prefer having the option of keyboard navigation.

May be it's not worth the effort to implement this if there are few requests for it though :)
2021
Thanks for the note about portable use.  Nice that the free version doesn't require an installer :)  (For folks wanting to use it portably, not defaulting to "Run at Start Up" might be nice.)

On a separate note, I tried to find a way to navigate using only the keyboard but didn't figure anything out.  The links I took a look at to try to determine this included:

  http://www.buzzfolde...lp_free_folders.html
  http://www.buzzfolde...lp_free_options.html
  http://www.buzzfolde...p_free_stickies.html
  http://www.buzzfolde.../help_free_tabs.html

These pages suggested to me that the program requires the use of a pointing device.  Is that correct?
2022
C / C++ / Re: C++ Programming Resources
« Last post by ewemoa on July 01, 2010, 04:42 PM »
Thanks for sharing!

I particularly found:

  http://gigamonkeys.com/blog/2009/10/16/coders-c++.html

to be interesting.

I've started to read Bruce Eckel's Thinking in C++ which has been mentioned (or hinted at) on DC before.  So far it has been helpful in sorting out various points I've been confused about and it's nice that it seems fairly readable on certain small-screen devices (being in HTML).

(Thanks to fenixproductions and jgpaiva for their recommendations of Eckel's works -- perhaps if I become interested in Java at some point, I'll take a look at Thinking in Java.)
2023
Finished Programs / Re: Context Menu Select Folder
« Last post by ewemoa on July 01, 2010, 08:35 AM »
from the thread, that seems to be the problem but i'm not sure because i don't use windows explorer as my default file manager.  :)
Thanks for the clarification.

I got the latest source I could find and experimented with it a bit but so far I haven't seen a good way to get the selection to work (seems like Windows Explorer likes to respond to the second click -- thereby unselecting).
2024
Finished Programs / Re: Context Menu Select Folder
« Last post by ewemoa on July 01, 2010, 08:33 AM »
I have a lot of resident in the clock area. And I have more hidden......
I had been working on a single utility to consolidate various AHK scripts but due to limitations (possibly technical and/or related to my current understanding) have not come up with something that is stable, reliable, and maintainable.

It's something I'm interested in, so with some luck, may be eventually the issues will be resolved.  At the moment though I don't have anything I feel comfortable releasing.
2025
Finished Programs / Re: Context Menu Select Folder
« Last post by ewemoa on July 01, 2010, 07:36 AM »
Thanks for mentioning DaddyClick -- sounds neat :up:

Do I understand correctly that it doesn't do the selection portion currently?

From my limited scanning of the topic, it looks like the latest version doesn't come with source.  Do you know if that's the case?

(Hmm, judging by the size of the exe and the dates of the posts in the topic, I'm going to guess that the exe is upx-compressed and consequently a candidate for being flagged as malicious...)
Pages: prev1 ... 76 77 78 79 80 [81] 82 83 84 85 86 ... 113next