Page 1 of 3

Auto-hotkey.com tweaks

Posted: 01 Oct 2013, 10:14
by Menixator
These features are now avialable by dafault!
This adds a few features to our new and Lovely forum! They include:
  1. Select all-which selects all the text in the code.
  2. Expand/Retract - Retract limits the code box's height to 240px while Expand shows all the code.
  3. Popup - Shows a pop up window with only the code. (Currently useless)
  4. A Spoiler feature

Instructions:
  1. Install the userscript. The downlaod link is right below this and you will find the instructions on how to install it right here.
  2. Switch to Subsilver2 theme. You can switch to it by changing the value at the User Control Panel > Board preferences > My board style:
  3. Now go view a topic. The features will be added. ;)
Download: http://userscripts.org/scripts/show/178963

Snapshots:
Initial Snap
Expand
Select All
Popup
Spoiler

Re: Codebox Tweaks for Subsilver2 style

Posted: 01 Oct 2013, 10:43
by tank
exactly the kind of thing i am looking for

Re: Codebox Tweaks for Subsilver2 style

Posted: 01 Oct 2013, 11:11
by Alibaba
Wow, looks great!

Re: Codebox Tweaks for Subsilver2 style

Posted: 01 Oct 2013, 11:20
by tank

Code: Select all

sdfsdq dfh 


 asdg
asdf
gadsf
gadf
 hgsfdg
hrtw
jwr
jwrt
ykjetyw
jwty
jwtyj 

Re: Codebox Tweaks for Subsilver2 style

Posted: 01 Oct 2013, 11:40
by Menixator
Alibaba wrote:Wow, looks great!
Thanks! :mrgreen:

Re: Codebox Tweaks for Subsilver2 style

Posted: 01 Oct 2013, 11:55
by JnLlnd
Looks great. Bu I only see the SELECT ALL code in the example above.

Do I need to install the 178963.user.js script? If yes, Chrome refuse it for security reasons (telling this should be made available from Chrome Web Store).

Re: Codebox Tweaks for Subsilver2 style

Posted: 01 Oct 2013, 11:59
by Menixator
JnLlnd wrote:Looks great. Bu I only see the SELECT ALL code in the example above.

Do I need to install the 178963.user.js script? If yes, Chrome refuse it for security reasons (telling this should be made available from Chrome Web Store).
Install tampermonkey first. <link>

Re: Codebox Tweaks for Subsilver2 style

Posted: 01 Oct 2013, 12:12
by JnLlnd
Installed Tampermonkey and the script. Thanks for the tip. Now?

Code: Select all

; Here is a code section test
MsgBox, Hello World!

Re: Codebox Tweaks for Subsilver2 style

Posted: 01 Oct 2013, 12:17
by JnLlnd
Still get only the Select all link. The script is installed and enabled. Sorry if I'm missing something obvious?

Re: Codebox Tweaks for Subsilver2 style

Posted: 01 Oct 2013, 12:36
by Menixator
JnLlnd wrote:Still get only the Select all link. The script is installed and enabled. Sorry if I'm missing something obvious?
Are you sure you have selected Subsilver2 in User Control Panel>Board preferences>My board style ?
If it's prosilver, please switch to Subsilver2.

Re: Codebox Tweaks for Subsilver2 style

Posted: 01 Oct 2013, 13:00
by JnLlnd
This is what was missing. Works well. Thanks!

Re: Codebox Tweaks for Subsilver2 style

Posted: 01 Oct 2013, 13:03
by Menixator
JnLlnd wrote:Works well. Thanks!
Great!

Re: Codebox Tweaks for Subsilver2 style

Posted: 01 Oct 2013, 13:10
by Menixator
I updated the script. Now it will ask the user once to change the style if the style is prosilver.

Re: Codebox Tweaks for Subsilver2 style

Posted: 01 Oct 2013, 15:02
by HotKeyIt
Cool 8-)
Thanks for that ;)

Re: Codebox Tweaks for Subsilver2 style

Posted: 01 Oct 2013, 18:26
by budRich
Excellent

Re: Codebox Tweaks for Subsilver2 style

Posted: 01 Oct 2013, 18:45
by joedf
it would be great to have it integrated directly into the site :)

Re: Codebox Tweaks for Subsilver2 style

Posted: 01 Oct 2013, 20:33
by Menixator
joedf wrote:it would be great to have it integrated directly into the site :)
Yeah. This and the spoiler features. But that's all up to tank and the mods.

Re: Codebox Tweaks for Subsilver2 style

Posted: 01 Oct 2013, 20:41
by joedf
if Only, i was a mod... :( Im very active on this forum....
I currently have the most posts on this site ... :P
http://auto-hotkey.com/boards/memberlis ... memberlist

Re: Codebox Tweaks for Subsilver2 style

Posted: 03 Oct 2013, 07:42
by Menixator
joedf wrote:I currently have the most posts on this site ... :P
Yeah. I noticed.

Re: Codebox Tweaks for Subsilver2 style

Posted: 03 Oct 2013, 07:46
by Alibaba
Menixator wrote:
joedf wrote:it would be great to have it integrated directly into the site :)
Yeah. This and the spoiler features. But that's all up to tank and the mods.
Installing features is only up to tank.
Mods and Admins can't do that.