New icons for v2

Discuss the future of the AutoHotkey language
User avatar
Ragnar
Posts: 764
Joined: 30 Sep 2013, 15:25

New icons for v2

07 May 2018, 08:37

I think AHK v2 deserves new icons. This helps to distinguish better between v1 and v2 in the notification area (tray), and of course to give v2 a more modern look. I used the forum icon (favicon) as a template. In my opinion, "A" makes more sense than "H", because nowadays the focus of AHK is more on automating processes than just hotkeys. The green color and the used font (Comic Sans Serif) is old-fashioned. As an alternative I offer the following (the sizes are 16x16, 32x32, 48x48, 64x64, 128x128, 256x256):
ahk_icons_overview.png
ahk_icons_overview.png (35.95 KiB) Viewed 10491 times
The only disadvantage of the new icons is that they take up much more space (33.8 KB vs. 224.5 KB), probably because of transparency and additional icon sizes.

If there is interest, I can open a pull request on GitHub to include these icons.

The attachments include svg files to edit and create the icons, the resulting png files, as shown above, and ico files, which are finally used for AHK v2.
Attachments
AHKLogo.7z
(52.82 KiB) Downloaded 412 times
Helgef
Posts: 4709
Joined: 17 Jul 2016, 01:02
Contact:

Re: New icons for v2

07 May 2018, 08:57

I agree, it looks good and better. :thumbup:
User avatar
Flipeador
Posts: 1205
Joined: 15 Nov 2014, 21:31
Location: Argentina
Contact:

Re: New icons for v2

07 May 2018, 09:25

Hello,
I think AHK v2 deserves new icons
+1
The only disadvantage of the new icons is that they take up much more space
I do not think this is a good "excuse" in these times...

I do not dislike; I do not know if they are "modern" or not, but maybe a little more "details" and "colors" would give more life to the icons. Regarding the file type icon, something like this maybe?
I like the main icon :) +1
:wave:
guest3456
Posts: 3477
Joined: 09 Oct 2013, 10:31

Re: New icons for v2

07 May 2018, 09:26

i agree for some differentiation from v1

SirRFI
Posts: 402
Joined: 25 Nov 2015, 16:52

Re: New icons for v2

07 May 2018, 10:24

While on it, I suggest to change default file extension, so it's another layer telling between v1 and v2, which should also help editors in syntax highlighting & suggestions/filling.
Use

Code: Select all

[/c] forum tag to share your code.
Click on [b]✔[/b] ([b][i]Accept this answer[/i][/b]) on top-right part of the post if it has answered your question / solved your problem.
lexikos
Posts: 9780
Joined: 30 Sep 2013, 04:07
Contact:

Re: New icons for v2

08 May 2018, 04:04

For a fair comparison of file size, you should include only the sizes that are present in AutoHotkey.exe. It would be ridiculous to increase the size of each AutoHotkey executable by 20% just to have big "icons" (that are perhaps too big to be called such, except on very high DPI screens), especially given that they're practically monochrome.

I do not think these look better, and I do not see the need to have different icons for v2. I might agree that these are "modern" style, but don't see how that's a good thing. Anyway, when did green become "old-fashioned"?

I've seen "capslock indicator" programs with icons very similar to those above; "A" in a box being the standard CapsLock icon.

Whether we have greater focus on automation or hotkeys, hotkeys are AutoHotkey's reason for being; the main thing that sets it apart from its predecessor, and every other automation program/toolset. (This is not to say that I care which letter the icon has.)

FYI, the "H" in the current icons is not Comic Sans Serif or any other font. When I created the current icons, I could not find any font that matched the shape of the original icons (which I believe were created by Rajat), so I just drew a few lines.
User avatar
kczx3
Posts: 1677
Joined: 06 Oct 2015, 21:39

Re: New icons for v2

08 May 2018, 17:04

I agree that new icons would really give v2 some differentiation and distinction. AHK v2 is an evolution and I think it deserves something new.

That said, I don’t really care for the icons provided in the OP. They are incredibly plain. Not sure if I could pick s letter to use. AutoHotkey doesn’t really have a logo otherwise I’d recommend that instead of a letter.

I’d additionally be in favor of a different extension. Unless the thought is that one v2 is GA, v1.1 would no longer be supported (which I am in favor of).
User avatar
gregster
Posts: 9224
Joined: 30 Sep 2013, 06:48

Re: New icons for v2

08 May 2018, 17:14

I don't know - I find nothing wrong with the icons we have, and especially the file extension. ahk is the common abbreviation for AutoHotkey - I would like to keep that, and I don't like things like ah2 or four letter combinations for file extensions like ahk2 - although that still would be much better than ah2.
If I need to differentiate one day between AHK v1.1 and AHK v2 scripts on my computer, I would rather change the file extension of the "old" version. I would like to keep the ahk-extension for the stable/main version.
SirRFI
Posts: 402
Joined: 25 Nov 2015, 16:52

Re: New icons for v2

09 May 2018, 12:10

gregster wrote:I don't know - I find nothing wrong with the icons we have, and especially the file extension. ahk is the common abbreviation for AutoHotkey - I would like to keep that, and I don't like things like ah2 or four letter combinations for file extensions like ahk2 - although that still would be much better than ah2.
If I need to differentiate one day between AHK v1.1 and AHK v2 scripts on my computer, I would rather change the file extension of the "old" version. I would like to keep the ahk-extension for the stable/main version.
Nobody said something is wrong with ahk extension, or suggested ah2. ahk is good extension for obvious reason, but that's not why I suggested to change it for v2. In short, I suggested it for:
• Prevent people from running v1 scripts in v2 and viceversa, which likely will cause an error
• Allow editors know which version is used (syntax differences, other function/object set)
• Being able to run v1 and v2 scripts without extra afford
Use

