Jump to content


Photo

Scratchpad - Snippets and notes for programmers and students

scripts

  • Please log in to reply
8 replies to this topic

#1 Desi

Desi
  • Members
  • 161 posts

Posted 10 November 2012 - 11:33 PM

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.


#2 Snow Flake

Snow Flake
  • Members
  • 110 posts

Posted 11 November 2012 - 11:39 PM

sound cool im gonna try it XDPosted Image

#3 Desi

Desi
  • Members
  • 161 posts

Posted 27 November 2012 - 11:35 PM

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).

#4 Desi

Desi
  • Members
  • 161 posts

Posted 18 December 2012 - 05:29 AM

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.


#5 muddleglum

muddleglum
  • Members
  • 26 posts

Posted 18 December 2012 - 08:15 AM

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!



#6 Desi

Desi
  • Members
  • 161 posts

Posted 18 December 2012 - 08:32 AM

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.



#7 muddleglum

muddleglum
  • Members
  • 26 posts

Posted 18 December 2012 - 08:40 AM

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.



#8 Desi

Desi
  • Members
  • 161 posts

Posted 18 December 2012 - 09:03 AM

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!



#9 Desi

Desi
  • Members
  • 161 posts

Posted 26 December 2012 - 03:23 AM

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

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





Also tagged with one or more of these keywords: scripts