avatar image

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

Login with username, password and session length
  • Wednesday April 24, 2024, 8:30 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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Uncle John [ switch to compact view ]

Pages: [1] 2next
Having trouble locating RunonSwitch. Could you please add a link to it from this forum?

Post New Requests Here / Re: IDEA: Temporary Access
« on: October 29, 2009, 03:28 PM »
I'm glad I put the pursuit of this project on hold for a while. I've found that someone else has already done what I was hoping to accomplish: How to pwn with U3 Hack

Post New Requests Here / Re: IDEA: Temporary Access
« on: October 18, 2008, 06:32 PM »
Oh. Silly me :-[ keystroke logging is only a problem when the keyboard is used to enter the password. Since my idea is to enter the password automatically I don't have to worry about methods for defeating keystroke logging.
I've found an Autohotkey program that will do most of what I'm after at AutoFiller all that is needed now are a few modifications....

Easier still is what I'll call the three steps forward three steps back method (see: non-technological methods in Keystroke logging ).
Auto Form Filling would be nice but Auto Field filling would be sufficient.
I'd suggest that the Autohotkey program that does the field filling should first check whether "Dead man's switch" is present before executing. This would help prevent the use of the password by anyone other than the holder of the USB drive.
I hope someone (Skrommel perhaps?) has a go at this.
After I test the device and see that it works as intended I'd like to share part 3 of my project with everyone.   

Post New Requests Here / Re: IDEA: Temporary Access
« on: October 14, 2008, 05:08 AM »
There might be a much easier way to achieve what I'm after. I noticed the following article that describes a simple program: herley-poster_abstract. It would seem much easier than implementing edit controls.

Post New Requests Here / Re: IDEA: Temporary Access
« on: October 13, 2008, 05:00 PM »
Any thoughts on CSecureEditEx?

Post New Requests Here / IDEA: Temporary Access
« on: October 13, 2008, 04:05 PM »
40Hz was wondering where I was headed with my "Self destruct" idea. Seeing that he put us onto the very useful "Dead Man's Switch" app I thought it only fair to share the next step in my project with everyone.
The idea for this project came from two other projects: Keepass portable and Keeform. Keepass portable has a very useful feature that enables you to drag and drop hidden passwords. You can drag and drop a password onto a web page input field for example. Keeform lets you do the whole thing automatically.
There are times when you would like people to access password protected resources but also limit the time they can access the resource.
Keepass and Keeform don't cater for this very well for a number of reasons:
1. You need the entire applications plus the master password to make use of these features
2. Keeform only works for IE.
3. Once you get into Keepass you can "unhide" the password.
My idea is that a program that includes a selection of the features in Keepass and Keeform, runs off a USB drive and "self destructs" after a preset time would overcome these problems. The user would simply click on an icon on the USB drive. The app would then take the browser to the specific web page and automatically log in.
Keepass uses CSecureEditEx code to secure edit controls and CodeProject shows how it could be used in a project.
I've been tempted to give it a go but I figure I will die of old age b4 I get it working.


Post New Requests Here / Re: IDEA: Self Distruct
« on: October 13, 2008, 12:58 AM »
Thanks for all the comments. Encryption/password protection certainly seems like the way to go. I like the description of "Dead man's switch". I'll have a closer look at it. Thanks again. 

Post New Requests Here / IDEA: Self Distruct
« on: October 12, 2008, 03:30 PM »
I've been thinking about this idea for a program for quite a while but have been hesitant to share it since the program could be used for good as well as bad purposes (ie. virus). On the other hand isn't that the case with all technology. So here goes...
If you are as old as me you will remember that the starting scene from every episode of the TV series mission impossible starts the same way. Secret agent Jim retrieves a tiny tape cassete from some hidden location in a public place (e.g. under a shelf in a phone booth) places it in a player and listens to his instructions for his next "impossible" mission. At the end of the recording the voice says something like "this tape will self destruct in x seconds". Shortly after the cassete fizzles and dissolves. The fizzling is a great visual effect but the main point is that the information on the tape was destroyed.
I'm sure that there are scores of people around the world that wished they could destroy the data held on the hard disk of the laptop or USB flash drive drive that has been lost or stolen and that is where my idea comes in.
There are scores of remote access programs around that will allow you to operate a PC over the internet. Why not have a program running on the remote PC that will poll for a destruct command initiated by the authorized custodian of the data? If program receives the command it will automatically delete the specified data on media in question regardless of where it might be.
Given the astonishing fines (and jail terms) organisations place on unauthorised access to data nowadays and the many stories in the media about lost PCs with sensitive data etc., I'm sure my "self destruct" idea will be very popular. 

Post New Requests Here / Re: IDEA: Auto- Page Scroller
« on: October 13, 2007, 06:08 PM »
Found the explanation. It selects a page at a time.

Also found that Acrobat Reader (version 7) will do at least do the first part of what I want to do so at least Adobe thought this was worth doing..

Under Edit->Preferences there is a category "Full Screen"

When you select that, there are various options you can choose in the Full Screen Navigation frame:

Advance every __ seconds [you to fill in __ ]
Loop after last page

Before I have a go at coding this thing does anyone know of something that works for Windows generally?

Post New Requests Here / Re: IDEA: Auto- Page Scroller
« on: October 11, 2007, 04:28 PM »
The problem with automated PgDn is that it would occur unexpectedly. This also could be unpleasant and it could also be easy to loose your place. This could be improved by adding a visual cue.

I've been looking at what happens when you press Shift + PgDn. In windows containing editable text some of this text gets highlighted. However I'm not sure of what is going on here (ie. what is getting highlighted?).

Could someone explain it to me?

Post New Requests Here / IDEA: Auto- Page Scroller
« on: October 11, 2007, 05:54 AM »
DHTML scrollers such as the one at http://www.dmxzone.c...tail.asp?NewsId=6697 produce nice smooth scrolling. However, they require you to put commercial DHTML code into the page to be displayed.

Would it be possible build a scroller with AHK which works for any external web page?

The jerkiness of continuous scrolling is unpleasant so scrolling a screenful at preset time intervals and PgDn key automation would be better.

Living Room / Re: What's the most complicated wristwatch?
« on: August 26, 2007, 04:48 PM »
The watch I use is Casio Pathfinder...

Since you mentioned Casio Pathfinder I thought you might be interested in the Suunto Core..;bmUID=1188162682510

Purists like Darwin would probably say this should not be called a watch and he probably right, Sunnto refer to it as an Outdoor Wristop.


It's simple appearance belies it's complication. But if you consider all of the things it can do I think you'll find this "watch" is about as complicated as you'll find anywhere.


Post New Requests Here / Re: IDEA: Porting VeloAce to the PC
« on: June 11, 2007, 06:56 AM »
Anyone tried VeloAce in VMWare Player yet?

Post New Requests Here / Re: IDEA: Porting VeloAce to the PC
« on: May 27, 2007, 04:44 AM »
The idea is to watch a video/TV/Internet etc while running VeloAce with a small speedometer window (no border, transparent background, always on top) in the corner. :)

