AHK Studio

Post a reply

Confirmation code
Enter the code exactly as it appears. All letters are case insensitive.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :| :mrgreen: :geek: :ugeek: :arrow: :angel: :clap: :crazy: :eh: :lolno: :problem: :shh: :shifty: :sick: :silent: :think: :thumbup: :thumbdown: :salute: :wave: :wtf: :yawn: :facepalm: :bravo: :dance: :beard: :morebeard: :xmas: :HeHe: :trollface: :cookie: :rainbow: :monkeysee: :monkeysay: :happybday: :headwall: :offtopic: :superhappy: :terms: :beer:
View more smilies

BBCode is ON
[img] is OFF
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: AHK Studio

Re: AHK Studio

Post by maestrith » 30 May 2018, 04:20

Scr1pter wrote:Hi maestrith,

I use AHK Studio 1.005.10.
There are two questions I would like to ask:

1) Tabs
Is it somehow possible to set tabs instead of the right block which contains projects?
Same as tabs on Firefox, for example.

2) Hide lines
Sometimes hidding lines can be useful to have a better overview.
If you have several if conditions, you probably don't have to see all of them (all the time).

This is something AHK Studio could do better ;)
(The same way you did for coloring text.)

Regards

As nnnik pointed out you can use ;{ and ;} to create "blocks" of text and then fold them. If all goes well then Studio will remember the next time that it launches what areas of text were folded. You can use these at the end of a line of text provided you do not have any other comments in that line.

Code: [Select all]GeSHi © Codebox Plus

MyLabel: ;{
MsgBox, Things to say to the user
Var:=Var1+Var2
MsgBox, I Added %Var1% to %Var2% and got %Var%
return ;}

This has the added benefit of indenting the code.

As far as Tabs go, I have had many people ask for them and while I can see why people would find them helpful, I have always found it inefficient. I have added in the hotkey Alt+J (Jump To File) which brings up the Omni-Search box with the ^ prefix already entered. You can then type in the name of your file that you wish to jump to (If you have a file that you wish to find easily searching for a file called "My Special File.ahk" you can usually quickly find it by typing Alt+J msf{Enter}) which I have found that I can do much more quickly because when I script my hands are on the keyboard already and taking the time to reach for the mouse, and then find the tab with the file on it, click it, and then return my hand back to the keyboard. It breaks flow. I have tried my best to make AHK Studio the easiest way to edit AHK files and through the File Explorer, Code Explorer, and the Omni-Search window (which Omni is the only thing I use. I hide the File/Project Explorer and only use the main editor and Tracked Notes) and Omni if opened with Ctrl+Alt+O will display itself with nothing pre-entered and have a list of prefixes that you can use to find Function, Classes, Methods, and a few more items quickly. You can also use the Alt+F1 hotkey to jump to Functions, Classes, Methods...etc depending on where your Caret is eliminating the need for a Tab control even further.

I would be more than happy to demonstrate any of these features personally if you would like and have either Discord, Google Hangouts, Skype, Zoom, or TeamSpeak. Just drop me a PM and let me know how you would like to have a chat.

Re: AHK Studio

Post by maestrith » 30 May 2018, 04:05

prosayist wrote:AHK Studio 1.005.14 / AutoHotkey v1.1.28.02

editing Theme Settings error:

Language List:
ahk
hypertext
json
xml

Please ask maestrith to finish this...he got distracted
It's called Context Menu and it is in the Settings window

Thank you for the reminder. Sadly I am more busy now than when I added that message :( I will get back to it, I'm just not too sure when.

Re: AHK Studio

Post by nnnik » 29 May 2018, 23:59

Well compared to all the other good features AHK Studio has Tabs seem kinda neglecteable

Re: AHK Studio

Post by kczx3 » 29 May 2018, 18:48

I prefer a tabbed style experience as well. I currently tend to use AutoGui for editing scripts but definitely miss features of a more powerful editor like VSCode.

Re: AHK Studio

Post by nnnik » 29 May 2018, 10:40

In AHK Studio just add comments with {} brackets in them. That will allow you to collapse the entire block.
This does get saved after you are done:

Code: [Select all]GeSHi © Codebox Plus

;{
More code
Lots of code
even more code
;}


I dont understand why you want tabs either - you dont need them and they consume space.

Re: AHK Studio

Post by Scr1pter » 29 May 2018, 07:30

Hi maestrith,

I use AHK Studio 1.005.10.
There are two questions I would like to ask:

1) Tabs
Is it somehow possible to set tabs instead of the right block which contains projects?
Same as tabs on Firefox, for example.

2) Hide lines
Sometimes hidding lines can be useful to have a better overview.
If you have several if conditions, you probably don't have to see all of them (all the time).

I created a GIF which shows you how both points are managed in Notepad++
Image

In Notepad++ the big problem is, that after closing the app, it won't get saved.
All hidden lines will be shown again.

This is something AHK Studio could do better ;)
(The same way you did for coloring text.)

Regards

Re: AHK Studio

