Search found 244 matches

by cyruz
28 Mar 2018, 07:49
Forum: Scripts and Functions
Topic: [LIB] TrayIcon - Sean's TrayIcon for Unicode and 64 bit
Replies: 58
Views: 17861

Re: [LIB] TrayIcon - Sean's TrayIcon for Unicode and 64 bit

Looks like this lib is still getting some love :D

I will reference the most updated versions in the OP, because I stopped looking at it while ago!
by cyruz
24 Jul 2017, 03:22
Forum: Scripts and Functions
Topic: [LIB] ExtListView - get data from external ListViews
Replies: 7
Views: 2564

Re: [LIB] ExtListView - get data from external ListViews

Firstly thanks for this script, it's excellent and exactly what I needed. Unfortunately though I did find some bugs with this on Windows 8.1 x64 which were causing it not to work properly. Thanks to this script I was able to correct them and it now works perfectly. Here are the fixes... Almost 3 ye...
by cyruz
02 Nov 2016, 04:00
Forum: Scripts and Functions
Topic: [FUNCTION] StdoutToVar with exit code
Replies: 30
Views: 7108

Re: [FUNCTION] StdoutToVar with exit code

Hello, this is probably due to the fact that the ReadFile is blocking. It has something to do with how the pipe are managed on Windows 10 i suppose, but it's something hard to debug. Just for info this code has a problem if the child process does not flush its buffers in a timely manner. The ReadFil...
by cyruz
24 Jun 2016, 15:05
Forum: AutoHotkey v2 Development
Topic: Commands vs Functions
Replies: 85
Views: 13396

Re: Commands vs Functions

Let's talk about time. Time, like the delta of time spent by a user to grasp the concept of function compared to the concept of command. It is negligible and it's only a "one time" job. Everybody willing to learn some programming will be capable of this feat. Eventually this can be helped ...
by cyruz
29 Feb 2016, 12:00
Forum: Scripts and Functions
Topic: [FUNCTION] Minimal binary viewer - hex viewer
Replies: 7
Views: 1373

Re: [FUNCTION] Minimal binary viewer - hex viewer

Hi jNizM, thanks for the code. I know that function, I wrapped it in a library, it's very useful, but I wanted to add a separate scrolling with offset calculation. I will add the ASCII dump when I have time.
by cyruz
26 Feb 2016, 12:45
Forum: Scripts and Functions
Topic: [FUNCTION] Minimal binary viewer - hex viewer
Replies: 7
Views: 1373

Re: [FUNCTION] Minimal binary viewer - hex viewer

Restructured the code a little and added some features :)
by cyruz
24 Feb 2016, 18:33
Forum: Scripts and Functions
Topic: [FUNCTION] Minimal binary viewer - hex viewer
Replies: 7
Views: 1373

Re: [FUNCTION] Minimal binary viewer - hex viewer

Ciao just me, thank you for the code, works a treat. I added your solution to the first post and fixed a wrong statement regarding VarSetCapacity. Working around the edit control string with the GuiControl increases the memory limit but there are still problem loading buffers > 500KB. More than enou...
by cyruz
24 Feb 2016, 10:24
Forum: Scripts and Functions
Topic: [FUNCTION] Minimal binary viewer - hex viewer
Replies: 7
Views: 1373

Re: [FUNCTION] Minimal binary viewer - hex viewer

Thanks for sharing, looks useful. Scrolling with the thumb doesn't work. The view is updated as soon as we scroll with the weel. The Edit's scroll bar is sending its notifications directly to the Edit control. You have to subclass the control to catch them. The edit control has a memory limit that ...
by cyruz
22 Feb 2016, 23:06
Forum: Scripts and Functions
Topic: [FUNCTION] Minimal binary viewer - hex viewer
Replies: 7
Views: 1373

[FUNCTION] Minimal binary viewer - hex viewer

Hey guys, during my last project I created a small function to show the binary view of buffers. It eventually evolved in a small and compact hexadecimal viewer that can be useful for debugging. http://i.imgur.com/j6sIerB.png Please contribute with code if you find it useful :) #SingleInstance force ...
by cyruz
20 Feb 2016, 10:46
Forum: Scripts and Functions
Topic: [Proof of concept + script] Switch USB flashdrive available partition modifying MBR
Replies: 0
Views: 423

