Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Scratchpad - Snippets and notes for programmers and students


  • Please log in to reply
9 replies to this topic
Desi
  • Members
  • 162 posts
  • Last active: Jan 22 2014 09:12 PM
  • Joined: 29 Oct 2010

Download Scratchpad v6 (source included)

New in v6: 'Start minimised' option in GUI, silent file saving, 'unsaved' indicator.
 

scratchpad.png


Why use Scratchpad?
One reason: it's fast. Think of an idea. Hit your preferred hotkey combo (Win+S by default) to bring up Scratchpad. Type. Hit the combo again or Escape to hide Scratchpad again and get back to work.

Usage

  • Use a custom hotkey combo to instantly show or hide Scratchpad from anywhere in the operating system.
    • You can also use Escape to hide Scratchpad.
  • Save text with Ctrl+S and open text files with Ctrl+O. Your last-used file will be saved when you quit, and loaded at the start of the next session.
  • Edit template/template.txt to give yourself a ready-to-go framework every time you make a new file.


Changelog
The changelog is stored at http://www.desiquintans.com/scratchpad

Download Scratchpad v6 (source included)


Edited by Desi, 26 December 2012 - 03:22 AM.


Snow Flake
  • Members
  • 418 posts
  • Last active: Today, 05:57 PM
  • Joined: 08 Oct 2012
sound cool im gonna try it XDPosted Image

Desi
  • Members
  • 162 posts
  • Last active: Jan 22 2014 09:12 PM
  • Joined: 29 Oct 2010
Scratchpad v4 is here. Download here, link is the same as in the original post.

New in v4: UTF-8 file-reading support, /min command-line flag to start minimised (put it in the Target box of a shortcut to the .exe, for example).

Desi
  • Members
  • 162 posts
  • Last active: Jan 22 2014 09:12 PM
  • Joined: 29 Oct 2010

Scratchpad v5 is here. Download Scratchpad v5 (source included)

New in v5:

  • Autosaving and autoloading of files between sessions.
  • You can now define your own hotkey combo for showing/hiding Scratchpad.
  • Window position preserved between sessions.


muddleglum
  • Members
  • 30 posts
  • Last active: Dec 28 2013 03:45 AM
  • Joined: 14 Dec 2012

Desi,

I downloaded the zip file and extracted. I can not find the exe. It is not in the folder I extracted it to. What happened?

 

My malware catcher is calling this a virus!



Desi
  • Members
  • 162 posts
  • Last active: Jan 22 2014 09:12 PM
  • Joined: 29 Oct 2010

Hi Muddleglum,

 

I just tested downloading the zip, and the .exe is definitely in there. You may have gotten an incomplete download.

 

Re. the malware report, it's uncommon for AHK stuff to report false positives but it does happen. Here is a virus scan performed by VirusTotal on the URL linked above, reporting 0 hits out of 44 separate checks. I'm doing some more checks via other websites just in case (http://virusscan.jotti.org reports two positive hits, for example), and I'll get back to you about those. I hypothesise that they're coming from MPRESS, which is the tool that AHK uses to compress compiled executables.



muddleglum
  • Members
  • 30 posts
  • Last active: Dec 28 2013 03:45 AM
  • Joined: 14 Dec 2012

I just recompiled your script and there isn't a virus in the new exe.

Why one would be flagged as a virus, but not the other, I wouldn't know. Should be the same bits. I'll just trust my recompilation and not worry about yours. icon_smile.gif

 

Note that your exe is in the zip, but was destroyed as malware. I found that out a minute after posting the first time.



Desi
  • Members
  • 162 posts
  • Last active: Jan 22 2014 09:12 PM
  • Joined: 29 Oct 2010

Okay, so my hypothesis was validated. I compiled a version with MPRESS compression and one without, and the one that used MPRESS was dirty while the one that didn't was clean.

 

I've now uploaded the uncompressed and clean version, and I won't be compressing any more. Thanks for your feedback!



Desi
  • Members
  • 162 posts
  • Last active: Jan 22 2014 09:12 PM
  • Joined: 29 Oct 2010

Scratchpad v6 is out. Download Scratchpad v6 (source included)

New in v6: 'Start minimised' option in GUI, silent file saving, 'unsaved' indicator.



enmoku
  • Members
  • 1 posts
  • Last active: Feb 13 2014 08:04 PM
  • Joined: 13 Feb 2014

I kinda like this :)

 

However, periodic autosaving option, autosave on minimize/unfocus, and option to adjust the text field text size would be nice. Wouldn't mind if all these were in the config file.

 

Also on the subject of virus in the exe being falsely reported, they aren't actually reporting a virus but rather suspicious application/signature (the compression signature), which happens for Every compressed executable since they can't analyze them properly except in very few cases.