Hey guys: what great ideas 
I really liked the day page idea:
Thanks Kartal: it's a great way to organise stuff that's not necessarily organised so that it can be organised later...
And thanks Justice for your kick start... I've never done anything in AHK before (always used AutoIT myself), but nearly everyone here uses AHK so I'd always thought of getting started (but never really starting
).
So I've combined Kartal's idea of a day page into your script and bingo: wonderful

I really liked the day page idea:
Second, I do not use scratch pad at all. I have daily record wikipage I use to put random bits
Thanks Kartal: it's a great way to organise stuff that's not necessarily organised so that it can be organised later...
And thanks Justice for your kick start... I've never done anything in AHK before (always used AutoIT myself), but nearly everyone here uses AHK so I'd always thought of getting started (but never really starting
).So I've combined Kartal's idea of a day page into your script and bingo: wonderful

My Attempt at an AHK Script
Code: (autohotkey)
; WikidJot
SetTitleMatchMode, 2
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
#SingleInstance,Force
#j:: ; Win+j hotkey
Gui, Add, Text,, Enter note:
Gui, Add, Edit, r9 w400 vClip
Gui, Add, Button,gButtonOK, &Copy to Clipboard ; The label ButtonOK (if it exists) will be run when the button is pressed.
Gui, Show,, ClipJotter
return ; End of auto-execute section. The script is idle until the user does something.
return
ButtonOK:
Gui, Submit ; Save the input from the user to each control's associated variable.
; run wikidpad or switch to it
IfWinNotExist, MyWiki.wiki - WikidPad ; Look for a specific Wiki ("MyWiki.wiki")
{
Run, G:\Programmes\WikidPad\Wikidpad.exe -w G:\Documents\MyWiki\MyWiki.wiki ; comment this line with correct paths
WinWait, MyWiki.wiki - WikidPad, , 5
}
; ThisDay is the page where all "today's" notes will go: it's date based and will appear in the ParentLess View
ThisDay := A_DD . "-" . A_MM . "-" . A_YYYY ' eg: 04-04-2008
WinActivate, MyWiki.wiki - WikidPad ; Use filename just in case other windows are open
Send, {CTRLDOWN}o{CTRLUP} ; Open WikiPage
WinWait, Open Wiki Word ; Wait for the window
IfWinNotActive, Open Wiki Word, WinActivate, Open Wiki Word
WinWaitActive, Open Wiki Word
Send, %ThisDay% ; Enter the PageName
WinWaitActive, Open Wiki Word
Send, {ENTER} ; Close the Open Wiki Page window
WinWaitActive, Create , , 1 ; Wait to see if the Create Dialog is displayed
IfWinActive, Create
{
Send, {ALTDOWN}y{ALTUP} ; Of course we want to create a new page!
}
WinWait, MyWiki.wiki - WikidPad
IfWinNotActive, MyWiki.wiki - WikidPad, WinActivate, MyWiki.wiki - WikidPad
WinWaitActive, MyWiki.wiki - WikidPad
ControlFocus, wxWindowClassNR2 ; Set the focus on the editor in case it's not
Loop
{
; The 3rd section of the Status Bar displays where the cursor is, use this to show when we've reached the end of the page
StatusBarGetText, BeforeText , 3 , MyWiki.wiki - WikidPad
Send, {PgDn}
StatusBarGetText, AfterText , 3 , MyWiki.wiki - WikidPad
if AfterText = %BeforeText%
break
}
IfWinNotActive, MyWiki.wiki - WikidPad, WinActivate, MyWiki.wiki - WikidPad
WinWaitActive, MyWiki.wiki - WikidPad
ControlFocus, wxWindowClassNR2 ; Set the focus on the editor in case it's not
Send, {ENTER}{ENTER} ; Add a couple of lines
Send, %Clip% ; Insert our text
GuiClose:
Gui,Destroy








VanDragt.com
