Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MyJournal = NSK_Journal.txt
- ;------------------------------------------------------------
- ;Hotkey to capture My Jounal entries:
- ;------------------------------------------------------------
- ;#J::
- FormatTime, RightNow
- {
- ; Simple input-box
- Gui, Add, Text, x10 y27 w50 h20 , Title:
- Gui, Add, Text, x10 y67 w50 h20 , Tags:
- Gui, Add, Text, x10 y135 w50 h20 , Content:
- Gui, Add, Edit, x66 y27 w560 h20 vTitleName ; Topic variable,
- Gui, Add, Edit, x66 y67 w560 h20 vTagList ; Tag list variable. Separate tags commas.,
- Gui, Add, Edit, x66 y100 w560 h430 vContentText ; Content variable,
- Gui, Add, Button, x180 y550 w100 h30 , Save ; The label ButtonEnter will be run when the button is pressed.
- Gui, Add, Button, x400 y550 w100 h30 , Cancel ; The label ButtonCancel will can action but keep script running.
- Gui, Show, x180 y60 h600 w650, NAJEEB Journal Entry
- Return ; End of auto-execute section. The script is idle until the user does something.
- GuiClose:
- ButtonCancel:
- Gui,Destroy
- ExitApp
- ButtonSave:
- Gui, Submit ; Save the input from the user to each control's associated variable.
- FileAppend, TITLE: %TitleName%`nTAGS: %TagList%`nTIME: %RightNow%`nCONTENT: %ContentText%`n;-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- END -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-`n, %MyJournal%
- Gui,Destroy
- ExitApp
- }
Add Comment
Please, Sign In to add comment