Search found 675 matches

by maestrith
11 Oct 2017, 08:42
Forum: AHK Studio
Topic: Studio API
Replies: 11
Views: 211

Re: Studio API

SplitPath,File,Filename,Dir,exte
Run,"C:\Program Files (x86)\AutoHotkey-v2\AutoHotkeyU64.exe" "%file%",%Dir% ;<-----The ,%Dir% sets the working directory
by maestrith
11 Oct 2017, 06:17
Forum: AHK Studio
Topic: Studio API
Replies: 11
Views: 211

Re: Studio API

Just food for thought, my install of AHK is in D:\Program Files You might want to use something like SplitPath,A_AhkPath,,Dir Dir:=SubStr(Dir,1,InStr(Dir,"\",0,0)) if (exte = "ahk2") { Run Dir "AutoHotkey-v2\AutoHotkeyU64.exe" "%file%" x.m("Run with v2&qu...
by maestrith
06 Oct 2017, 21:47
Forum: AHK Studio
Topic: Studio API
Replies: 11
Views: 211

Re: Studio API

Do you suppose there will ever be issues with saving all the files? How does your built in "Run" function do it? Can I do something similar? EDIT: I'm trying to study the Plugin Class in the code. Run uses the Save() function to save anything that is unsaved so using the plugins x.Save() ...
by maestrith
06 Oct 2017, 20:44
Forum: AHK Studio
Topic: Studio API
Replies: 11
Views: 211

Re: Studio API

So Text:=x.Publish(1) would store the contents of the Project into the variable Text Class PluginClass{ __Call(x*){ m(x) }__New(){ return this }Activate(){ WinActivate(hwnd([1])) }AllCtrl(code,lp,wp){ for a,b in s.ctrl b[code](lp,wp) }AutoClose(script){ if(!this.Close[script]) this.Close[script]:=1 ...
by maestrith
06 Oct 2017, 20:33
Forum: AHK Studio
Topic: Studio API
Replies: 11
Views: 211

Re: Studio API

Sorry but I lost my host there and have not updated been able to update anything. Saving of files can be done using x.Save() using your example but it will save all of the files. Studio, by default, saves everything when saving so that it doesn't lose anything.
by maestrith
06 Oct 2017, 19:16
Forum: AHK Studio
Topic: AHK Studio
Replies: 855
Views: 137824

Re: AHK Studio

DaveT1 wrote:Ah, great, thanks for that....now up and running and going to do some testing of ahk studio.

Cheers, DaveT1.

Glad to hear it. Hope everything goes well.
by maestrith
05 Oct 2017, 12:03
Forum: AHK Studio
Topic: AHK Studio
Replies: 855
Views: 137824

Re: AHK Studio

Hi Maestrith, Just seen a great youtube video and it's persuaded me to give ahk studio another go - it's got so much :o ! So I went to http://www.maestrith.com, right clicked on the link and saved it as, well, as an .ahk file. Double clicking it then gives the following error: AHK-Studio.ahk (1318)...
by maestrith
05 Oct 2017, 08:27
Forum: Gaming
Topic: My take on Snake
Replies: 36
Views: 1216

Re: My take on Snake

feiyue wrote:@maestrith Your realization is wonderful! The code is so streamlined. :thumbup: :thumbup:
It contains many advanced applications of AHK, and I can learn a lot. Thank you for sharing!

Thanks :) and no problem.
by maestrith
02 Oct 2017, 15:10
Forum: AHK Studio
Topic: AHK Studio
Replies: 855
Views: 137824

Re: AHK Studio

I am trying to figure out where in the theme page you change the background for the selected text? I know it must be obvious/simple but I can't make the connection given the choices and instructions on theme page. I am currently in the middle of updating the Theme and a lot of other things and I do...
by maestrith
19 Sep 2017, 13:30
Forum: AHK Studio
Topic: AHK Studio
Replies: 855
Views: 137824

Re: AHK Studio

Start, Stop, Step In/Over and a few other features.
by maestrith
19 Sep 2017, 11:11
Forum: AHK Studio
Topic: AHK Studio
Replies: 855
Views: 137824

Re: AHK Studio

Hi @ maestrith hope you're not overwhelmed with business. :) I found what I think is a bug in Studio, but thought I'd ask you. names := ( Join comments { "Michael" :"1234567890", } ) names := ( Join comments { ; test "Michael" :"1234567890", } ) ah crud. OK. ...
by maestrith
19 Sep 2017, 09:56
Forum: AHK Studio
Topic: AHK Studio
Replies: 855
Views: 137824

Re: AHK Studio

joedf wrote:It's the main thing that's holding me back.. the debugging and output of S4A.

What do you mean? I'm up for adding things.
by maestrith
17 Sep 2017, 19:02
Forum: Gaming
Topic: My take on Snake
Replies: 36
Views: 1216

Re: My take on Snake

CSWinnall wrote:when I run snake I get this window pop up

2017-09-16.png

Im on windows 10 and ie 11

Any Ideas?

Many Thanks

Not really sure what is going on there :( Everything "should" be included and working. I'll have to do some troubleshooting through PM to see what's up.
by maestrith
17 Sep 2017, 18:58
Forum: Gaming
Topic: My take on Snake
Replies: 36
Views: 1216

Re: My take on Snake

yawikflame wrote:does this snake have anything to do with the one you helped me with?
:D :D
if so, i'm glad i got you into it ;)

The idea was from that project, but I don't think I re-used much.
by maestrith
10 Sep 2017, 20:22
Forum: Scripts and Functions
Topic: [Game] Tetris Windows 7+
Replies: 10
Views: 455

Re: [Game] Tetris Windows 7+

kczx3 wrote:12,900
Lines: 117

:thumbup:
by maestrith
07 Sep 2017, 07:55
Forum: AHK Studio
Topic: AHK Studio
Replies: 855
Views: 137824

Re: AHK Studio

1.003.31
Changed: Requested by niczoom
--WILL download a new version of SciLexer.dll
-;{ and ;} create fold points
by maestrith
06 Sep 2017, 15:15
Forum: Scripts and Functions
Topic: [Game] Tetris Windows 7+
Replies: 10
Views: 455

Re: Tetris Windows 7+

SpeedMaster wrote:Beautiful. :o
Thanks for sharing ! :bravo:

Suggestion:
Please can you insert this tag [Game] as a prefix in your title ?
this will make the search easier ;)

:) Thanks and No Problem :)
by maestrith
06 Sep 2017, 14:16
Forum: Scripts and Functions
Topic: [Game] Tetris Windows 7+
Replies: 10
Views: 455

Re: Tetris Windows 7+

0.000.2
Added: Suggested by SKAN
-Final Score MsgBox
by maestrith
06 Sep 2017, 14:08
Forum: Scripts and Functions
Topic: [Game] Tetris Windows 7+
Replies: 10
Views: 455

Re: Tetris Windows 7+

SKAN wrote:Awesome! :bravo:

My score was like 4300 when my game ended and it simply began afresh... I couldn't see my final score.

I'll add in a msgbox or something for a score.
by maestrith
06 Sep 2017, 13:06
Forum: Scripts and Functions
Topic: [Game] Tetris Windows 7+
Replies: 10
Views: 455

Re: Tetris Windows 7+

RUNIE wrote:Prettiest and most functional version of tetris written in AHK I think there is! Ghost piece is awesome.

Thanks :)

Go to advanced search