AHK Studio

Post a reply


In an effort to prevent automatic submissions, we require that you type the text displayed into the field underneath.
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 » 17 Nov 2017, 08:25

derz00 wrote:Hey mae

I was setting up some replacements in Studio, and I wanted the input to have ;; in front (;;mx for Msgbox), but that doesn't work. Plain mx for Msgbox works though. I also tried /mx, which replaced to /MsgBox. Any idea what's up?

As or right now you can not have you can't have non-letter characters in replacement triggers but I will look into it.

Re: AHK Studio

Post by derz00 » 16 Nov 2017, 12:04

Hey mae

I was setting up some replacements in Studio, and I wanted the input to have ;; in front (;;mx for Msgbox), but that doesn't work. Plain mx for Msgbox works though. I also tried /mx, which replaced to /MsgBox. Any idea what's up?

Re: AHK Studio

Post by maestrith » 11 Nov 2017, 07:34

BriHecato wrote:Thank You, this Studio is amazing.
I only need to find light background theme :D

Thank you :) You can always edit the themes in Alt+M Theme {Enter} and change the colors individually

Re: AHK Studio

Post by BriHecato » 11 Nov 2017, 05:57

Thank You, this Studio is amazing.
I only need to find light background theme :D

Re: AHK Studio

Post by maestrith » 10 Nov 2017, 12:10

Wow, I am a dumb...I updated the files and they "should" work now. Delete lib\menus.xml and re-run it.

Re: AHK Studio

Post by BriHecato » 10 Nov 2017, 10:22

When I'm trying to run AHK-Studio from ahk file (not zip), I'm getting those errors:

Errors happened while trying to save lib\Menus.xml. Reverting to old version of the XML.


And next
Error: Menu does not exist.
Specifically: main
Line 5757: Gui,1:Menu,%menuname%
The current thread will exit.


Process and icon stays in system tray

The same happens when I'm running from unziped package.

Re: AHK Studio

Post by maestrith » 10 Nov 2017, 08:08

Barney wrote:Defining this hotkey won't make it show up in code explorer. I think it affects all hotkeys with "up" at the end
~Control UP::


Updated in the Beta Build Direct Zip Download

Re: AHK Studio

Post by Barney » 09 Nov 2017, 00:45

Defining this hotkey won't make it show up in code explorer. I think it affects all hotkeys with "up" at the end
~Control UP::

Re: AHK Studio

Post by Geramont » 02 Nov 2017, 12:23

@nnnik: Followed your hint. I checked both machines, only showed two different ahk versions. So I did a search on autohotkey*.exe and found the old exe which I then remembered that it was the first version I placed in another directory after playing with ahk for about an hour. I deleted it an everything works fine!
Thanks a lot!

Re: AHK Studio

Post by dd900 » 31 Oct 2017, 10:35

Hey maestrith, just started using AhkStudio. So far I love it, thank you. I did notice however that if a class extends another class it does not show up properly in the lib tree. I can confirm removing the "extends classWhatever" fixes the problem and the class shows up as it should.

Re: AHK Studio

Post by nnnik » 30 Oct 2017, 13:48

@Geramont you need to uninstall any kind of AHK installation you currently have on the PC and then install again - it seems that somehow you still have an old version installed.
This version will be used to execute files and is too old to run AHKStudio

Re: AHK Studio

Post by clow_yakayi » 30 Oct 2017, 12:35

My setup is sort of redundant i understand I have AutoHotkey folder in the same place as AHK Folder, but this is more for future issues that can arise when i want to have a script and its lib in a specific non redundant location or even for portability reasons

Re: AHK Studio

Post by clow_yakayi » 30 Oct 2017, 12:33

but when the UserDir/Lib is empty but the ScriptDir/lib is full, those libraries and their functions dont apear inside the code explorer lib tree
usrdir empty.png
usrdir empty.png (4.24 KiB) Viewed 399 times

code explorer epty usr dir.png
code explorer epty usr dir.png (1.68 KiB) Viewed 399 times

local dir full.png
local dir full.png (34.21 KiB) Viewed 399 times

Re: AHK Studio

Post by clow_yakayi » 30 Oct 2017, 12:31

This is what happens when the UseDir/Lib is full, where code explorer library has functions
code explorer with usr dir.png
code explorer with usr dir.png (6.87 KiB) Viewed 400 times

userdirfull.png
userdirfull.png (33.38 KiB) Viewed 400 times

Re: AHK Studio

Post by maestrith » 30 Oct 2017, 12:25

Please take a screenshot if your screen and add in what it is you want and where you want it.

Re: AHK Studio

Post by clow_yakayi » 30 Oct 2017, 12:20

On my system if I have .ahk scripts in the scriptDir/Lib directory, those script functions do not apear in the library inside the code explorer. They only appear if it is in the userdir/lib or globaldir/lib

Re: AHK Studio

Post by maestrith » 30 Oct 2017, 12:06

clow_yakayi wrote:
clow_yakayi wrote:
joedf wrote:

Code: [Select all]GeSHi © Codebox Plus

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.

put this at the beginning of the script?

that worked

Nvm still same issue

I have your script and it shows up in my Project Explorer

Re: AHK Studio

Post by clow_yakayi » 30 Oct 2017, 11:51

clow_yakayi wrote:
joedf wrote:

Code: [Select all]GeSHi © Codebox Plus

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.

put this at the beginning of the script?

that worked

Nvm still same issue

Re: AHK Studio

Post by clow_yakayi » 30 Oct 2017, 11:47

joedf wrote:

Code: [Select all]GeSHi © Codebox Plus

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.

put this at the beginning of the script?

that worked

Re: AHK Studio

Post by Geramont » 30 Oct 2017, 10:32

@nnnik: This morning I did a fresh install of ahk 1.1.26.01. Then I ran the following

Code: [Select all]GeSHi © Codebox Plus

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.

;Msgbox % A_AhkVersion A_AhkPath
Msgbox % A_AhkVersion


Which gave me this:

Started the skript by double clicking on the file name it tells me: 1.1.19.02
Started it from within scite4ahk by pressing F5: 1.1.26.01

AHK is installed in C:\Program Files\AutoHotkey\AutoHotkey.exe

So this makes me go "hmmmmmmm"...

AHK Studio still throws:
---------------------------
AHK-Studio.ahk
---------------------------
Error: Parameter #3 invalid.

Specifically: FR

Line#
3323: IfMsgBox,No
3324: Return
3325: filelist:=[],all:=SN(Current(1),"descendant-or-self::file")
3326: While,(aa:=all.item[A_Index-1]),ea:=XML.EA(aa)
3327: filelist[ea.filename]:=ea
3328: Close(0)
3329: For a,b in filelist
---> 3330: Loop,Files,b.dir "\" b.filename,FR

The program will exit.
---------------------------
OK
---------------------------

Top