Search found 46 matches

by Kotte
20 Mar 2024, 10:23
Forum: Scripts and Functions (v1)
Topic: Parallel Scrolling script to scroll 2 windows simultaneously
Replies: 1
Views: 334

Re: Parallel Scrolling script to scroll 2 windows simultaneously

Haha, this would have been perfect for my current need! I wanted to scroll to separate tabs in my IDE while working on a project for color blind people :D Sadly I couldn't get it to work though. It doesn't jump to the point I stored using but instead jumps a few hundred pixels to the left and scroll...
by Kotte
21 May 2023, 07:36
Forum: Ask for Help (v1)
Topic: Custom string sorter has performance issues. Topic is solved
Replies: 17
Views: 1078

Re: Custom string sorter has performance issues. Topic is solved

just me What drove me to writing it was that I was having trouble with Swedish characters getting sorted wrong in a Python GUI. I found a solution but remembered that I had had similar problems before and also have needed to sort strings containing non-standard character representations. Instead of...
by Kotte
19 May 2023, 13:10
Forum: Ask for Help (v1)
Topic: Custom string sorter has performance issues. Topic is solved
Replies: 17
Views: 1078

Re: Custom string sorter has performance issues. Topic is solved

@just me Well that would kinda defeat the "custom" part of the function, which is its entire reason for existing.
by Kotte
19 May 2023, 05:42
Forum: Ask for Help (v1)
Topic: Custom string sorter has performance issues. Topic is solved
Replies: 17
Views: 1078

Re: Custom string sorter has performance issues. Topic is solved

just me Yeah, it seems to define a different sorting order, just not the right one. But I believe this is not really an issue in this case, since the idea is to sort a list based on the sorting order given as an input. If the sorting relied on locale, wouldn't that cause the function to return diff...
by Kotte
17 May 2023, 06:27
Forum: Ask for Help (v1)
Topic: Custom string sorter has performance issues. Topic is solved
Replies: 17
Views: 1078

Re: Custom string sorter has performance issues. Topic is solved

just me Yeah, changing locale changes the sorting, but doesn't solve the problem since that sorting is also wrong. It might have to do with the ASCII codes for the last three characters. The alphabetical order is "Å Ä Ö", but the order of their ASCII codes (DEC) are "Ä Å Ö", Å = 197, Ä = 196, Ö = 2...
by Kotte
17 May 2023, 01:18
Forum: Ask for Help (v1)
Topic: Custom string sorter has performance issues. Topic is solved
Replies: 17
Views: 1078

Re: Custom string sorter has performance issues. Topic is solved

@just me Only works for English, as far as I can tell.
by Kotte
14 May 2023, 03:49
Forum: Ask for Help (v1)
Topic: Custom string sorter has performance issues. Topic is solved
Replies: 17
Views: 1078

Re: Custom string sorter has performance issues. Topic is solved

@teadrinker Ah, of course! I dropped the key sensitivity part when trying to implement quicksort and then forgot to take it back when going back to bubble sort. Thanks man!
by Kotte
13 May 2023, 15:41
Forum: Ask for Help (v1)
Topic: Custom string sorter has performance issues. Topic is solved
Replies: 17
Views: 1078

Re: Custom string sorter has performance issues. Topic is solved

teadrinker Ah, maybe should have clarified that å, ä, ö are the lowercase version of Å, Ä, Ö respectively. So since å and Å is the same letter the order remains unchanged. The "ListofStrings := ["å", "Å", "ä", "Ä", "Ö", "ö"]" was an example of a input to the sorter that gets sorted wrong. So it is ...
by Kotte
13 May 2023, 12:40
Forum: Ask for Help (v1)
Topic: Custom string sorter has performance issues. Topic is solved
Replies: 17
Views: 1078

Re: Custom string sorter has performance issues. Topic is solved

teadrinker One order of magnitude down, two to go ;) Unfortunally I found a sorting error in both mine and your function when testing them now. Given the order and list below, both our functions will sort the list wrong. MyOrder := ["Å", "Ä", "Ö"] ListofStrings := ["å", "Å", "ä", "Ä", "Ö", "ö"] "Li...
by Kotte
12 May 2023, 16:57
Forum: Ask for Help (v1)
Topic: Custom string sorter has performance issues. Topic is solved
Replies: 17
Views: 1078

Custom string sorter has performance issues. Topic is solved

Today was apparently the day when I had enough of my computer telling me I can't spell, so I made a custom string sorter :P I made it in Python, since I'm not that good at ahk, and then attempted to port it. This is where it the troubles began. I finally got it to work, but it is not running smoothl...
by Kotte
13 Apr 2023, 04:33
Forum: Scripts and Functions (v1)
Topic: Dead hotstring locator
Replies: 12
Views: 1695

