Search found 369 matches

by SpeedMaster
05 Apr 2020, 09:10
Forum: Scripts and Functions
Topic: LineStr() : Extract any line or consecutive lines from text
Replies: 18
Views: 822

Re: LineStr() : Extract any line or consecutive lines from text

I've modeled LineStr() after SubStr() and I feel it is best to keep it that way. You're right. I hadn't thought of that. :facepalm: This function should mimic substr() as much as possible. :thumbup: I found a similar function that can solve my problem with a dumpfile. LineDelete() by Cuadrix https:...
by SpeedMaster
04 Apr 2020, 11:51
Forum: Scripts and Functions
Topic: LineStr() : Extract any line or consecutive lines from text
Replies: 18
Views: 822

Re: LineStr() : Extract any line or consecutive lines from text

Great ! Thanks for sharing! :D
Is it also possible to add an option to also remove them on the fly? :think:
I mean something that acts like the pop() function for objects.

LineStr(ByRef T, S, C:="", D:="`n", Remove:=false)

Cheers
by SpeedMaster
31 Mar 2020, 17:26
Forum: Scripts and Functions
Topic: [Gdip] How to draw shapes and lines with the mouse
Replies: 12
Views: 667

Re: [Gdip] How to draw shapes and lines with the mouse

Could you control the pen in powerpoint slide show window to draw these shapes without the red line? No. You still have to draw manually (saving to a file is not implemented yet). :roll: Here is a slightly altered version with the ability to change the color, alpha, and pen thickness on the fly. Th...
by SpeedMaster
29 Mar 2020, 17:52
Forum: Scripts and Functions
Topic: [Gdip] How to draw shapes and lines with the mouse
Replies: 12
Views: 667

[Gdip] How to draw shapes and lines with the mouse

Hello, After reading this topic https://www.autohotkey.com/boards/viewtopic.php?t=60827 I was curious to find a way to draw several shapes and lines with the mouse and display them at the same time on the screen. :think: I don't know if it's the right method, but the BitBlt() function seems to do th...
by SpeedMaster
25 Mar 2020, 15:08
Forum: Wish List
Topic: assert()
Replies: 9
Views: 1214

Re: assert()

but for what purpose? to make one-liners 8-) Probably Exit ? return(){ Exit } Great! That seems to solve the problem. :thumbup: I'll add it to my personal library. :D here is a test script (set myvar to true and then to false and see what happens) #singleinstance force myvar:=true (myvar=1) ? msgbo...
by SpeedMaster
25 Mar 2020, 11:19
Forum: Wish List
Topic: assert()
Replies: 9
Views: 1214

Re: assert()

I use similar functions myself exitapp() msgbox()... , these small functions are very useful to create ternary and one-liners. I'm still wondering why they're not built in... :think: here an example: #singleinstance force myvar:=true (myvar=1) && msgbox("myvar is true") && beep() && assert(false) ms...
by SpeedMaster
02 Mar 2020, 14:52
Forum: Gaming
Topic: [Game] List of all AHK Games
Replies: 36
Views: 25038

Re: [Game] List of all AHK Games

New Game:
AHK Flappy Bird
:bravo:
by SpeedMaster
20 Feb 2020, 05:52
Forum: Scripts and Functions
Topic: [ Game ] AHK Flappy Bird
Replies: 8
Views: 914

Re: [ Game ] AHK Flappy Bird

Awesome, thanks for sharing. :thumbup:
by SpeedMaster
17 Feb 2020, 11:25
Forum: Scripts and Functions
Topic: [Tool] SCREENSHOT COMMENT MAKER
Replies: 12
Views: 1216

Re: [Tool] SCREENSHOT COMMENT MAKER

rommmcek Thanks for your suggestion, i was also thinking of doing something similar. 8-) I tested your script, it works well, the only problem is when you select the white color the text becomes invisible in the typing area. Do you have a solution? :roll: I'm also thinking about improving the speed...
by SpeedMaster
16 Feb 2020, 13:28
Forum: Scripts and Functions
Topic: [Tool] SCREENSHOT COMMENT MAKER
Replies: 12
Views: 1216

Re: [Tool] SCREENSHOT COMMENT MAKER

Hello, Many thanks for the feedback :) New version 2.0 :D added an update button to modify the last subtitle object without creating a new one choice of other fonts and more colors change font size, ouline size and colors toggle outline, bold, italic, underline and background added a setting section...
by SpeedMaster
13 Feb 2020, 07:06
Forum: Scripts and Functions
Topic: [Tool] SCREENSHOT COMMENT MAKER
Replies: 12
Views: 1216

[Tool] SCREENSHOT COMMENT MAKER