Post by prosayist » 24 May 2018, 17:16

AHK Studio 1.005.14 / AutoHotkey v1.1.28.02

editing Theme Settings error:

Language List:
ahk
hypertext
json
xml

Please ask maestrith to finish this...he got distracted
It's called Context Menu and it is in the Settings window

Re: AHK Studio

Post by maestrith » 20 May 2018, 22:03

DRocks wrote:This is my favorite Editor for AutoHotkey. Can't find all the ease of use that AHK studio offers in other editors. Thanks so much. Its hard to believe you did all this for me who begins programming AHK as first language lol! Very nice.

I am glad to hear it :) AHK is the only language I know. I dabbled in some sort of C but that is only to work with the SciLexer.dll that I compiled.

Re: AHK Studio

Post by DRocks » 20 May 2018, 21:58

This is my favorite Editor for AutoHotkey. Can't find all the ease of use that AHK studio offers in other editors. Thanks so much. Its hard to believe you did all this for me who begins programming AHK as first language lol! Very nice.

Re: AHK Studio

Post by Rafaews » 07 Apr 2018, 14:48

Hey! First I would like to say thank you :D
Secondly... Why don't clean up the debug window after a no error saving/compiling?
Sometimes it's weird you know, getting an error, solving it... And still have to look to it haha

Re: AHK Studio

Post by derz00 » 28 Mar 2018, 09:12

maestrith! o/

I've found an issue, and wondering if you can help me figure out if it's me to AHK-Studio that's doing something wrong ;)

https://github.com/maestrith/AHK-Studio/issues/168

Re: AHK Studio

Post by maestrith » 20 Mar 2018, 11:59

Innominate wrote:I have an old custom theme that I really like, is there a way to convert it to the new version? (I have a saved xml of it.) After updating AHK Studio it says it isn't compatible.

Send it to me and I will take a look at it.

Re: AHK Studio

Post by Innominate » 20 Mar 2018, 11:24

I have an old custom theme that I really like, is there a way to convert it to the new version? (I have a saved xml of it.) After updating AHK Studio it says it isn't compatible.

Re: AHK Studio

Post by maestrith » 19 Mar 2018, 13:17

chocnmint wrote:
maestrith wrote:Should be fixed. Sorry about that


Wow, thanks for solving it so fast! :bravo: So far it's working nice. I'll check it in the medium term. ;)

Thank you for getting back to me. I have had a lot of trouble with file encoding...

Re: AHK Studio

Post by chocnmint » 19 Mar 2018, 11:24

maestrith wrote:Should be fixed. Sorry about that


Wow, thanks for solving it so fast! :bravo: So far it's working nice. I'll check it in the medium term. ;)

Re: AHK Studio

Post by maestrith » 19 Mar 2018, 08:28

Should be fixed. Sorry about that

Re: AHK Studio

Post by chocnmint » 19 Mar 2018, 04:22

autocart wrote:Hi again,
I did start to like AHK-Studio (again), however unfortunately it destroys my code if it contains special German characters like e.g. ä.
It is really sad for me but I (again) will have to keep bothering with less feature-rich/potentially powerful but at least more code-safe editors.
(I REALLY do not understand how such basics can still be unfixed after literally years of development. I am sorry to have to say this, but there is nothing else I can say.)
Regards, S.



Hi!, I'm using a Spanish keyboard, with this kind of things:
¿, ¡, ñ, á,...

AHKStudio has changed all theese into ? simbol, and it was a complete mess in my script. Lucky me I keep backups often.
How can I solve this issue? I love the program.
Thanks.

Re: AHK Studio

Post by maestrith » 16 Mar 2018, 06:09

1.005.11
Fixed:
- Sometimes when you pressed Alt+F it would select the entire document (Still not sure why it does it, or when it would do it)
Changed:
- Refresh Code/Project Explorer: Default {Enter} action is now Refresh Current Project
Added: Suggested by Kelvin
- Duplicate Line: If you have a selection that spans multiple lines it will duplicate those lines

Re: AHK Studio

Post by maestrith » 12 Mar 2018, 11:40

1.005.10
Added: Suggested by Scr1pter
- Highlight Selected Area: Select an area and it will highlight it
- Clear Selected Highlight: Select an area with highlights and it will remove them
- Edit_Highlight_Colors: Change the highlight colors
Fixed: Reported by DaveT1
- Breakpoints for Debugging were not working
Changed: Requested by autocart
- Added Start Select Character: You can add in extra characters that start words to have double click select include them in the selection
- Hopefully fixed the UTF character issue

Re: AHK Studio

Post by autocart » 12 Mar 2018, 10:47

Hi again,
I did start to like AHK-Studio (again), however unfortunately it destroys my code if it contains special German characters like e.g. ä.
It is really sad for me but I (again) will have to keep bothering with less feature-rich/potentially powerful but at least more code-safe editors.
(I REALLY do not understand how such basics can still be unfixed after literally years of development. I am sorry to have to say this, but there is nothing else I can say.)
Regards, S.

Top