Welcome Guest.   Make a donation to an author on the site August 01, 2014, 02:51:42 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.
 
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 ... 93 Next
1526  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/
1527  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
1528  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
1529  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).
1530  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!
1531  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
1532  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?
1533  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.)
1534  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).
1535  DonationCoder.com Software / Finished Programs / Re: Context Menu Select Folder on: July 01, 2010, 08:33:16 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.
1536  DonationCoder.com Software / Finished Programs / Re: Context Menu Select Folder on: July 01, 2010, 07:36:18 AM
Thanks for mentioning DaddyClick -- sounds neat thumbs 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...)
1537  DonationCoder.com Software / Finished Programs / Re: IDEA: app to rotate multi-page images on: July 01, 2010, 03:04:56 AM
FWIW, I tried XnView without much success too -- seems like a nice program though.  Thanks for suggesting it JavaJones  Thmbsup
1538  DonationCoder.com Software / Finished Programs / Re: Context Menu Select Folder on: July 01, 2010, 01:24:43 AM
I have a proof of concept of the functionality, but it is not in the form of a Windows Explorer context menu item.  It can be invoked by hotkey.

Even if it's not quite what is wanted, may be it will be useful in confirming some of the desired functionality smiley

  http://ewemoa.dcmembers.com/tmp/ChooseMyParent.exe

SHA-1: a0072754200bc68ce66a4b9c906016489539004a
1539  DonationCoder.com Software / Finished Programs / Re: IDEA: app to rotate multi-page images on: June 30, 2010, 09:07:20 AM
Sounds like a good idea  thumbs up
1540  DonationCoder.com Software / Finished Programs / Re: IDEA: app to rotate multi-page images on: June 30, 2010, 08:02:18 AM
I tried creating a multipage TIFF image with upside-down content for fun using IrfanView.

.TIF files didn't seem to be acceptable so I'll try uploading a zipped TIFF.
1541  Other Software / Developer's Corner / Re: Code::Blocks 10.05 has been out... on: June 30, 2010, 03:18:24 AM
Thanks for sharing your success with upgrading smiley

Haven't taken the dive yet -- I'm running one of the Nightly builds from Feb of this year.  It works so well that I don't feel tempted to upgrade...yet.
1542  DonationCoder.com Software / Finished Programs / Re: IDEA: app to rotate multi-page images on: June 30, 2010, 12:35:41 AM
Afraid not!  Sad

I've had a good go with Irfanview and was amazed, given the millions of options and buttons, that it won't do what I want.
It is surprising -- unfortunate too.

I looked at the "Command Line Options" section of IrfanView's help file and saw some things which looked relevant:

Quote
/filelist=txtfile -        use filenames from "txtfile" as input, see examples below
...
/rotate_r -        rotate input image to right
/rotate_l -        rotate input image to left
/hflip -        horizontal flip
/vflip -        vertical flip
...
/multitif=(tif,files) -        create multipage TIF from input files
...
/extract=(folder,ext) -        extract all pages from a multipage file

I don't suppose a combination of some / all of these and possibly other options might be of any use...
1543  DonationCoder.com Software / Finished Programs / Re: IDEA: app to rotate multi-page images on: June 29, 2010, 09:23:09 PM
Sorry -- I failed to understand your original post accurately smiley  However...

...but the problem with Irfanview is that it only does the current page you're on.  I think batching works on several files but it doesn't handle a multi-page tiff.
I was looking at the "Set for all images" dialog (what comes up after pressing the Advanced button), and I noticed a check box with the label "Apply changes to all pages (if TIF saving)".

[attachthumb=1]

Does that not help in this situation?
1544  DonationCoder.com Software / Finished Programs / Re: IDEA: app to rotate multi-page images on: June 29, 2010, 06:53:39 PM
Perhaps the following doesn't work so well for you, but have you considered the batch operations in IrfanView?

The following outline is for version 4.25.

Menu ->
  File ->
    Batch Conversion / Rename

  • Press Advanced button
  • Select from among Vertical flip, Rotate left, Rotate right, etc.

Also possible via its thumbnail window:

Menu ->
  File ->
    Thumbnails ->

  • Select multiple images
  • Right click and choose "Start batch dialog with files"
  • Continue as described previously
1545  DonationCoder.com Software / Skrommel's Software / Re: ShortcutFolder.exe deleted as malware by MSE. Why? on: June 28, 2010, 05:51:11 PM
Question 1: Why would MSE think SHORTCUT FOLDER.exe is malware?
Question 2: Why would it not upload like other files would?
Question 3: Is this program discontinued?
For question 1, my guess is that the following thread might be related:

  http://www.donationcoder....m/index.php?topic=21327.0

For question2, I don't have any guess.

For question 3, perhaps the following topic will be of some use:

  http://www.donationcoder....m/index.php?topic=12243.0
1546  Other Software / Developer's Corner / Re: Code::Blocks 10.05 has been out... on: June 27, 2010, 05:04:56 PM
I definitely appreciate being able to search the Code::Blocks forums -- I often find an answer or a clue that helps me out with whatever difficulty is current smiley
1547  Main Area and Open Discussion / General Software Discussion / Re: Rename files based on a list of similar names on: June 27, 2010, 05:01:12 PM
However, most any decent text editor has keyboard shortcuts to move lines up and down so it should be a simple matter for Jabberwock to manipulate his text listing before pasting it into ReNamer.
ReNamer is my favorite too smiley

FWIW, I sometimes sort before pasting into ReNamer and tend to sort with an editor.  I haven't tried with Notepad++, but I noticed that TextFX -> TextFX Tools has some line-sorting-related menu items.
1548  Other Software / Developer's Corner / Code::Blocks 10.05 has been out... on: June 27, 2010, 07:48:38 AM
I completely missed that:

Quote
Code::Blocks 10.05 is here!
Sunday, 30 May 2010 10:20

http://www.codeblocks.org/

[attachthumb=1]
1549  Main Area and Open Discussion / General Software Discussion / Re: Shortcut Creator on: June 26, 2010, 08:18:34 PM
Glad to hear it smiley
1550  Main Area and Open Discussion / General Software Discussion / Re: InfoHesiveEP from 2BrightSparks now free on: June 26, 2010, 08:10:16 AM
It is unlikely to be at all portable as it requires the installation of some libraries during set up (not least the MS CHM authoring tools).
Ah well.
Pages: Prev 1 ... 57 58 59 60 61 [62] 63 64 65 66 67 ... 93 Next
DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.13s | Server load: 0.33 ]