Jump to content

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

[Ahk_L] Code snippet quick tester/editor


  • Please log in to reply
13 replies to this topic
GeekDude
  • Spam Officer
  • 391 posts
  • Last active: Oct 05 2015 08:13 PM
  • Joined: 23 Nov 2009

See new thread at http://ahkscript.org....php?f=6&t=6113

 

 

Spoiler



Pulover
  • Members
  • 1596 posts
  • Last active: Apr 06 2016 04:00 AM
  • Joined: 20 Apr 2012
Excellent work!
May I suggest a Checkbox to make it always on top? You could also have one to allow clipboard watch using OnClipboardChange, so that when activated would automatically update it when a snippet is copied.

Thanks for the script.

Rodolfo U. Batista
Pulover's Macro Creator - Automation Tool (Recorder & Script Writer) | Class_LV_Rows - Copy, Cut, Paste and Drag ListViews | Class_Toolbar - Create and modify | Class_Rebar - Adjustable GUI controls

Join the New AutoHotkey Forum!


GeekDude
  • Spam Officer
  • 391 posts
  • Last active: Oct 05 2015 08:13 PM
  • Joined: 23 Nov 2009
I don't think that the AlwaysOnTop checkbox would be a good idea, mainly because if anyone frequently needs windows to be on top, they probably have a hotkey or something to change other windows like I do. The clipboard idea sounds interesting, but I don't think I would use it, and the source is right there for anyone to edit.

Pulover
  • Members
  • 1596 posts
  • Last active: Apr 06 2016 04:00 AM
  • Joined: 20 Apr 2012

the source is right there for anyone to edit.

Sure. I just thought you would like to update it sometime. :)

Rodolfo U. Batista
Pulover's Macro Creator - Automation Tool (Recorder & Script Writer) | Class_LV_Rows - Copy, Cut, Paste and Drag ListViews | Class_Toolbar - Create and modify | Class_Rebar - Adjustable GUI controls

Join the New AutoHotkey Forum!


G. Sperotto
  • Members
  • 539 posts
  • Last active: Jun 20 2015 04:54 PM
  • Joined: 12 Dec 2011
Very nice Geekdude, congratulations on the good work.

I'm adding it to my personal library. Thanks :wink:

"What is a suitable automation? Whatever saves your day for the greater matters."
Barcoder - Create QR Codes and other Barcodes using only Autohotkey !!


BamBam4275
  • Members
  • 33 posts
  • Last active: Aug 01 2013 05:44 PM
  • Joined: 30 Aug 2011

Geekdude... want to add support for proxy servers.. you know for those of us that mainly use stuff from work behind proxies ? :) (pastebin stuff i refer to ... doesnt work :p )



BamBam4275
  • Members
  • 33 posts
  • Last active: Aug 01 2013 05:44 PM
  • Joined: 30 Aug 2011

just make your UI have a popup UI asking for proxy settings and with the result put this in your code 

 

definition var

 

HTTPREQUEST_PROXYSETTING_PROXY = 2

 

 

after this line of code in your script
Pbin := ComObjCreate("WinHttp.WinHttpRequest.5.1")
 
put this line of code (with the user input of the proxy address in this format proxy.server.com:port  i.e. "proxy.mycompany.com:911" or "proxy.mycompany.com:80"  for whatever port and server you use )
Pbin.SetProxy(HTTPREQUEST_PROXYSETTING_PROXY, "proxy.mycompany.com:911")
 
 
another suggestion
also maybe a checkbox for IRC if they dont check it then send the url return of AhkBin() to clipboard ?


GeekDude
  • Spam Officer
  • 391 posts
  • Last active: Oct 05 2015 08:13 PM
  • Joined: 23 Nov 2009
New version.
 
Changelog:
- Disabled dynamic scrollbars (left in code)
- Removed save semi-feature
- Removed paste logging
 
+ Added github gist function
+ Tidied code
+ Added config section
+ Fixed Escape script termination
+ Added tooltip to show script closing process
+ Added copy to clipboard dialog for pastebins


Cattleya
  • Members
  • 90 posts
  • Last active: Sep 13 2013 05:11 AM
  • Joined: 28 Sep 2011

Thank you for updating this script, but I think a hotkey like Alt + Esc to close Test.ahk script will be better.

 

Edit, Escape key worked fine on the new version smile.png



GeekDude
  • Spam Officer
  • 391 posts
  • Last active: Oct 05 2015 08:13 PM
  • Joined: 23 Nov 2009

New version

 

+ Added proxy

+ Fixed long default descriptions/usernames

 

Get the new version from the link on the main post



TLM
  • Administrators
  • 3864 posts
  • Last active:
  • Joined: 21 Aug 2006

Excellent work Mr T. Going to try to break it for you..

We really need to talk p.ahk.me, tty soon ;)


Posted Image

don't duplicate, iterate!


GeekDude
  • Spam Officer
  • 391 posts
  • Last active: Oct 05 2015 08:13 PM
  • Joined: 23 Nov 2009

*not so silently updated*

 

It does bpaste, and has proper oAuth for gist now. (Thank maestrith for that last one)



GeekDude
  • Spam Officer
  • 391 posts
  • Last active: Oct 05 2015 08:13 PM
  • Joined: 23 Nov 2009

See new thread at http://ahkscript.org....php?f=6&t=6113



GeekDude
  • Spam Officer
  • 391 posts
  • Last active: Oct 05 2015 08:13 PM
  • Joined: 23 Nov 2009

Updated again, see new thread at http://ahkscript.org....php?f=6&t=6113