Latest posts of: ewemoa - DonationCoder.com
Welcome Guest.   Make a donation to an author on the site May 26, 2015, 02:46:22 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.
 
Learn about the DonationCoder.com microdonation system (DonationCredits).
   
  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 ... 56 57 58 59 60 [61] 62 63 64 65 66 ... 101 Next
1501  DonationCoder.com Software / Finished Programs / Re: DONE: On Screen Button That Sends Keyboard Commands on: June 12, 2011, 05:03:11 PM
Some notes from trying 0.8.2.0...

Verified the following here:

  • ! Fixed Tree selection issues when clicking a button in the preview
  • ! Fixed File/Open, File/Save or File/Save as... then selecting WinButtonEdit.ini gives a warning and doesn't open/save that file
  • ! Fixed Initial treeview didn't display the expander image on the last Group tree-item when not expanded initially
  • ! Fixed File/New to create the Empty group in the tree
  • ! Fixed Deleting all buttons crashed with array-index errors

Hurray  Thmbsup  (Please note that I didn't verify all items.)

Some reflections:

  • As I was deleting nodes from the treeview, I tried the Delete key first, then discovered Control+D via the context menu.  I got to thinking that I've got these unconscious expectations of shortcut keys smiley
  • I didn't figure out a way to get buttons to move among groups.  Is this intentional?
  • I chose File -> New to eventually end up with an empty group.  I noticed a Test button in the preview but no listing in the treeview.  When I chose "Insert button" from the context menu of the treeview, I expected to see a new node in the treeview, but I didn't see one show up.
1502  Main Area and Open Discussion / General Software Discussion / Firefox and epub on: June 12, 2011, 12:08:39 AM
Has any one tried any of the following epub-related FF extensions?

  Lucifox - reader (failed to find keyboard shortcuts for navigation...)
  EPUBReader - reader
  GrabMyBooks - web page(s) -> epub converter?
1503  Main Area and Open Discussion / Living Room / Re: General Poll: What should there be more of on DonationCoder? on: June 11, 2011, 10:07:14 PM
Nice!

Now if it would work with the following too:

  http://www.donationcoder.com/forum/index.php?action=recentdense;wap2
1504  DonationCoder.com Software / Finished Programs / Re: DONE: On Screen Button That Sends Keyboard Commands on: June 11, 2011, 04:31:34 PM
Thanks for the new release.  Hope to try it soon smiley

Quote from: Ath
from Vista and up Ctrl-A selects the content of the edit. Seems that's a feature since Vista was introduced ohmy

...

Quote from: Ath
Not sure if I want to 'fix' that for Windows XP, as it's also not available in any standard Windows input control.

Hmm, more reason to use SelectAll I guess...pardon the plug Wink
1505  DonationCoder.com Software / Finished Programs / Re: DONE: On Screen Button That Sends Keyboard Commands on: June 11, 2011, 07:35:08 AM
Thanks for the intents to attend to certain issues, the clarifications, and work-around suggestions smiley

...and now to respond to a few points:

I found choosing a color via the "Change..." button for Color to not work if starting with a blank value (no value got filled in to the text field for Color:), while I found that the corresponding choosing sequence of actions for Textcolor did work.
I can see no difference for these two buttons (not in code, nor when testing), but when 'creating' a custom color, it needs to be added to the colorset by using the button 'Add to Custom Colors' before it will stick. (This has been tested quite extensive before release. It uses the standard AutoIt Color Selection Dialog with any of it's 'peculiarities' that I can't do much about)
I think I chose a custom color for the first button but not the second.  My bad.

Any chance of Control+A selecting all text in text fields?
Eh, it does what you expect on my system, and I have done nothing in WBE to enable or disable that. Got another script catching ^A, perhaps? (AKA: Works on my machine... ohmy)
No scripts running when I tested -- once via a VirtualBox Windows XP SP3 guest and once on a notebook running XP SP3.  I hear a sound but there is no selection.

In the tree view, multiple nodes appear selected sometimes: view WinButtons.ini, choose <no group>, ensure the corresponding treeview is expanded, choose scite, ensure the corresponding treeview is expanded, click on the 'Push 1ce' button in the preview, click on the Notepad node under the <no group> treeview
Hm, another case of 'Works on my machine...' weird. I do the de-selection and selection of treenodes using standard AU3 included functions, and can not see what you describe. I'll test some more, and add a small delay in between, that might improve things.
Could be something with the OS/Video drivers, what's your configuration? (Tested with Win7 with Aero on nVidia GTS 250 with drivers 8.17.12.5896.)
Also tested on WinXP running on VMWare and on 125%/120 DPI, and I see some odd behavior there. I'll try to fix that, if possible. The treeview control is a nasty beast sometimes, I've seen in the past Sad
Reproduced issue in the same environments as mentioned above (XP SP3).

Regarding WinButtons itself, is there any support for dropping things on to buttons?  I searched for relevant information in this topic and WinButtons.Readme.txt unsuccessfully.
WinButtons is not a drop-target, but I could add that if you want/need it. Could you give a more elaborate description for what/how you'd expect to happen there?
I was thinking it might be nice if it were possible to specify in the configuration that a certain action would be taken upon drop (e.g. execute a command passing the path of what's dropped -- assuming what's dropped has a path or set of paths).  Does that make sense?
1506  DonationCoder.com Software / Finished Programs / Re: DONE: On Screen Button That Sends Keyboard Commands on: June 10, 2011, 06:14:13 PM
But I had fun (and inspiration) while working on it, that's the most important gain I had from it thumbs up
+1

So I've been trying out the editor (according to the about box, I see 0.8.1.0) a bit and have some initial feedback:

  • I found choosing a color via the "Change..." button for Color to not work if starting with a blank value (no value got filled in to the text field for Color:), while I found that the corresponding choosing sequence of actions for Textcolor did work.
  • Any chance of Control+A selecting all text in text fields?
  • I accidentally opened the WinButtonEdit.ini in the editor -- not a good idea right?  Any chance of some kind of warning or protection?
  • I see that clicking on a button in the preview will select a node in the tree -- except it doesn't appear to work for the Pink-Online button in <no group> in my default WinButtons.ini.
  • In the tree view, multiple nodes appear selected sometimes: view WinButtons.ini, choose <no group>, ensure the corresponding treeview is expanded, choose scite, ensure the corresponding treeview is expanded, click on the 'Push 1ce' button in the preview, click on the Notepad node under the <no group> treeview
  • When I open WinButtons.ini, initially I don't see a + expander next to the scite group in the left pane.  When I select the scite group though, the + expander appears.
  • When there isn't much space in the preview, is there a good way to move it without accidentally pushing the buttons that fill most of the space?

Regarding WinButtons itself, is there any support for dropping things on to buttons?  I searched for relevant information in this topic and WinButtons.Readme.txt unsuccessfully.

Thank you for:

Quote
Environment variables can be used by using %env.variable%

I didn't find it in the docs, but by looking at the samples I noticed that it looks like one can use relative paths.  Thmbsup
1507  DonationCoder.com Software / Finished Programs / Re: DONE: On Screen Button That Sends Keyboard Commands on: June 10, 2011, 02:26:10 AM
Re: WinButtonEdit

Wow, nice  Thmbsup  Was this a lot of work?

I think examining some of the bundled ini files using the editor will help me to experiment and learn how to use WinButton better.  Seems like it should lower the barrier-to-entry.
1508  DonationCoder.com Software / Unfinished Requests / Re: UNANSWERED: Bookmarklet to replace 'user-scalable=0' with 'user-scalable=1' on: June 10, 2011, 01:02:07 AM
Ah, too bad Sad

On a related note, I am looking at the technique described in:

  http://code.google.com/p/bookmarklets/issues/detail?id=1#c6

Not quite there yet, but at least I've managed to get Dolphin and the Android default browser to execute some kind of code -- I wasn't even seeing the result of alert before.

There seems to be something going on with the use of yes / no -- not just 1 / 0 for user-scalable -- even if a page seems to use 1 / 0 in their source.  Haven't pinned it down yet...
1509  DonationCoder.com Software / Unfinished Requests / Re: UNANSWERED: Bookmarklet to replace 'user-scalable=0' with 'user-scalable=1' on: June 08, 2011, 07:49:29 AM
Fennec didn't succeed in installing here.  May be on a future device...

BTW, I read that some versions of Opera might work with bookmarklets:

  http://blog.wapreview.com/7176/

I got the feeling that the author of that post has been into Bookmarklets for some time -- perhaps there's some stuff worth investigating there...
1510  Main Area and Open Discussion / General Software Discussion / Re: Zenix is a "fun, fast, different" Linux distro! on: June 08, 2011, 06:49:47 AM
Am trying it via VirtualBox.

Some nice backgrounds indeed.  Chose what looks to be the following for the moment:

  http://frankhong.deviantart.com/art/Garden-of-Zen-156885520

Thanks for posting, zridling smiley
1511  Main Area and Open Discussion / General Software Discussion / Re: 15+ useful Chrome Extensions you night not have heard of on: June 07, 2011, 03:06:23 AM
Are you aware that your Adblock extension is not from the same folks who made the wonderful Adblock Plus for Firefox?

For that one you need to go here: Adblock Plus for Google Chrome (Beta)
Thanks for this tip smiley

There was a nice tidbit on a page for Adblock Plus for Google Chrome extension regarding the initially mentioned Adblock extension, FWIW:

Quote
Please note that there is another extension called "AdBlock", which is not related to the Adblock Plus movement but also works great.
1512  Main Area and Open Discussion / Living Room / Re: DoCo Banner - Animated! on: June 06, 2011, 08:41:12 PM
Cody has a twin?  Or is that some kind of ninja-projection?
1513  DonationCoder.com Software / Unfinished Requests / Re: UNANSWERED: Bookmarklet to replace 'user-scalable=0' with 'user-scalable=1' on: June 06, 2011, 08:00:00 PM
Thanks for the example URLs.

I had also started noticing the use of 'yes' / 'no'.
1514  DonationCoder.com Software / Unfinished Requests / Re: UNANSWERED: Bookmarklet to replace 'user-scalable=0' with 'user-scalable=1' on: June 06, 2011, 12:28:40 PM
Hmmm...thanks for trying.

FWIW, I noticed that one bookmarklet I tested in Chrome didn't end up with %20 where there were spaces...perhaps it can work with both.  Also I was able to get Dolphin to save a bookmarklet without ending up with %20s, though haven't had any luck telling if it actually executes anything.

BTW, do you have some sites (specifically URLs) you wouldn't mind sharing for testing that are relevant to this bookmarklet?
1515  DonationCoder.com Software / Unfinished Requests / Re: UNANSWERED: Bookmarklet to replace 'user-scalable=0' with 'user-scalable=1' on: June 06, 2011, 06:34:06 AM
I haven't had much luck so far with the default browser, nor with Dolphin.

BTW, %20 seems to be something that was added by Firefox (at least for the desktop).  I would try things without them (i.e. use spaces) initially.

May be others might have some better ideas.

FWIW, I've temporarily placed the text of the bookmarklet (what I pasted in to FF 4.0.1) at:

  http://ewemoa.dcmembers.com/tmp/andbkmklt.txt

This might be helpful in getting the bookmarklet content on to the Android device.
1516  Main Area and Open Discussion / General Software Discussion / Re: Dropbox....without dropbox? on: June 06, 2011, 02:59:03 AM
Saw something that could tickle the interest from several DC members regarding the creation of their own cloud backup solution.
The following bit of text under "What's Next?" looked interesting:

Quote
Transferring via SFTP.
1517  DonationCoder.com Software / Unfinished Requests / Re: UNANSWERED: Bookmarklet to replace 'user-scalable=0' with 'user-scalable=1' on: June 06, 2011, 12:41:25 AM
I pasted the following as the content of the Location field in a bookmark in Firefox 4.0.1:

Formatted for Javascript with the GeSHI Syntax Highlighter [copy or print]
  1. javascript:(function () { var elts = document.getElementsByName("viewport"); var attrval = ""; var cntRe = /(user-scalable\s*=\s*0)/i; var i = 0; for (i = 0; i < elts.length; i++) { attrval = elts[i].getAttribute("content"); if (cntRe.test(attrval)) { elts[i].setAttribute("content", attrval.replace(cntRe, "user-scalable=1")); } } })();

Firefox appeared to transform the content as follows (I think this was a simple replacement of spaces with %20):

Formatted for Javascript with the GeSHI Syntax Highlighter [copy or print]
  1. javascript:(function%20()%20{%20var%20elts%20=%20document.getElementsByName("viewport");%20var%20attrval%20=%20"";%20var%20cntRe%20=%20/(user-scalable\s*=\s*0)/i;%20var%20i%20=%200;%20for%20(i%20=%200;%20i%20<%20elts.length;%20i++)%20{%20attrval%20=%20elts[i].getAttribute("content");%20if%20(cntRe.test(attrval))%20{%20elts[i].setAttribute("content",%20attrval.replace(cntRe,%20"user-scalable=1"));%20}%20}%20})();

This appeared to work on http://en.m.wikipedia.org/.

Note: the regular expression used could probably use some improvement.
1518  Other Software / Developer's Corner / Re: Automated Snapshots with VirtualBox on: June 06, 2011, 12:10:56 AM
To give a taste of what it might be like to use Python to work with VirtualBox, below is a modified example from the SDK docs to start a virtual machine.  The code runs on a host and starts up an already configured guest.  It seemed to work ok with a locally installed VirtualBox 4.0.8.

Formatted for Python with the GeSHI Syntax Highlighter [copy or print]
  1. from vboxapi import VirtualBoxManager
  2. virtualBoxManager = VirtualBoxManager(None, None)
  3.  
  4. vbox = virtualBoxManager.vbox
  5. mgr = virtualBoxManager.mgr
  6. print "Version is", vbox.version
  7.  
  8. def machById(id):
  9.    mach = None
  10.    for m in virtualBoxManager.getArray(vbox, 'machines'):
  11.        if m.name == id or mach.id == id:
  12.            mach = m
  13.            break
  14.    return mach
  15.  
  16. name = "Windows XP SP3"
  17. mach = machById(name)
  18.  
  19. if mach is None:
  20.    print "cannot find machine", name
  21. else:
  22.    session = mgr.getSessionObject(vbox)
  23.    progress = mach.launchVMProcess(session, "gui", mach.id)
  24.    progress.waitForCompletion(-1)
  25.    session.close()
1519  Other Software / Developer's Corner / Re: Automated Snapshots with VirtualBox on: June 05, 2011, 09:33:50 PM
Thanks for the ideas and suggestions smiley

Am trying to digest the SDK Programming Guide ATM.  It looks pretty clear so far that using Python would make certain things easier than using some other alternatives.
1520  Other Software / Developer's Corner / Re: Automated Snapshots with VirtualBox on: June 04, 2011, 12:21:17 PM
Thanks for the link -- I'd just come across:

  http://www.virtualbox.org/manual/ch11.html

where I saw COM, XPCOM, and other things of potential interest mentioned.  This triggered some poking around the VirtualBox site's documentation section, where I noticed the SDK Programming Guide, but haven't really looked at it in any detail yet.

I'm not sure how nasty taking a snapshot becomes, so some real-world experience via a prototype using easy-to-develop scripts and some scheduling code as you suggested is a path that seems reasonable.  FWIW, it looks like the tool on the guest end, vboxcontrol, is headed in the direction of being able to initiate a snapshot.  In my locally installed version, I get some message about not implemented yet, so ATM it's looking like a host+guest idea.

On a related note, I started to use Workrave recently and got to thinking that if I was going to be taking breaks so frequently, may be snapshotting could happen during some of those times smiley

This idea seems pretty obvious in retrospect though, so I'm wondering if someone hasn't already done something similar.
1521  DonationCoder.com Software / Unfinished Requests / Re: UNANSWERED: Bookmarklet to replace 'user-scalable=0' with 'user-scalable=1' on: June 04, 2011, 08:42:26 AM
The following is something that I tried out via Firebug on http://en.m.wikipedia.org/:

Formatted for Javascript with the GeSHI Syntax Highlighter [copy or print]
  1. (function ()
  2.  {
  3.    var elts = document.getElementsByName("viewport");
  4.    var attrval = "";
  5.    /* XXX: this is not quite right */
  6.    var cntRe = /(user-scalable\s*=\s*0)/i;
  7.    var i = 0;
  8.    for (i = 0; i < elts.length; i++)
  9.    {
  10.      attrval = elts[i].getAttribute("content");
  11.      if (cntRe.test(attrval))
  12.      {
  13.        elts[i].setAttribute("content", attrval.replace(cntRe, "user-scalable=1"));
  14.      }
  15.    }
  16.  })();

When I examine the DOM before and afterwards, it looks like may be it's working.  Haven't converted it into a bookmarklet to test that way yet.  May be there are other folks who can join in to test smiley

Update: Changed comment // -> /* */ to facilitate bookmarklet conversion.
1522  Other Software / Developer's Corner / Re: Automated Snapshots with VirtualBox on: June 04, 2011, 08:07:57 AM
Err...

May be this wouldn't work so well for certain situations -- e.g. some involving a network.  But FWIW, it looks somewhat doable using VirtualBox's vboxmanage (host) and vboxcontrol (guest via guest additions) command line tools.

Sorry I didn't get the capitalization correct...
1523  Main Area and Open Discussion / Living Room / Re: Will Apple Tell You What You Can/Can't Take Pictures of? on: June 04, 2011, 03:42:05 AM
Apple's legendary 1984 advert told us everything we needed to know, we were just too dumb to realise they were Big Brother.
Ahhhhhh.  Now I get it smiley
1524  Other Software / Developer's Corner / Automated Snapshots with VirtualBox on: June 04, 2011, 01:59:25 AM
Those hard to reproduce bugs...sometimes we reproduce them, but then subsequently don't seem to be able to...

Perhaps we'd have a better chance if we could start from a snapshot of a virtual machine which was taken shortly before a successful reproduction -- may be also having frequent screenshots of the system.

So with disk space being on the cheaper side these days, may be automatically taking snapshots of one's system every X minutes would be practical (can delete stuff that older than some time for keeping the amount of used space manageable).

May be this wouldn't work so well for certain situations -- e.g. some involving a network.  But FWIW, it looks somewhat doable using VirtualBox's vboxmanage (host) and vboxcontrol (guest via guest additions) command line tools.

One way to do this would be to leverage the guestproperty (get, set, wait) and snapshot subcommands.

Has anyone seen anything that does this sort of thing already?
1525  Other Software / Developer's Corner / Re: SWF 2 EXE "open source" release help, please on: June 01, 2011, 10:15:25 PM
Don't know how much use it may be, but FWIW, I came across this article which brings up some potential pitfalls (in the opinion of the author of the article smiley ) for writing one's own license:

http://www.plagiarismtoda...t-write-your-own-license/
Pages: Prev 1 ... 56 57 58 59 60 [61] 62 63 64 65 66 ... 101 Next
DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.11s | Server load: 0.02 ]


Share on Facebook
submit to reddit