Search found 91 matches

by joshatt
09 Apr 2019, 23:46
Forum: AHK Studio
Topic: AHK Studio
Replies: 1056
Views: 235687

Re: AHK Studio

No problem. You can also use DebugWindow() for whatever you need it for like debugging or to put up random messages of encouragement (if you get bored)
Roger that.
by joshatt
09 Apr 2019, 18:53
Forum: AHK Studio
Topic: AHK Studio
Replies: 1056
Views: 235687

Re: AHK Studio

maestrith wrote:
09 Apr 2019, 18:39
You can also just Select All of the text and hit Delete.
Thanks a lot. That's all very helpful.
by joshatt
09 Apr 2019, 18:31
Forum: AHK Studio
Topic: AHK Studio
Replies: 1056
Views: 235687

Re: AHK Studio

One question about interface please: how do I clear content of Debug Window? Sometimes I want to clear it but instead make that window disappear and don't know how to get it back, although I did randomly get it back later, lol.
by joshatt
11 Mar 2019, 20:01
Forum: AHK Studio
Topic: AHK Studio
Replies: 1056
Views: 235687

Re: AHK Studio

Hi, after a script wrote/appended to itself, I need it refreshed in Studio, is there a function to refresh? Accidentally I find "ALT+T" (test plugin) could do so, but I don't know if it will affect other things. Alt+M Refresh Code/Project Explorer then choose Current Project. Thanks for your help!
by joshatt
11 Mar 2019, 17:31
Forum: AHK Studio
Topic: AHK Studio
Replies: 1056
Views: 235687

Re: AHK Studio

Hi, after a script wrote/appended to itself, I need it refreshed in Studio, is there a function to refresh? Accidentally I find "ALT+T" (test plugin) could do so, but I don't know if it will affect other things.
by joshatt
19 Feb 2019, 01:02
Forum: Ask For Help
Topic: regex question Topic is solved
Replies: 6
Views: 298

Re: regex question Topic is solved

I am guessing this is what you're looking for variable = abcd-567 ; or 12abcd-567 if RegExMatch(variable,"((?:\d|\w)+)-(\d+)",vars) msgbox,% vars1 . "_" . vars2 ; or if RegExMatch(variable,"((\d|\w)+)-(\d+)",vars) msgbox,% vars1 . "_" . vars3 ; or variable = 12abcd-567 if RegExMatch(variable,"(\w+)...
by joshatt
18 Feb 2019, 23:24
Forum: Ask For Help
Topic: regex question Topic is solved
Replies: 6
Views: 298

Re: regex question Topic is solved

I am no Regex expert, but I think it would be nice if you would at least mention, what you expect as a result... https://www.autohotkey.com/boards/posting.php?mode=quote&f=76&p=264188#postingbox Sorry my bad, did not make it clear. I want to match the 2 or 3 possabilites (former part could be inter...
by joshatt
18 Feb 2019, 21:08
Forum: Ask For Help
Topic: regex question Topic is solved
Replies: 6
Views: 298

regex question Topic is solved

Code: Select all

variable = abcd-567  ; or 12abcd-567
if RegExMatch(variable,"((\d|\w)+)-(\d+)",vars)
{
	msgbox,% vars1 . "_" . vars2
}
The above code can not match as I expected. Any idea?
by joshatt
14 Feb 2019, 09:00
Forum: AHK Studio
Topic: AHK Studio
Replies: 1056
Views: 235687

Re: AHK Studio

Still not solved.
by joshatt
14 Feb 2019, 05:07
Forum: AHK Studio
Topic: AHK Studio
Replies: 1056
Views: 235687

Re: AHK Studio

maestrith wrote:
13 Feb 2019, 09:03
Fixed: Reported by joshatt
- File/New: When you set a default project folder it would still put Untitled files in the Studio\Untitled folder
Press Alt+M CFU{Enter} to get the update
Thanks for your help. I tried update several times, no new version, nothing changes.
by joshatt
12 Feb 2019, 20:42
Forum: AHK Studio
Topic: AHK Studio
Replies: 1056
Views: 235687

Re: AHK Studio