Hello, I made this script to be able to insert colored comments before making a screenshot 8-) Files Required: Subtitle.ahk (by iseahound) installed in AHK default Lib folder (and also GDI) You can download the lib files here:... https://github.com/iseahound/Subtitle How to use: Press win + alt + c ...
by SpeedMaster
05 Feb 2020, 05:58
Forum: Ask For Help
Topic: Multicolor text Topic is solved
Replies: 6
Views: 302

Re: Multicolor text Topic is solved

Use monospaced font + colored layers + function sliceword() 8-) gui, font, s12, consolas var:="This is a test.`nHow can i coloring the words in the parts of sentence ?" gui, add, text, w500 h60 , % var gui, add, text, xp yp wp hp cred backgroundtrans , % SliceWord(var, " a | can |words |of ") gui, a...
by SpeedMaster
29 Dec 2019, 03:30
Forum: Scripts and Functions
Topic: [Tool] Macro Commander v3.0
Replies: 17
Views: 4952

Re: [Tool] Macro Commander v3.0

New Version v3.0 8-) :D Added possibility to loop specific macro command line add dollar sign at the beginning of a macro command line followed by the desired number of repetitions. (for ex. :$25) Added RunOnce command to run a program only once Added SleepOnce, (millisec) ; to sleep only once (val...
by SpeedMaster
24 Dec 2019, 04:17
Forum: Scripts and Functions
Topic: [Tool] Macro Commander v3.0
Replies: 17
Views: 4952

Re: [Tool] Macro Commander v2.8

New Version v2.8 8-) Modified the way to send a text : quotation marks are now replaced by parenthesis to send a string (place a text in parenthesis to sendraw it) :!: Note: this can cause incompatibility with previous saved macros but solve the problem for sending quoted text. Added WaitForColor c...
by SpeedMaster
26 Nov 2019, 08:33
Forum: Scripts and Functions
Topic: AHK Screen Capture Tool
Replies: 8
Views: 2763

Re: AHK Screen Capture Tool

Hello, feiyue. Very nice script. Thanks for sharing :thumbup: I did a function to show the pixel again. when you click on the colored square next to the copy button, it will show you the pixel again. (if you load the corresponding image.) It's still relatively experimental and needs some adjustments...
by SpeedMaster
17 Nov 2019, 07:58
Forum: Scripts and Functions
Topic: Lintalist 1.9 Searchable interactive lists to copy & paste text with plugins
Replies: 157
Views: 55345

Re: Lintalist 1.9 Searchable interactive lists to copy & paste text with plugins

Perhaps this is too specific to add to lintalist, also because of various commenting styles in other languages. That's right. I forgot that this tool could also be used for other languages. :? Much easier would be to copy the clip to the clipboard directly using the "alt-enter" shortcut/label like ...
by SpeedMaster
10 Nov 2019, 08:28
Forum: Scripts and Functions
Topic: Lintalist 1.9 Searchable interactive lists to copy & paste text with plugins
Replies: 157
Views: 55345

Re: Lintalist 1.9 Searchable interactive lists to copy & paste text with plugins

Toggle Wide/Narrow View... it should work in both cases. ok working :thumbup: the always on top... should be fixed ok working :thumbup: for those that prefer to avoid using Part2 they can use [[comment=]] Ok, lintalist comments are well removed :thumbup: Thank you for all these improvements. 8-) Su...
by SpeedMaster
05 Nov 2019, 09:23
Forum: Scripts and Functions
Topic: [Tool] Macro Commander v3.0
Replies: 17
Views: 4952

Re: [Tool] Macro Commander v2.6

New Version v2.6 ;)
  1. Fixed some minor bugs.
  2. New letter:
    I = Increment the last number found in clipboard (useful for incrementing file numbers for ex. file001.txt to file002.txt etc...)
Cheers
by SpeedMaster
05 Nov 2019, 05:11
Forum: Scripts and Functions
Topic: Lintalist 1.9 Searchable interactive lists to copy & paste text with plugins
Replies: 157
Views: 55345

Re: Lintalist 1.9 Searchable interactive lists to copy & paste text with plugins

Thank you for your quick answer and for this beta version (I already use it 8-) ). here is what I was able to test: using the same keyboard shortcuts to show and hide the window works very well. :clap: :thumbup: the plugin to insert a comment is missing. ("comment.ahk" not found :cry: can you provid...
by SpeedMaster
04 Nov 2019, 05:52
Forum: Ask For Help
Topic: Moving all elements from selected folders into parent folder Topic is solved
Replies: 4
Views: 527

Re: Moving all elements from selected folders into parent folder Topic is solved

I want to remove only 1 level child folder and to keep all inner folder structure. Select only one folder (not tested on Total Commander) !g:: ;select a folder first (only one folder !) Send, ^c sleep, 1000 selectedfolder = %clipboard% SplitPath, selectedfolder,, OutDir ;move all content of selecte...

Go to advanced search