Looks like I can run VeloAce in a VMWare Player Window ( But the Internet Cafe PC I'm using here in Paris won't let me download the software so I can find out whether I can use AutoHotKey to will enable me to achieve the remainder of the abovementioned objectives. :(

Maybe someone else can try this and let us know whether it works.

Post New Requests Here / Re: IDEA: Porting VeloAce to the PC
« on: May 21, 2007, 10:11 PM »
Hi ethan,

Thanks so much for you advice. I suspected that a rewrite of the program would be required. I think I'll have a go at doing it in MFC.

I've found a short video that will at least get me started at

I really appreciate your tester program. Testing the RS232 connection is really be the best place to start. However I'm travelling O/S on holidays with my wife for the next six weeks and won't be in a position to do this test till I get home again. I'm typing this message from a hotel computer in Toronto at the moment. Although it would not be too difficult to rig up reed switch I suspect the hotel staff would not appreciate it. Given prevailing attitutudes nowadays I might even be at risk of being detained for suspicious behaviour. :D

However if someone else would like to try the tester program, VAIF details can be found at: There is also useful information to be gleaned at: http://home.swipnet....358/pilot/cables.htm


Post New Requests Here / IDEA: Porting VeloAce to the PC
« on: May 20, 2007, 09:21 AM »
VeloAce is an open source bicycle computer for the Palm PDA.
I had a go at porting Veloace ( to the XP environment so that I could use it on a PC when training indoors on my stationary bike.
I downloaded Visual C++ Express and tried compiling the code but immediately encountered difficulties.
I'll continue grappling with this project when I get the time but in the meantime I thought there might be others more competent than myself that may be interested in giving this a go.
I figure this project would be of particular interest to people that are interested in projects which interact with the physical world.


Uncle John 

Post New Requests Here / Re: IDEA: WinCovers
« on: December 21, 2006, 09:41 PM »
Maybe even better late than early. As you can see from the above posts the delay has given me some time to learn a little more about Autohotkey and the Win32 API etc. :D

Thanks again.

Post New Requests Here / Re: IDEA: WinCovers
« on: December 21, 2006, 04:15 PM »
Hi Skrommel,

Wow :)

Thanks for this. It is certainIy very useful to me and I suspect many others will find it useful too. :Thmbsup: 

Back on June 3 you mentioned that your script would work on all Windows default controls. I'm starting to appreciate the extent of those controls.

I'm still a pretty raw newbie so it'll take me a while to analyse your script and understand all it's implications. I really appreciate your having shared it with us.

Thanks and season's greetings to you and your family.

Borland C++ Builder Contest / Re: Marky's Virtual Keyboard Tool
« on: November 24, 2006, 02:15 AM »
I'm interested too.

Of course there's the "Microsoft On-Screen Keyboard" but I'd be interested see if Marky's code could be adapted to look something like Dialkeys (

Will be interesting to see which is available for download first, "Marky's Virtual Keyboard Tool" or "Dialkeys"?

Post New Requests Here / Re: IDEA: WinCovers
« on: October 16, 2006, 04:08 PM »
I couldn't get the SetParent based solution to work.
Nor could I get the "timingloop" based solution, where the Calculator is minimised when another window becomes active, to work satisfactorily.
One reasons I'm not satisfied is that having the script minimise the window then puts it under the control of the task bar button Calculator icon. Then if you press the Calculator icon the script locks up and Calculator stays minimized.
Another reason I'd prefer to explore a different solution is aesthetic. It's impossible to remove the jerkiness from the cover movement when the Calculator is dragged.

The approach I exploring now avoids the Calculator window being de-activated or moved by:
- Closing all windows b4 starting the Calculator script, 
- Hiding the Task Bar,
- Removing the Calculator Menu Bar,
- Placing an Splashimage over the Title Bar.

Here is the code. As you can see the "close all windows" part has been commented out for convenience while I'm trying to fix/develop other parts of the script:

#SingleInstance Force
SetBatchLines -1

/*WinGet, id, list, , , Program Manager ; Close all windows
Loop, %id%
   StringTrimRight, this_id, id%a_index%, 0
   WinGetTitle, this_title, ahk_id %this_id%
WinHide ahk_class Shell_TrayWnd
Run calc.exe, , , PID
WinWait ahk_pid %PID%
DllCall("SetMenu", uint, WinExist(), uint, 0)  ; Remove menu bar of "last found window".
WinMove, ahk_pid %PID%,,0, 0 ; Move the Calculator window to the top left corner.
SplashImage, , B w455 h30 x0 y0 CWBlue, , , SICalcCover
;SplashImage, , B w175 h165 x55 y125 CWSilver, , , SICalcCover
SetTimer Follow, 100
IfWinNotExist ahk_pid %PID%
Winshow ahk_class Shell_TrayWnd
ExitApp   ; Calc has been closed

I'm trying to work out how I can make a transparent hole over the Calculator Close button because you can still drag by clicking on the right hand edge of the title bar. Does anyone know how to make a hole in a SplashImage?

I'm also trying to get multiple SplashImages working. Only the title bar cover works at the moment. Doublebogey are you there? Do you have any suggestions on this?

Post New Requests Here / Re: IDEA: WinCovers
« on: September 20, 2006, 07:13 PM »
Cover.bmp is a grey rectangle W230 H170:

Run, %SystemRoot%\System32\calc.exe
WinWaitActive, Calculator
ControlGet, hWndNewParent, Hwnd,,, Calculator
WinGetPos, X, Y,,, Calculator
SplashImage, cover.bmp, B X%x% Y%y%
ControlGet, hWndChild, Hwnd,,, SplashImage
DllCall("SetParent", hWndChild, hWndNewParent)
Sleep, 10000
SplashImage, Off

I'm try to get the SplashImage to move with Calculator when I drag Calculator.

What did I do wrong?

Post New Requests Here / Re: IDEA: WinCovers
« on: September 20, 2006, 02:45 AM »
Another approach...
From what I've been told the code can be simplified by making each SplashImage the child of the Calculator Window through the use of the  "ControlGet Hwnd" command and the DllCall("SetParent"...) function call.

Not sure how to go about this. Any volunteers?

Post New Requests Here / Re: IDEA: WinCovers
« on: September 19, 2006, 05:25 AM »
Hi Db,

Making the following change switches off SplashImages when no Windows are active:

If Title=                                               ;If title is blank,. then
      Return                                            ;return, do nothing

changed to

If Title=                                                ;If title is blank,. then
      SplashImage 1:Off                                  ;Turn off Wincover 1   
      SplashImage 2:off
      SplashImage 3:off
      Return                                             ;return

However restoring another minimized window terminates the script leaving the Calculator running without covering SplashImages when the Calculator is again restored.

This problem still needs to be solved.


Post New Requests Here / Re: IDEA: WinCovers
« on: September 16, 2006, 08:07 AM »
Hi doublebogey,

Thanks for educating me about Splashimage etc. It's a much easier way of doing things.

Had a good laugh about the message to the Principal etc. ;D

Pages: [1] 2next