tag:blogger.com,1999:blog-14356711036403740142024-03-14T07:43:27.798+01:00Ton A daySome irregular postings I need to ventilate to the worldTonhttp://www.blogger.com/profile/03972425620506086865noreply@blogger.comBlogger15125tag:blogger.com,1999:blog-1435671103640374014.post-18914541304463783532011-09-25T15:39:00.000+02:002011-09-25T15:40:59.117+02:00WinButtons 3.5.0 supports png imagesWell, beside that <a href="http://ath.dcmembers.com/wb/pages/software/winbuttons.php"><b>WinButtons 3.5.0</b></a> now supports PNG image display (with control of size and opacity) it also comes with what I've called Borderless Buttons, a button that doesn't have the normal border that buttons have, but also lacks the 3D support most of us are used to. To still get the notion of a button pressed, the FlipKeycolor feature, that reverts the button color and text color for at least 250 msec, as introduced in version 3.4.0 could be used. This requires either the global/group colors or the specific button colors to be set, but that will probably be done to get a nice UI anyway.<br />
<br />
The new Borderless Button als supports the combination of an image and a caption on the button, and the caption can be arranged to display at the bottom (default), top, left or right side of the image. When placed at the left or right, they have to share the available space, so each gets 50% of the width by default. By specifying a different size for the image, the remaining space is assigned to the caption's width.<br />
The combination of all these features makes it possible to create a UI that closely resembles the new Metro design style, as used by Microsoft on Windows Phone 7, and in the Windows 8 demo's.<br />
A small example file called Metro.wbuc is included with the download, and also comes with the update feature (WinButtonEdit, File/Check for updates), available when you have version 3.4.0 installed, and mouser's <a href="http://www.donationcoder.com/Software/Mouser/Updater/index.html">DCUpdater</a> also on your system.<br />
<br />
Ofcourse, <b>WinButtonEdit</b> was also updated (to v1.0.4.2) to support the new features and preview of WinButtons.<br />
<br />
Download can be fetched from the <a href="http://ath.dcmembers.com/wb/pages/software/winbuttons.php"><b>WinButtons</b></a> page on <a href="http://ath.dcmembers.com/wb/">my DCMembers site</a>Tonhttp://www.blogger.com/profile/03972425620506086865noreply@blogger.com0tag:blogger.com,1999:blog-1435671103640374014.post-88788506682146957622011-09-03T11:14:00.000+02:002011-09-03T11:14:39.278+02:00WinButtons 3.4.0 and WinButtonEdit 1.0.1 releasedAnother update for <b><a href="http://ath.dcmembers.com/wb/pages/software/winbuttons.php">WinButtons</a></b> and <b><a href="http://ath.dcmembers.com/wb/pages/software/winbuttons.php">WinButtonEdit</a></b><br />
<br />
A new feature is added, called CursorRestore, to restore the position of the cursor, if WinButtons is placed on a (external) touch-screen. It's off by default, but can easily be enabled by either using WinButtonEdit, or adding cursorrestore=1 in the [Settings] section of the .ini/.wbuc file.<br />
<br />
Download the zipfile from my <a href="http://ath.dcmembers.com/wb/pages/software/winbuttons.php">DCMembers page</a> and comment or do feature-requests in this <a href="http://www.donationcoder.com/forum/index.php?topic=25167.msg240037#msg240037">DonationCoder forum thread</a>Tonhttp://www.blogger.com/profile/03972425620506086865noreply@blogger.com0tag:blogger.com,1999:blog-1435671103640374014.post-54460752407248521032011-07-27T13:57:00.002+02:002011-07-27T13:59:47.689+02:00Excel2Html v2: Full rebuild in JavaAs there are some issues running AutoIt3 scripts or compiled .exe's against the Excel object model, I completely rewrote this Excel to Html converter in Java 6.<br />
<br />
It's still called <a href="http://ath.dcmembers.com/wb/pages/software/excel2html.php"><b>Excel2Html v2</b></a> and the version number is now 2.0.1.1, as I had to do a few improvements.<br />
<br />
<i>Excel2Html v2</i> is 99% backward compatible with the v0.x release, except for the -et command-line parameter, that is no longer supported.<br />
<br />
Download and information is available from my <a href="http://ath.dcmembers.com/wb/pages/software/excel2html.php">DCMembers.com page</a>.<br />
<br />
Support questions, requests and remarks can be posted at this <a href="http://www.donationcoder.com/forum/index.php?topic=25114.0">DonationCoder.com forum thread</a>.Tonhttp://www.blogger.com/profile/03972425620506086865noreply@blogger.com0tag:blogger.com,1999:blog-1435671103640374014.post-85688893073915408882011-07-27T13:50:00.002+02:002011-07-27T13:58:29.455+02:00WinButtons 3.3.2.1 and configuration editor WinButtonEdit 0.9.3It's been a while since I updated this blog, but I've not been sitting quietly.<br />
<br />
<a href="http://ath.dcmembers.com/wb/pages/software/winbuttons.php"><b>WinButtons</b></a> made it to version 3.3.2.1<br />
<br />
and <br />
<br />
<a href="http://ath.dcmembers.com/wb/pages/software/winbuttons.php"><b>WinButtonEdit</b></a> was updated to version 0.9.3.0<br />
(and is included with the <b>WinButtons</b> download)<br />
<br />
Most notable changes:<br />
<i>WinButtons</i>:<br />
- The default file extension was changed from .ini to <b>.wbuc</b><br />
- Displaying Icons from .exe, .dll and .icl resource containers<br />
- Resizing of .bmp Images on buttons<br />
- Drag&Drop support to send files to a configured executable<br />
<br />
<i>WinButtonEdit</i>:<br />
- Drag&Drop support for configuration files (*.wbuc/*.ini)<br />
- Selection of Icons from .exe, .dll and .icl resource containers<br />
- Resizing of .bmp Images on buttons<br />
- Set file associations for .wbuc to open with WinButtons or edit/open with WinButtonEdit<br />
<br />
All details are as usual in the readme, included with the download.Tonhttp://www.blogger.com/profile/03972425620506086865noreply@blogger.com0tag:blogger.com,1999:blog-1435671103640374014.post-82799090463603422812011-06-06T22:54:00.000+02:002011-06-06T22:54:43.964+02:00WinButtons 3.1.2 gets a configuration editor WinButtonEdit 0.8.0It's been a while, but I've been busy with a project: <b>WinButtonEdit</b> (WBE).<br />
WBE is a configuration tool for <b>WinButtons</b>, and aids in the rather awkward job of creating a set of button definitions with a plain text editor in an ini file.<br />
<br />
The download is <a href="http://ath.dcmembers.com/wb/pages/software/winbuttons.php">available here</a>, with the updated version of <b>WinButtons 3.1.2</b>, that also got a few more or less minor improvements, with as the most important one: Switch the context to an other group of buttons based of the currently selected control of an application, instead of selecting the application. This allows to present a set of buttons f.e. linking to information that is available in that control (listbox, combobox etc.)Tonhttp://www.blogger.com/profile/03972425620506086865noreply@blogger.com0tag:blogger.com,1999:blog-1435671103640374014.post-44443649086429714432011-04-23T19:03:00.002+02:002011-04-23T19:05:21.152+02:00AutoIt3 project WinButtons, updated, now has Conditional ButtonsI've been adding a new feature to <b>WinButtons</b>: Conditional Buttons. It adds a means to completely hide, make invisible or disable a button on 1 or several conditions, like the existence of a file or directory, an exe being loaded, or not, and the evaluation of AutoIt3 functions. And all this can be combined with AND and OR logical operators, and inverted by the NOT operator. Round brackets can be used to group conditions as needed.<br />
<br />
The download of <a href="http://ath.dcmembers.com/wb/pages/software/winbuttons.php"><b>WinButtons 3.0.0</b></a> is available from <a href="http://ath.dcmembers.com/wb/pages/software/winbuttons.php">this webpage</a>.Tonhttp://www.blogger.com/profile/03972425620506086865noreply@blogger.com0tag:blogger.com,1999:blog-1435671103640374014.post-25506947778523484392011-04-10T12:42:00.005+02:002011-04-10T12:50:11.456+02:00AutoIt3 project WinButtons, Another update: it now has variablesAfter fiddling around with WinButtons for a while, I found a project it could be actively used for a temporary solution. It involves a set of buttons that copy files from one set of folders to another set of folders. And all this in several flavors.<br />
As the base source and destination directories of all these folders will be the same, but the number of buttons is unknown, I would like to use some sort of constants or variables to be reused for each button. Hence the new feature 'Variables'. <br />
This is available from version 2.5. (but never officially released).<br />
During development of the Variables feature, I also dearly missed easy 'configuration' of these variables, so I also introduced parameters to variables. After some testing and debugging, this has become <b><a href="http://www.donationcoder.com/forum/index.php?topic=25167.msg240037#msg240037">WinButtons 2.6.0</a></b> (links to the original release-thread on the <a href="http://www.donationcoder.com/forum">DonationCoder.com forum</a>)<br />
<br />
All documentation and download is available from the <a href="http://ath.dcmembers.com/wb/pages/software/winbuttons.php">WinButtons page</a> on my <a href="http://ath.dcmembers.com/wb">DcMembers site</a><br />
<br />
Another few extensions where made, by giving options to display a message, or ask for confirmation before a command is started, using the -ask, -asc and -msg options on a button's command<n> parameter.Tonhttp://www.blogger.com/profile/03972425620506086865noreply@blogger.com0tag:blogger.com,1999:blog-1435671103640374014.post-1851047546621709172011-03-15T21:03:00.002+01:002011-03-17T21:12:12.675+01:00AutoIt3 project WinButtons, Big update for big onscreen buttonsAfter only a week of live time for version 1.0.0, I released the next version of <a href="http://www.donationcoder.com/forum/index.php?topic=25167.msg240037#msg240037"><b>WinButtons, v2.0.0</b></a> last Friday, 11-03.<br />
Again it was uploaded to the forum where it all originated, <a href="http://www.donationcoder.com">DonationCoder.com</a>, the fine place to be for all 'software connoisseurs', as (one of) the site's subtitles states.<br />
<br />
The reason for this rather quick increase in the version number, is that there's a major new feature added:<br />
<b>Context sensitivity</b>: The displayed set of buttons can be made dependent on the current foreground (focused) application.<br />
This is accomplished by defining a button group, naming one (or more) executable name of the application that should get this special set of buttons. The buttons set is defined in the same configuration file, and loaded as soon as the application gets the user's attention. Even the position of the WinButtons window can be defined for that set of buttons.<br />
<br />
Configuration is still a bit awkward, as this involves manual editing of an ini file, but I'm working on a GUI just for setting up the buttons more easily. This is a work in progress, though.Tonhttp://www.blogger.com/profile/03972425620506086865noreply@blogger.com0tag:blogger.com,1999:blog-1435671103640374014.post-88662441465882945162011-03-04T21:22:00.005+01:002011-03-04T21:26:18.123+01:00AutoIt3 project: WinButtons, Big onscreen buttons for touchscreen useHi,<br />
<br />
To aid in the promotion of the <a href="http://www.donationcoder.com/fundraiser">March 2011 Fundraiser</a>, over at the <a href="http://www.donationcoder.com">DonationCoder</a> website, I created another AutoIt3 tool I called <a href="http://www.donationcoder.com/forum/index.php?topic=25167.msg240037#msg240037">WinButtons</a>.<br />
It was <a href="http://www.donationcoder.com/forum/index.php?topic=25167.0">requested</a> a few weeks ago at the <a href="http://www.donationcoder.com/forum/index.php?board=36.0">Coding Snacks</a> section of the DoCo forum, and I needed another small project anyways, so there you go!<br />
<br />
Just released version 1.0.0, as scheduled for the Fundraiser, and the first responses are pretty positive. That's very nice to start with, ofcourse.<br />
<a href="http://www.donationcoder.com/forum/index.php?topic=25167.msg240037#msg240037">Screenshots</a> and the latest <a href="http://www.donationcoder.com/forum/index.php?topic=25167.msg240037#msg240037">download</a> (source, exe and readme included) are available at the forum.<br />
<br />
/TonTonhttp://www.blogger.com/profile/03972425620506086865noreply@blogger.com0tag:blogger.com,1999:blog-1435671103640374014.post-88893121998391105882011-02-07T23:42:00.007+01:002011-03-04T21:24:22.947+01:00AutoIt3 project: WinSendKeys updated to handle text from clipboardToday I updated my AutoIt3 project <b>WinSendKeys 3.0.1</b> <strike>2.6</strike> (<a href="http://www.donationcoder.com/forum/index.php?topic=25389">Thread at DonationCoder.com forum</a>, download at the far end of the thread)<br />
<br />
Version 2.6 adds 3 commandline parameters, -c, -cc and -cn to enable Clipboard text-contents to be sent to a specific Window.<br />
This was triggered on <a href="http://www.donationcoder.com/forum/">DonationCoder</a>.com by this <a href="http://www.donationcoder.com/forum/index.php?topic=25553">forumthread.</a><br />
<br />
Version 3.0 adds 2 more parameters, -x executable_filepath and -xp executable_parameters, to run the named executable (with optional parameters) if the WindowName is not found, or if a WindowName is not specified, it then tries to find that executable and activates it or runs it. <br />
As requested by user kikon at the <a href="http://www.donationcoder.com/forum/">DonationCoder</a>.com forum.<br />
<br />
Version 3.0.1 adds 1 more parameter, -xd delay, to delay for some milliseconds after starting the file specified by -x parameter, so slow starting applications can be catered for.<br />
<br />
The included readme file is a required read to optimally use these new options.Tonhttp://www.blogger.com/profile/03972425620506086865noreply@blogger.com0tag:blogger.com,1999:blog-1435671103640374014.post-58749498125960030402011-01-29T15:11:00.005+01:002011-03-04T21:25:10.171+01:00AutoIt3 project: Commandline KeyStrokes and MouseStrokes sender WinSendKeysThe last couple of days I worked on a small project to help a member of the <a href="http://www.donationcoder.com">DonationCoder.com</a> <a href="http://www.donationcoder.com/forum">forum</a>, and created <a href="http://www.donationcoder.com/forum/index.php?topic=25389.0">WinSendKeys 2.5</a>.<br />
<br />
WinSendKeys is a command-line tool to send keystrokes and/or mousestrokes/clicks to a named 'Window' (Application).<br />
<br />
It has gotten to <strike>v2.0</strike>v2.5 already, as at first it only supported keystrokes, but now also can send mouse clicks to applications that don't support accelerator keys.<br />
<br />
Download available at the link above, readme included in the zipfile.Tonhttp://www.blogger.com/profile/03972425620506086865noreply@blogger.com0tag:blogger.com,1999:blog-1435671103640374014.post-44067094627811408362011-01-09T13:01:00.004+01:002011-01-10T20:27:56.462+01:00Inno Setup prepareToInstall scripts updated to 0.5.1Hi all,<br />
<br />
I'm at the risk that this blog looks like an Inno Setup only tour, but that's not the intention. I'm just doing some scripting with Inno these days, other projects I can't disclose here (yet).<br />
<br />
I've updated the PrepareToInstall scripts (original post is <a href="http://tonaday.blogspot.com/2010/12/innosetup.html">here</a>) to version 0.5 and it's available for <a href="http://www.mediafire.com/file/o6um663g6tmjy8g/InnoSetup-PreparetoInstall-0.5.1.zip">download here</a>. <br />
(Updated to v0.5.1 because of a minor mishap in the demo script. Thanks Robert.)<br />
<br />
The previous posts on this subject are updated to point to this one, so new finders can have the latest release.<br />
<br />
The improvement I made is:<br />
+ Added support for local NextButtonClick, NeedsRestart and PrepareToInstall event functions (set a define and add the prefix 'Local' to the local function name)Tonhttp://www.blogger.com/profile/03972425620506086865noreply@blogger.com20tag:blogger.com,1999:blog-1435671103640374014.post-72127905267230888782010-12-31T16:47:00.002+01:002011-01-01T12:48:09.060+01:00Inno Setup using correct LanguageId'sTo use (and store in your settings) the correct Language Id when installing your application using Inno Setup, I created a few macro's that could make life a little easier: languageIdMacro.iss<br />
<br />
The download is <a href="http://www.mediafire.com/file/8mmpi69jeaj8jlq/InnoSetup-languageIds.zip">available here</a><br />
<br />
Have fun!Tonhttp://www.blogger.com/profile/03972425620506086865noreply@blogger.com0tag:blogger.com,1999:blog-1435671103640374014.post-80513820912135342132010-12-30T20:54:00.008+01:002011-01-09T13:03:25.061+01:00Inno Setup script for dl&install .NET 4.0, VC++2010, SQL Express 2008 R2Today I scribbled in a few <a href="http://www.jrsoftware.org/isinfo.php">Inno Setup</a> scripts, after helping a friend getting his .NET 4.0 and VC++ 2010 runtimes installed with his new app.<br />
I started at the <a href="http://www.vincenzo.net/isxkb">ISXKB</a>, a huge resource on Inno Setup knowledge and sample scripts, but the holy grail wasn't there. Nearest is <a href="http://www.vincenzo.net/isxkb/index.php?title=.NET_-_Detect_framework">this page</a> though, and there are also a couple of links to external script sources. This post will be added there, I guess...<br />
As there's no suitable, ready-made, working sample available, I started with the (nicely modular) scripts of <a href="http://www.codeproject.com/KB/install/dotnetfx_innosetup_instal.aspx">stfx @ CodeProject</a>. There are quite a few updates and improvements hidden in the comments at the end of the page, that I missed at first ofcourse, so I had to update my changes again. That's one of the reasons we will never get out of work in IT, changes, changes...<br />
<br />
The zipped-up results can be <strike><a href="http://www.mediafire.com/file/jdt9u5986tmczl4/InnoSetup-PreparetoInstall-0.4.zip">grabbed here</a></strike>. Update: A newer release is <a href="http://tonaday.blogspot.com/2011/01/inno-setup-preparetoinstall-scripts.html">available here</a> (plz e-mail me if the link dies)<br />
<br />
Notable differences:<br />
+ (module) .NET 4.0 download & install for either/both Client and Full profile (using the web-installer, so no Language-pack hassle, it automagically gets the right localizations)<br />
+ (module) VC++ 2010 runtime, downloading and installing both the x86 and x64 redistributables on x64 OS's<br />
+ (module) SQL Server 2008 R2 Express for either x86 or x64 OS's. If SQL Server 2005 Express is already installed, nothing happens, that needs a manual upgrade or parallel install<br />
* (update) SQL Server 2005 SP3, as the original extra module (suggested in the comments) couldn't install the RTM package on Vista or later<br />
* (update) Restructure of the example setup.iss, so a single #define enables a feature<br />
! (bugfix) Blocking the install if a non-privileged user runs the setup without using 'Run as Administrator', and one of the prerequisites needs to be installed. This enables PrivilegesRequired=none capable application-installations if all prerequisites are met.<br />
* (feature) Rebooting at the end of the install if installation of a prerequisite requests a delayed reboot (MSI returncode 3010)<br />
<br />
Any comments are welcome.<br />
<br />
<br />
/TonTonhttp://www.blogger.com/profile/03972425620506086865noreply@blogger.com4tag:blogger.com,1999:blog-1435671103640374014.post-35319281918906266712010-12-30T20:16:00.001+01:002010-12-30T21:13:09.483+01:00First message, Ton AdayGotta post something here for a first message, so it better be something totally useless.Tonhttp://www.blogger.com/profile/03972425620506086865noreply@blogger.com