Search found 84 matches

by OCP
18 Nov 2018, 06:49
Forum: Ask For Help
Topic: move window works in win7 not in win10
Replies: 0
Views: 121

move window works in win7 not in win10

hello i need some help i made a little gui but i was told that moving the window does not work in win 10 i wonder if there are differences how to do that in w10 vs win7? i would like it to work in bolt below my code it is about the gMove_Window label (images not included) #SingleInstance, Force SetD...
by OCP
18 Oct 2018, 02:50
Forum: Ask For Help
Topic: Using millions of hotstrings any tips?
Replies: 7
Views: 275

Re: Using millions of hotstrings any tips?

Example: #Persistent #SingleInstance force Hotstring("(\/242)(\+|\-)?(\d+)(\+|\-)(\d+) ", "function", 3, false) Return ;~ /2420+12 = 1/24*12+Input*+1/24*12 ;~ /242+1+12 = 1/24*13+Input*+1/24*12 ;~ /242+2+9 = 1/24*14+Input*+1/24*9 ;~ /242+5+6 = 1/24*17+Input*+1/24*6 ;~ /242-2+9 = 1/24*10+Input*+1/24...
by OCP
28 Sep 2018, 03:47
Forum: Other Utilities & Resources
Topic: Any good colomn editor for inserting numbers in rows
Replies: 6
Views: 504

Re: Any good colomn editor for inserting numbers in rows

thnx swagfag

still no success tho trying to get this to work i uninstalled and never wanna use this thing again i cant stand the thing anymore :)

if anyone has another option i would like to know

cheers
by OCP
27 Sep 2018, 02:30
Forum: Other Utilities & Resources
Topic: Any good colomn editor for inserting numbers in rows
Replies: 6
Views: 504

Re: Any good colomn editor for inserting numbers in rows

sublime text with https://github.com/duydao/Text-Pastry https://i.imgur.com/VsHW5iy.gif hi i tried to get this to work for a few hours but i am unfamiliar with this editor and i struggle with it how do i get that option i see in your gif to pop up? i added the text pastry folder to the packages fol...
by OCP
26 Sep 2018, 04:15
Forum: Other Utilities & Resources
Topic: Any good colomn editor for inserting numbers in rows
Replies: 6
Views: 504

Re: Any good colomn editor for inserting numbers in rows

sublime text with https://github.com/duydao/Text-Pastry https://i.imgur.com/VsHW5iy.gif thnx looks interesting ill give that a go thank you for ideas /links just thoughts , ok needs an useless ahk-script , type 100-001 , then ctrl+c/ctrl+v I use often an ahk-script to change text-files ( drag&drop ...
by OCP
25 Sep 2018, 04:13
Forum: Other Utilities & Resources
Topic: Any good colomn editor for inserting numbers in rows
Replies: 6
Views: 504

Any good colomn editor for inserting numbers in rows

hello i am looking for a way to do the reversed of this little video i want to be able to insert numbers over 100 lines at once, in the video i can do it with notepad++ (i know i can do it in scite 2) but my problem is i want to sometimes do it descending and bolt of these do it up only unless i am ...
by OCP
25 Sep 2018, 04:01
Forum: Ask For Help
Topic: Using millions of hotstrings any tips?
Replies: 7
Views: 275

Re: Using millions of hotstrings any tips?

thnx all for the pointers/help i consider this topic solved i have since i first posted this found out that it was the included help gui i had added that was causing my lag problems i have separated it from the main exe and now it works as intended while having close to 2.8 million formulas in it no...
by OCP
02 Sep 2018, 11:40
Forum: Ask For Help
Topic: Using millions of hotstrings any tips?
Replies: 7
Views: 275

Re: Using millions of hotstrings any tips?

Guest wrote:Look at regex powered hotstrings here https://autohotkey.com/boards/viewtopic.php?t=3329
thnx i have the materials, i will have to study this a bit
by OCP
02 Sep 2018, 11:38
Forum: Ask For Help
Topic: Using millions of hotstrings any tips?
Replies: 7
Views: 275

Re: Using millions of hotstrings any tips?

Hi, Post some more code lines so that we can see what the real differences are. Probably you can replace the 3 values you mentioned by variables and create some logic for the variation of them. Regards hi Scripter this would be the smallest group i have, this group is to set the range for a knob di...
by OCP
02 Sep 2018, 08:03
Forum: Ask For Help
Topic: Script to delete empty lines in .txt file Topic is solved
Replies: 11
Views: 298

