Search found 61 matches

by awcrt9316
23 May 2020, 00:19
Forum: Ask For Help
Topic: what is a .ini file? Topic is solved
Replies: 1
Views: 128

what is a .ini file? Topic is solved

I've heard about this file type a lot but don't actually know what it is and what it is used for. Can someone explain to me what it does and how can it be used? I've been using txt files lately as databases and stuff and am just wondering what other options I have. Thanks! :bravo: :bravo: :terms: :d...
by awcrt9316
18 May 2020, 16:22
Forum: Ask For Help
Topic: autohotkey with selenium installation help
Replies: 0
Views: 165

autohotkey with selenium installation help

I was watching joe gline's tutorial on how to install selenium so I can launch a web brower and automate stuff with ahk. What I have done so far was downloaded the .exe file here: https://github.com/florentbr/SeleniumBasic/releases/tag/v2.0.9.0 , saved it as a file in my program files, and downloade...
by awcrt9316
16 May 2020, 21:31
Forum: Ask For Help
Topic: regex help Topic is solved
Replies: 8
Views: 459

Re: regex help Topic is solved

the only problem with this for me is there is a random amount of spaces between each word, so that wouldn't work. thats why i was using regex Try this instead: line := "first second third fourth fifth" while InStr(line, " ") line := StrReplace(line, " ", " ") MsgBox % strsplit(line," ").2 " " strsp...
by awcrt9316
16 May 2020, 20:38
Forum: Ask For Help
Topic: regex problem
Replies: 1
Views: 132

regex problem

I'd like to get the second word of a string, that contains random words, with random spaces between them, and an occasional accent mark. Because of the accent mark, my regex script will not locate the entire second word and instead leave out the e. How do I make it so that if there is an e with an a...
by awcrt9316
16 May 2020, 14:18
Forum: Ask For Help
Topic: regex help Topic is solved
Replies: 8
Views: 459

Re: regex help Topic is solved

the only problem with this for me is there is a random amount of spaces between each word, so that wouldn't work. thats why i was using regex
by awcrt9316
16 May 2020, 13:46
Forum: Ask For Help
Topic: regex help Topic is solved
Replies: 8
Views: 459

regex help Topic is solved

say if I want to get the second and third word in a string this will acomplish that line := "first second third fourth fifth" RegExMatch(Line, "^(?:.*?\K\b\S+\b){2}", word1) ; gets second word RegExMatch(Line, "^(?:.*?\K\b\S+\b){3}", word2) ; gets third word MsgBox, % word := word1 " "word2 is there...
by awcrt9316
16 May 2020, 12:45
Forum: Ask For Help
Topic: set working directory Topic is solved
Replies: 1
Views: 129

set working directory Topic is solved

I have about 20 different text files I am using as a sort of database, that my program runs off of. How do i set the working directory of my script so when it runs, it is able to access a folder inside my working directory called "textFolder"
by awcrt9316
16 May 2020, 10:56
Forum: Ask For Help
Topic: getting text between two words in a string Topic is solved
Replies: 2
Views: 179

getting text between two words in a string Topic is solved

I am trying to store in a variable, a word which is between two other words. For example between "Me" and "apples": string := "Me eat apples hungry yes" ; i would like to store the word "eat" in a variable The thing is that the space between words may vary, but the two words that would stay the same...
by awcrt9316
09 May 2020, 21:06
Forum: Ask For Help
Topic: count dowloads
Replies: 3
Views: 277

Re: count dowloads

just a github link
by awcrt9316
09 May 2020, 20:30
Forum: Ask For Help
Topic: count dowloads
Replies: 3
Views: 277

count dowloads

is there any way to make a script that allows me to know how many people downloaded it? Or is there a site that allows me to use a link or something to know how many downloads i have got?
by awcrt9316
29 Apr 2020, 11:52
Forum: Ask For Help
Topic: closing windows Topic is solved
Replies: 3
Views: 306

Re: closing windows Topic is solved

@BNOLI The script works absolutely fine, all the windows close, except there is a shutdown option that appears at the end for some reason every time. Just wondering if this is a bug or not.
by awcrt9316
29 Apr 2020, 11:48
Forum: Ask For Help
Topic: return
Replies: 1
Views: 148

return

is it possible to return to the beginning of your script inside of a subroutine? I have about 30 autohotkeys and each of them will have something like below

Code: Select all

+a::
if(true)
   return
+w::
if(true)
   return
by awcrt9316
28 Apr 2020, 23:56
Forum: Ask For Help
Topic: closing windows Topic is solved
Replies: 3
Views: 306

closing windows Topic is solved

Why does a shutdown option appear with my script? I am trying to close all current windows. Also, is it possible for me to close a window by title if it isn't the active window? I looked at the documentation and these things below under winclose don't seen to correspond to the name of the website, s...
by awcrt9316
28 Apr 2020, 21:36
Forum: Ask For Help
Topic: help!
Replies: 1
Views: 255

help!

Why does a shutdown option appear with my script? I am trying to close all current windows. Also, is it possible for me to close a window by title if it isn't the active window? I looked at the documentation and these things below under winclose don't seen to correspond to the name of the website, s...
by awcrt9316
27 Apr 2020, 00:23
Forum: Ask For Help
Topic: progress bars Topic is solved
Replies: 2
Views: 210

Re: progress bars Topic is solved

ahh got it, I've used that so many times in the past, surprised I didn't catch that bug. Thanks for your help.
by awcrt9316
26 Apr 2020, 23:59
Forum: Ask For Help
Topic: progress bars Topic is solved
Replies: 2
Views: 210

progress bars Topic is solved

If you run this script, which produces progress bars for every pixel, it has gaps every 4 in the y direction and every so often in the x direction. There are just white gaps between them. I need them to be 1 by 1 sized. Also, it seems like theres a progress bar limit, or theres an error somewhere. b...
by awcrt9316
25 Apr 2020, 11:54
Forum: Ask For Help
Topic: initializing multi dimentional arrays Topic is solved
Replies: 2
Views: 194

initializing multi dimentional arrays Topic is solved

I know how to initialize them like 2darray := [[]] but that only allows me to add 1 element inside the array. When starting my script, I do not know if I will need to initialize it like this [[], [], []] to have three elements contained in the array, or if i will need 5 elements contained in the arr...
by awcrt9316
25 Apr 2020, 02:34
Forum: Ask For Help
Topic: initializing 2d arrays
Replies: 1
Views: 206

initializing 2d arrays

I know how to initialize them like 2darray := [[]] but that only allows me to add 1 element inside the array. When starting my script, I do not know if I will need to initialize it like this [[], [], []] to have three elements contained in the array, or if i will need 5 elements contained in the arr...
by awcrt9316
24 Apr 2020, 22:21
Forum: Ask For Help
Topic: 2d arrays Topic is solved
Replies: 1
Views: 228

Re: 2d arrays Topic is solved

Arr := [[1, 2, 3, 4],[1, 2, 3, 4],[1, 2, 3, 4]]

MsgBox % Arr.1.1 "`n" Arr.2.1 "`n" Arr.3.4



i understand now, i just didn't realize you can add elements inside those mini bracket things.

Go to advanced search