One thing I want to know, please:
I've set "Default Project Folder" = D:\AUTOHOTKEY, but why CTRL+N will create a "D:\AutoHotkey\AHKStudio\Untitled\Untitled1.ahk" file? I want it: "D:\AutoHotkey\Untitled1.ahk", instead.
Any idea?
by joshatt
09 Feb 2019, 17:52
Forum: AHK Studio
Topic: AHK Studio
Replies: 1056
Views: 235687

Re: AHK Studio

smarq8 wrote:
09 Feb 2019, 16:33
is it possible to disable commands prompt? It make me so crazy because I'm unable to click on line that it hide
Just click anywhere around,first ?
by joshatt
09 Feb 2019, 08:27
Forum: AHK Studio
Topic: AHK Studio
Replies: 1056
Views: 235687

Re: AHK Studio

maestrith wrote:
09 Feb 2019, 08:19

It depends on the word that you are selecting. I do not have the entire help file mapped so if it is not one of those words it will flash a couple times and then go to the main page.
Got it. Thanks for your help!
by joshatt
09 Feb 2019, 05:10
Forum: Ask For Help
Topic: input shortcode in any editor with starting caret
Replies: 1
Views: 111

Re: input shortcode in any editor with starting caret

; for multi shortcodes :o:kkkk.:: part1 = ( part2 = ) part3 = {{}`n`n{}} ; can be blank: part3 = pinpoint_caret(part1,part2,part3) return pinpoint_caret(beforecaret,aftercaret1,aftercaret2){ BlockInput,On BlockInput,Default SendInput,%beforecaret%{space} ;automatically add a space here sleep,100 ;t...
by joshatt
08 Feb 2019, 22:05
Forum: Ask For Help
Topic: input shortcode in any editor with starting caret
Replies: 1
Views: 111

input shortcode in any editor with starting caret

Hi, With hotstring, I intent to apply shortcode into any editor. I'm gonna mimic the caret holder function of Scite, i.e., move the cursor to where I will begin to input text after all this......as shown in the image. iluscaret.jpg With this structure you can do many things. Any correction or boost?...
by joshatt
08 Feb 2019, 20:21
Forum: AHK Studio
Topic: AHK Studio
Replies: 1056
Views: 235687

Re: AHK Studio

Hi,
Though I only get into this 3 days, I'm fasinated, so powerful, so handy. I'm still trying to learn, and one thing I want to ask for now: if I select a word and press F1, chm help file will end up at the main page, instead of that word's page. How can I fix this?
by joshatt
06 Feb 2019, 20:57
Forum: Ask For Help
Topic: AHK Studio project folder?
Replies: 0
Views: 135

AHK Studio project folder?

Hi,
I'm new to AHK Studio. I changed Default Project Folder to D:\AUTOHOTKEY\, but why CTRL_N will create a "D:\AutoHotkey\AHKStudio\Untitled\Untitled1.ahk" ? I want it "D:\AutoHotkey\Untitled1.ahk", instead.

Any idea?
by joshatt
01 Feb 2019, 18:39
Forum: Ask For Help
Topic: code bug about ffmpeg file date Topic is solved
Replies: 2
Views: 199

Re: code bug about ffmpeg file date Topic is solved

There could be more problems (with the parameters in runwait), but this cannot work: FileGetTime,mt,A_LoopFileLongPath This looks for a file literally named A_LoopFileLongPath , but instead you want to read the variable's contents (for example by forcing an expression ): FileGetTime, mt, % A_LoopFi...
by joshatt
01 Feb 2019, 08:51
Forum: Ask For Help
Topic: code bug about ffmpeg file date Topic is solved
Replies: 2
Views: 199

code bug about ffmpeg file date Topic is solved

SetWorkingDir g:\source #m:: Loop, %A_WorkingDir%\NEWS*.mp4 { FileGetTime,mt,A_LoopFileLongPath runwait,ffmpeg -y -i %A_LoopFileLongPath% -ss 8 -vcodec copy -acodec copy "g:\outpt\%A_LoopFileName%.mp4" filesettime,mt,g:\outpt\%A_LoopFileName% } return There's a ffmpeg bat that could cut off beginin...

Go to advanced search