[Proof of concept + script] Switch USB flashdrive available partition modifying MBR

Hey guys, long time no see :D Recently, having had my flashdrive compromised two times, I started thinking about a solution to avoid data loss. Essentially I want a bootable usb flashdrive to access a series of restore utilities that should be protected and some space for exchanging data. My idea: M...
by cyruz
29 Jan 2016, 11:44
Forum: Scripts and Functions
Topic: DocsEmbedder - embed documentation on PE files
Replies: 4
Views: 1222

Re: DocsEmbedder - embed documentation on PE files

I just found this. Late to the game as usual . Looks useful. 8-) Accessing a resource with a compressed executable is a neat trick. Trying to access the embedded HTML document in the executable using external tools will give you junk because the information has been compressed. But for some reason,...
by cyruz
10 Oct 2015, 14:49
Forum: About This Community
Topic: My resignation, and some background of events lead to.
Replies: 85
Views: 29201

Re: My resignation, and some background of events lead to.

Why all this drama? Is it not possible to discuss the issue without getting emotional? If there will be no outcome from the discussion we could just start a poll and ask the community, as it has been done in the past... If Tank knows his stuff, I'd rather him not step down... the position needs a k...
by cyruz
10 Oct 2015, 07:31
Forum: About This Community
Topic: My resignation, and some background of events lead to.
Replies: 85
Views: 29201

Re: My resignation, and some background of events lead to.

Why all this drama? Is it not possible to discuss the issue without getting emotional? If there will be no outcome from the discussion we could just start a poll and ask the community, as it has been done in the past...
by cyruz
01 Sep 2015, 04:12
Forum: Scripts and Functions
Topic: [Script] CodeQuickTester - Write and run code without saving to a temporary file
Replies: 148
Views: 30017

Re: CodeQuickTester

Nice, the app deserves a dedicated repo :D
by cyruz
31 Aug 2015, 11:50
Forum: Ask For Help
Topic: Ideas for a plugin system
Replies: 9
Views: 1535

Re: Ideas for a plugin system

I have to ditch the "create a temporary executable" approach, because I would need to create a script parser and it will increase complexity and code size.

I think I will follow Coco's last advice, because I really like it. Changing the icon of the interpreter will be trivial.
by cyruz
29 Aug 2015, 08:41
Forum: Ask For Help
Topic: Ideas for a plugin system
Replies: 9
Views: 1535

Re: Ideas for a plugin system

Ah nice, I like this idea. I was thinking also to execute the plugin on the fly, creating a temporary executable by copying itself, with the plugin as the script resource, making use of a modified version of lexikos LoadFile. I don't know if it is feasible, I need to understand how this LoadFile wor...
by cyruz
29 Aug 2015, 03:28
Forum: Ask For Help
Topic: Ideas for a plugin system
Replies: 9
Views: 1535

Re: Ideas for a plugin system

lexikos wrote:
I would need to distribute the interpreter in the compiled version.
Why is that a problem?


Not really a problem, just a minus. As of now I'm just evaluating some solutions trying to find the best one.
by cyruz
29 Aug 2015, 01:19
Forum: Ask For Help
Topic: Ideas for a plugin system
Replies: 9
Views: 1535

Re: Ideas for a plugin system

I would like to release it, giving the possibility to the users to write their own plugin. The main program itself will only manage middle mouse clicks and show a menu built upon the installed plugins. I was having a look at LoadFile() as per Coco advice but I would need to distribute the interprete...
by cyruz
28 Aug 2015, 12:31
Forum: Ask For Help
Topic: Ideas for a plugin system
Replies: 9
Views: 1535

Ideas for a plugin system

Hi guys, I have this small tool I wrote long ago that extends the "Active Directory Users and Computers" snap-in with a lot of useful features. As of now it's a single script, containing a lot of redundant code, so I would like rewrite it with a plugin system. The only requirement is that ...
by cyruz
29 Jul 2015, 22:23
Forum: Ask For Help
Topic: Create alpha blended icon from hicon
Replies: 3
Views: 777

Re: Create alpha blended icon from hicon

Thank you lexikos.

I also found that using LoadIconWithScaleDown (https://msdn.microsoft.com/en-us/windows/bb775703) works the same way.

Do you know why with LoadImage there is such a difference in quality?

Go to advanced search