Welcome Guest.   Make a donation to an author on the site August 28, 2014, 10:28:04 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 2010! Download 24 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: Prev 1 ... 57 58 59 60 61 [62] 63 64 65 66 67 ... 94 Next
1526  Main Area and Open Discussion / Living Room / Re: Sitepoint is giving away a free ebook on: July 13, 2010, 02:56:51 AM
Congratulations on your success, and thanks for following up on how things resolved for you smiley
1527  DonationCoder.com Software / FARR Plugins and Aliases / Re: FLua: FARR Plugins Using Lua on: July 09, 2010, 08:39:15 PM
FLua-2010-07-09.zip contained a lua.exe (for interactive fun and testing) which might lead to problems.

The following has a (hopefully) fixed lua.exe along with a lightly-tested LuaSocket:

  http://ewemoa.dcmembers.c...m/tmp/FLua-2010-07-10.zip

SHA-1: 2dd74629b0f8487444214dfdac1ae548880dff98

Short sample of LuaSocket use:

Formatted for Lua with the GeSHI Syntax Highlighter [copy or print]
  1. http = require("socket.http")
  2. print(http.request("http://donationcoder.com"))

For more details, please see the reference.
1528  DonationCoder.com Software / FARR Plugins and Aliases / Re: FLua: FARR Plugins Using Lua on: July 09, 2010, 05:31:00 PM
Here's something preliminary for sqlite 3 access:

  http://ewemoa.dcmembers.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.
1529  DonationCoder.com Software / Unfinished Requests / Re: FamilyFolder ? on: July 09, 2010, 11:49:27 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.

Quote
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.
1530  DonationCoder.com Software / FARR Plugins and Aliases / Re: FLua: FARR Plugins Using Lua on: July 09, 2010, 09:01:47 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.
1531  DonationCoder.com Software / FARR Plugins and Aliases / Re: FARR plugin: FarrWebMetaSearch 1.6.0 on: July 09, 2010, 06:25:09 AM
If relative from where the plugin lives would be more convenient to you, I can certainly change that smiley
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:

Quote
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:

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

and the following too:

Quote
Plugins\FarrWebMetaSearch\searches\ahkscriptlisting.html

May be I've messed up somewhere...
1532  DonationCoder.com Software / FARR Plugins and Aliases / Re: FARR plugin: FarrWebMetaSearch 1.4.2 on: July 09, 2010, 04:08:21 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 smiley

Quote
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?

Quote
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  thumbs up

Thanks for the local file feature!
1533  Other Software / C / C++ / Re: C++ Programming Resources on: July 09, 2010, 12:46:44 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)))

[attach=1]
1534  DonationCoder.com Software / FARR Plugins and Aliases / Re: FLua: FARR Plugins Using Lua on: July 09, 2010, 12:42:40 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:

Formatted for Lua with the GeSHI Syntax Highlighter [copy or print]
  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 Sad
1535  DonationCoder.com Software / Unfinished Requests / Re: FamilyFolder ? on: July 08, 2010, 11:08:47 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.

Quote
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?

Quote
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?
1536  DonationCoder.com Software / FARR Plugins and Aliases / Re: FARR plugin: FarrWebMetaSearch 1.4.2 on: July 06, 2010, 12:03:24 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:

Quote
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.

Quote
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.

Quote
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 smiley
1537  DonationCoder.com Software / FARR Plugins and Aliases / Re: FARR plugin: FarrWebMetaSearch 1.4.2 on: July 05, 2010, 04:27:43 PM
Thanks for looking into this smiley

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):

[copy or print]
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

Quote
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.
1538  Special User Sections / N.A.N.Y. 2011 / Re: NANY 2011 Pledge: NetLauncher on: July 05, 2010, 04:19:56 PM
I don't have an answer for you but in the process of looking into it, I came across:

  http://stackoverflow.com/...physical-network-adapters

May be that will be of some help as part of this venture...
1539  DonationCoder.com Software / FARR Plugins and Aliases / Re: FLua: FARR Plugins Using Lua on: July 04, 2010, 07:12:35 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/wiki/BindingCodeToLua

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

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

Quote
Thank you so much !
Thank you for FScript and its source smiley

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.
1540  Special User Sections / N.A.N.Y. 2011 / Re: NANY 2011 Pledge: Crush Sniffer on: July 03, 2010, 04:00:46 AM
Thanks for the explanation -- it makes more sense to me now smiley
1541  Main Area and Open Discussion / Living Room / Re: Linux Learning - what to do after basic install? on: July 03, 2010, 01:50:37 AM
Starting looking through it.  Thanks for sharing.

I liked section 1.5 smiley
1542  DonationCoder.com Software / FARR Plugins and Aliases / Re: FLua: FARR Plugins Using Lua on: July 03, 2010, 01:23:11 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):

Formatted for Lua with the GeSHI Syntax Highlighter [copy or print]
  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 smiley ).

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/
1543  Special User Sections / N.A.N.Y. 2011 / Re: NANY 2011 Pledge: Crush Sniffer on: July 02, 2010, 08:54:33 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 smiley
1544  DonationCoder.com Software / FARR Plugins and Aliases / FLua: FARR Plugins Using Lua on: July 02, 2010, 09:38:25 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.dcmembers.com/tmp/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 smiley
1545  DonationCoder.com Software / Find And Run Robot / Re: [IDEA] Plugin for zotero, building off of gnotero for gnome on: July 02, 2010, 09:19:50 AM
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:

  http://www.donationcoder....12232.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).
1546  Other Software / Announce Your Software/Service/Product / Re: Buzz Folders - Open/Save Dialog Box Extender ( + Free Version ) on: July 01, 2010, 08:37:12 PM
You can be sure it will be implemented at some point. It's certainly a worthwhile feature.
Thanks for your consideration!
1547  Other Software / Announce Your Software/Service/Product / Re: Buzz Folders - Open/Save Dialog Box Extender ( + Free Version ) on: July 01, 2010, 06:45:24 PM
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 smiley
1548  Other Software / Announce Your Software/Service/Product / Re: Buzz Folders - Open/Save Dialog Box Extender ( + Free Version ) on: July 01, 2010, 05:47:07 PM
Thanks for the note about portable use.  Nice that the free version doesn't require an installer smiley  (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.buzzfolders.com/help_free_folders.html
  http://www.buzzfolders.com/help_free_options.html
  http://www.buzzfolders.com/help_free_stickies.html
  http://www.buzzfolders.com/help_free_tabs.html

These pages suggested to me that the program requires the use of a pointing device.  Is that correct?
1549  Other Software / C / C++ / Re: C++ Programming Resources on: July 01, 2010, 04:42:31 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.)
1550  DonationCoder.com Software / Finished Programs / Re: Context Menu Select Folder on: July 01, 2010, 08:35:02 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.  smiley
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).
Pages: Prev 1 ... 57 58 59 60 61 [62] 63 64 65 66 67 ... 94 Next
DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.071s | Server load: 0.06 ]