Code: Select all

[/c] forum tag to share your code.
Click on [b]✔[/b] ([b][i]Accept this answer[/i][/b]) on top-right part of the post if it has answered your question / solved your problem.
User avatar
Flipeador
Posts: 1205
Joined: 15 Nov 2014, 21:31
Location: Argentina
Contact:

Re: New icons for v2

09 May 2018, 12:37

I do not think a new extension is necessary, you're only supposed to use one version (v1 or v2) as the main one, and the other only for tests (as to help other users). I use version 2 as the main one, and to do tests, I have version 1 in a separate folder, then with a Hotkey, I quickly execute the selected text with any version.
User avatar
nnnik
Posts: 4500
Joined: 30 Sep 2013, 01:01
Location: Germany

Re: New icons for v2

09 May 2018, 12:46

I switch between versions regularily and write mostly version independent code.
It would be a bother to have a new extension under these circumstances.
Recommends AHK Studio
User avatar
gregster
Posts: 9224
Joined: 30 Sep 2013, 06:48

Re: New icons for v2

09 May 2018, 17:38

Nobody said something is wrong with ahk extension, or suggested ah2.
Well, ah2 has been suggested multiple times in the past (it's not like talk about AHK v2 is a new thing) - that's why I brought it up as an example.
I am afraid there will be confusion about v1 and v2 anyway - new extension or not.
TAC109
Posts: 1154
Joined: 02 Oct 2013, 19:41
Location: New Zealand

Re: New icons for v2

09 May 2018, 18:00

Flipeador wrote:I do not think a new extension is necessary ...
Prepare for an avalanche of support requests "Why doesn't this script work..."
My scripts:-
XRef - Produces Cross Reference lists for scripts
ReClip - A Text Reformatting and Clip Management utility
ScriptGuard - Protects Compiled Scripts from Decompilation
I also maintain Ahk2Exe
User avatar
nnnik
Posts: 4500
Joined: 30 Sep 2013, 01:01
Location: Germany

Re: New icons for v2

09 May 2018, 18:31

I think people would do the same if we change the file extension.
Recommends AHK Studio
TAC109
Posts: 1154
Joined: 02 Oct 2013, 19:41
Location: New Zealand

Re: New icons for v2

09 May 2018, 19:32

I believe the ideal solution would be to have a special #directive that indicates whether this script segment is written for v1, v2, or either. #Include files would need to have this present, too.

Then both v1 and v2 interpreters would need to be enhanced to recognise this new special #directive, and reject incompatible scripts.
My scripts:-
XRef - Produces Cross Reference lists for scripts
ReClip - A Text Reformatting and Clip Management utility
ScriptGuard - Protects Compiled Scripts from Decompilation
I also maintain Ahk2Exe
neogna2
Posts: 617
Joined: 15 Sep 2016, 15:44

Re: New icons for v2

16 Jun 2021, 11:45

When Lexikos wrote a while back that a v2 beta is probably coming soonish I began learning v2 while still mostly using v1. Different icons and file extensions is helpful to me.

Regarding icons perhaps a compromise between team "keep it as it is" and team "new version new fresh look" is to use the old icons but with enough color change to easily distinguish v1 from v2? Tradition *and* progress.

For example here is the H icon adjusted from green to blue-grey. (The red S suspended icon could be the same for all versions to not have that many different colors to remember.)
photopea2.png
photopea2.png (29.29 KiB) Viewed 6538 times
Edit: Link to online image editor in case anyone wants to play with it https://www.photopea.com/#irGf1-Go7


Regarding file extensions .ah2 is ok with me, better than the four letter .ahk2. Another alternative is to reserve .ahk for v2 going forward and encourage use of .ah1 or .ahk1 or .ahkl for v1. L as in legacy version as well as in AutoHotkey_L. Anyone can of course customize with whatever icons and file extensions they like the most but defaults matter.
User avatar
kczx3
Posts: 1677
Joined: 06 Oct 2015, 21:39

Re: New icons for v2

16 Jun 2021, 12:05

File extension should be a non issue based on what Lexikos has said about how the installer will work for both versions. I do like your take on the H icon though!
neogna2
Posts: 617
Joined: 15 Sep 2016, 15:44

Re: New icons for v2

16 Jun 2021, 12:15

kczx3 wrote:
16 Jun 2021, 12:05
File extension should be a non issue based on what Lexikos has said about how the installer will work for both versions.
Is the idea for non-compiled scripts to have AutoHotkey first analyze the script for patterns unique to v2/v1 and then run or compile it with the appropriate version binary? That would solve one issue with using both versions. But another issue is distinguishing the files in the filesystem. Separate file extensions lets us quickly search for all and only v2 files on the system and sort by file extension directly in Explorer. Seems handy to me. There are other ways to deal with that of course. Keeping a good manual organization with different folders for v1 and v2 is possible or using search tools that parse the contents of the files or putting "v1" or "v2" in the non-extension part of the filename.
Last edited by neogna2 on 16 Jun 2021, 14:20, edited 1 time in total.
swagfag
Posts: 6222
Joined: 11 Jan 2017, 17:59

Re: New icons for v2

16 Jun 2021, 13:55

image.png
image.png (3.41 KiB) Viewed 6506 times
image.png
image.png (2.97 KiB) Viewed 6506 times
maybe dont do blue themes? lol
User avatar
kczx3
Posts: 1677
Joined: 06 Oct 2015, 21:39

Re: New icons for v2

16 Jun 2021, 18:19

Looks more purple to me honestly.

Return to “AutoHotkey Development”

Who is online

Users browsing this forum: No registered users and 21 guests