Re: Script to delete empty lines in .txt file Topic is solved

small correction : in script above I renamed the new file as text , xy.ahk > xy_NEW.txt small modified , "xy.ahk > xy_NEW.ahk" , keep the original extension and open script (text-file) with notepad ( for test ) ;........ f2=%a_desktop%\%name_no_ext%_NEW.%ext% fileappend,%h%,%f2% h= run,notepad "%f2...
by OCP
02 Sep 2018, 05:52
Forum: Ask For Help
Topic: Using millions of hotstrings any tips?
Replies: 7
Views: 275

Using millions of hotstrings any tips?

hello i am working on a text replacement tool for math formulas i am looking for some general info on how best to proceed with my script, it started out with about 37000 lines and i am getting close to a million lines of code now. What could i best do split it in multiple scripts? i would prefer to ...
by OCP
02 Sep 2018, 03:00
Forum: Ask For Help
Topic: Script to delete empty lines in .txt file Topic is solved
Replies: 11
Views: 298

Re: Script to delete empty lines in .txt file Topic is solved

just an example with drag&drop drag&drop different text-files and click on row in listbox , removes empty lines and leading zero's ( example xy.ahk > xy_NEW.ahk ) ;- drag&drop different text-files and click on row in listbox , removes empty lines and leading zero's ( example xy.ahk > xy_NEW.ahk ) #...
by OCP
31 Aug 2018, 06:06
Forum: Ask For Help
Topic: Script to delete empty lines in .txt file Topic is solved
Replies: 11
Views: 298

Re: Script to delete empty lines in .txt file Topic is solved

i spend over an hour trying to get any of this to work and i do not know how to use these thing, simply nothing happens on any of these 3 examples and i give up there is no need to waste your and my time with pasted bits of code without any explanation on how to use it that kinda defies the point of...
by OCP
31 Aug 2018, 03:52
Forum: Ask For Help
Topic: Script to delete empty lines in .txt file Topic is solved
Replies: 11
Views: 298

Re: Script to delete empty lines in .txt file Topic is solved

Another example for multiple blanks in a row: text = (join`n line 1 line 2 line 3 ) MsgBox,, Before, % text Loop { if InStr(text,"`n`n") text := StrReplace(text,"`n`n","`n") else break } MsgBox,, After, % text hi thanks for your help, not to sure how to use it tho
by OCP
31 Aug 2018, 03:28
Forum: Ask For Help
Topic: Script to delete empty lines in .txt file Topic is solved
Replies: 11
Views: 298

Script to delete empty lines in .txt file Topic is solved

hello i am working on a text replacement tool it converts a simple short code with a complex math formula using hotstrings now i have been doing back and fort exchanges of templates and such for this project and some of the stuff i get back has 100000 or more empty lines in it so i am looking for a ...
by OCP
20 Jun 2018, 07:39
Forum: Ask For Help
Topic: How to select a Class NN control Topic is solved
Replies: 5
Views: 200

Re: How to select a Class NN control Topic is solved

solved it first post by hellbent already did the trick was playing around with controlfocus before that with no success

i will keep that piece of code you posted ahkstudent think ill need that elsewhere thnx

thnx all for the fast responses
by OCP
20 Jun 2018, 04:21
Forum: Ask For Help
Topic: How to select a Class NN control Topic is solved
Replies: 5
Views: 200

How to select a Class NN control Topic is solved

hello folks i am trying to eliminate the need for mouse clicks on positions so my script could work elsewhere without the need of editing coordinates, what i need is to access a class nn control, i want to move away from using mouse click completely where ever i can but i lack the knowledge to do it...
by OCP
25 May 2018, 16:33
Forum: Ask For Help
Topic: How to make this timer stop execution the rest of my code
Replies: 8
Views: 278

Re: How to make this timer stop execution the rest of my code

TLM wrote:I forgot to remove the x y coordinate parameters
thnx for your help i have not fully figured it out jet (hoping for this oooooh moment i am studying your bits) i start from scratch tomorrow hope it all clicks at some point:)
by OCP
24 May 2018, 20:00
Forum: Ask For Help
Topic: How to make this timer stop execution the rest of my code
Replies: 8
Views: 278

Re: How to make this timer stop execution the rest of my code

This will stop the timer and break the While loop.......However in it's current state you're going end up running into spaghetti code, the script contains a lot of unnecessary repeats, bad labeling and your hotkeys should probably be contextually bound . thnx i have to look deeper into some of the ...

Go to advanced search