Re: Dead hotstring locator

@kunkel321
Cool! This script was way faster than I expected! Great job! I had a small issue though. It flagged my case sensitive hotstrings as duplicates. Example:

Code: Select all

varMain =
(
:c:_a_::Send {U+0x03B1}
:c:_A_::Send {U+0x0392}
)
Could this be remedied?
by Kotte
05 Nov 2022, 14:51
Forum: Ask for Help (v1)
Topic: Problem with taskbar persistently showing after running this script Topic is solved
Replies: 4
Views: 278

Re: Problem with taskbar persistently showing after running this script Topic is solved

@mikeyww Haha, it works for me now too! So I might have a bug somewhere that will be a nightmare trying to find, if it exists :D Maybe the restart fixed something. Anyways, thanks for taking the time!
by Kotte
05 Nov 2022, 14:36
Forum: Ask for Help (v1)
Topic: Problem with taskbar persistently showing after running this script Topic is solved
Replies: 4
Views: 278

Re: Problem with taskbar persistently showing after running this script Topic is solved

@mikeyww So the taskbar hides/shows normally after you terminate this script? I had to restart my computer to make it stop showing the taskbar.
by Kotte
05 Nov 2022, 12:12
Forum: Ask for Help (v1)
Topic: Problem with taskbar persistently showing after running this script Topic is solved
Replies: 4
Views: 278

Problem with taskbar persistently showing after running this script Topic is solved

CAUTION! Do not run this script if you do not know how to fix the taskbar problem stated below! Hi! I'm trying to hide the taskbar in Windows 10. I found this (https://www.autohotkey.com/boards/viewtopic.php?p=487232#p487232) post by Rohwedder that does this. The problem I am having is to get back "...
by Kotte
13 Mar 2022, 00:16
Forum: Ask for Help (v1)
Topic: Why do these weird symbols sporadically show up? Topic is solved
Replies: 4
Views: 555

Re: Why do these weird symbols sporadically show up? Topic is solved

@RussF Well, I suspect you do have an answer :) At least to the question about the characters. And the rest don't seem that far fetched. I use UTF-8, without the BOM. I use <^>! since AutoHotkey is missing a symbol for the AltGr key, but I think you are right. I added KeyWait when I posted my questi...
by Kotte
11 Mar 2022, 14:16
Forum: Ask for Help (v1)
Topic: Why do these weird symbols sporadically show up? Topic is solved
Replies: 4
Views: 555

Re: Why do these weird symbols sporadically show up? Topic is solved

@mikeyww Yeah, it works for me too, 95+/100 times. That's why I'm not making any progress on debugging it. It just works every time I start trying to get it to fail. Sometimes it takes a several days before it it acts up again. I'll try your suggestion to see if some special characters breaks it.
by Kotte
11 Mar 2022, 06:32
Forum: Ask for Help (v1)
Topic: Why do these weird symbols sporadically show up? Topic is solved
Replies: 4
Views: 555

Why do these weird symbols sporadically show up? Topic is solved

These weird symbols shows up now and again and I'm wondering if anyone knows what they are and also if you know what I'm doing wrong to make them show up. This is the output I got (image as the symbols doesn't show up if copied to the browser): weird_symbols_long.PNG Expected output: {--------------...
by Kotte
22 Feb 2022, 14:26
Forum: Scripts and Functions (v1)
Topic: Dictionary of mathematical constants
Replies: 0
Views: 439

Dictionary of mathematical constants

This is neither a function nor a script, so I understand if it's deleted. I needed a dictionary containing a bunch of mathematical constants for a project I'm working on. Wikipedia had a list containing all the ones I needed, plus many more. Since I had already formatted the list for another languag...
by Kotte
16 Feb 2022, 03:04
Forum: Off-topic Discussion
Topic: A Speed Competition ;-)
Replies: 6
Views: 2906

Re: A Speed Competition ;-)

Even though this competition is over (from start it seems), I still wanted to give it a shot so I started to translate my "primes_under" script, written in python. If I count the time it took me before I gave up trying to get my script working in ahk, my Sma2Sim was around 20. When I ran my script i...
by Kotte
07 Feb 2022, 15:18
Forum: Scripts and Functions (v1)
Topic: ToGrayscale() : Converts GDI bitmap to Greyscale
Replies: 30
Views: 6179

Re: ToGrayscale() : Converts GDI bitmap to Greyscale

SKAN Haha, it's crazy how many good and fun functions you produce!! I have had many hours of fun (since finding AutoHotkey about nine months ago) going through your list and I just got to this last one.. On page one of five :D My initial thought when seeing this was "why not just the snipping tool?...

Go to advanced search