Search found 545 matches
- 29 Jun 2021, 13:47
- Forum: Ask for Help (v1)
- Topic: How to import CSVs and remove top and bottom lines
- Replies: 5
- Views: 296
Re: How to import CSVs and remove top and bottom lines
Opening one file and processing is not the problem. I think I can do that. The problem is working with many files. This is what I need: - Create new.csv if it doesn't exist. If it exists, overwrite. - Read in from folder called CSVs, all files that are a CSV file. - Read in the first CSV, remove the...
- 29 Jun 2021, 11:34
- Forum: Ask for Help (v1)
- Topic: How to import CSVs and remove top and bottom lines
- Replies: 5
- Views: 296
How to import CSVs and remove top and bottom lines
I want to create a new CSV by importing many CSVs in a specific folder. For each CSV imported, I wanted add the file name on the first row, then ignore the first 3 rows import all rows - but ignore last 2 rows. I want to cycle through all CSVs and do the same. Not sure where I should start. Should o...
- 12 Apr 2021, 10:54
- Forum: Ask for Help (v1)
- Topic: Web scraping how to deal with Captchas
- Replies: 3
- Views: 320
Web scraping how to deal with Captchas
I want to scrape a website and get data and make charts.
It involves following 50-200 links from one page.
QUESTION: how do I deal with Captchas?
Just wondering if someone else has done before?
Thanks.
It involves following 50-200 links from one page.
QUESTION: how do I deal with Captchas?
Just wondering if someone else has done before?
Thanks.
- 24 Feb 2021, 11:44
- Forum: Ask for Help (v1)
- Topic: How best to automatically have a script end itself
- Replies: 1
- Views: 130
How best to automatically have a script end itself
I have loads of code snippets. That I run and use. But then don't need to be hanging around. What would be the best and efficient way to have the code automatically close itself after x minutes? Would it be possible to have it close x minutes after the last use? Let's say after the code is set to cl...
- 24 Feb 2021, 11:40
- Forum: Ask for Help (v1)
- Topic: How best to include variables inside text on many lines
- Replies: 4
- Views: 364
Re: How best to include variables inside text on many lines
@mikeyww thanks for explaining - i learned loads in your few words
i'll make my code similar to what you showed from now
i'll make my code similar to what you showed from now
- 04 Feb 2021, 19:37
- Forum: Ask for Help (v1)
- Topic: How best to include variables inside text on many lines
- Replies: 4
- Views: 364
Re: How best to include variables inside text on many lines
Thanks for the reply. Not the solution I was looking for. I wanted something like this: string1 := "Hello Word" string2 := "123 ABC" string3 := "XYZ pqr" myString = ( aaaaa aaaaaaa aaaaaaaaaaa aaaaaaaaaaaaa aaaaaaaaaaaaa. %string1% aaaaaaaaaaaa aaaaaaaaaaaa aaaaaaaaaaaaaaaaaa. aaaaaaaaaaaaaa. aaaaaa...
- 04 Feb 2021, 14:18
- Forum: Ask for Help (v1)
- Topic: How best to include variables inside text on many lines
- Replies: 4
- Views: 364
How best to include variables inside text on many lines
Let's say I have a couple of paragraphs. In there I have a few variables. At the moment, I separate the variables and text and join. Surely there must be a better way? I have something like this for example: ::]badewaytocode:: myText1 = ( First ready made text goes here... First ready made text goes...
- 04 Feb 2021, 14:11
- Forum: Ask for Help (v1)
- Topic: making keyboard shortcuts with keys from the far right side
- Replies: 3
- Views: 317
Re: making keyboard shortcuts with keys from the far right side
Thanks for both replies guys.
Both solved and helped
@submed KeyHistory is soo useful!
(I do think you got a bit greedy with having one too many Hotkeys)
Both solved and helped
@submed KeyHistory is soo useful!
(I do think you got a bit greedy with having one too many Hotkeys)
- 29 Jan 2021, 19:04
- Forum: Ask for Help (v1)
- Topic: making keyboard shortcuts with keys from the far right side
- Replies: 3
- Views: 317
making keyboard shortcuts with keys from the far right side
To the far right side of the keyboard, there are keys i NEVER EVER use! I tried making a keyboard shortcut using some of them - the top right hand 3 chars: / * and - None of these worked. I tried pressing Numlock No luck How can I use them? I was trying to make a combination with pressing the Window...
- 28 Jan 2021, 22:26
- Forum: Ask for Help (v1)
- Topic: Inputting data from clipboard and parsing one line at a time Topic is solved
- Replies: 2
- Views: 211
Re: Inputting data from clipboard and parsing one line at a time Topic is solved
Ooh. Very nice.
Works perfectly.
I had to make one correction: arr := StrSplit(Clipboard,"`n")
Had to put quotes around `n
Better than my solution
This will be great for me to start with
Thanks
Works perfectly.
I had to make one correction: arr := StrSplit(Clipboard,"`n")
Had to put quotes around `n
Better than my solution
This will be great for me to start with
Thanks
- 28 Jan 2021, 19:21
- Forum: Ask for Help (v1)
- Topic: Inputting data from clipboard and parsing one line at a time Topic is solved
- Replies: 2
- Views: 211
Inputting data from clipboard and parsing one line at a time Topic is solved
I want to read in lines from a clipboard. For each line, I want to execute some actions (a simple msgbox will be OK, I can change later). After performing actions, I want to move to the next line and do the same. Then keep on going until I come to the end. Not sure where to start. I was thinking: Ar...
- 28 Jan 2021, 19:04
- Forum: Ask for Help (v1)
- Topic: How to get input from msgbox and use as variables in code?
- Replies: 3
- Views: 209
Re: How to get input from msgbox and use as variables in code?
@BoBo Thanks
The solution you gave will do perfectly for now
The other 2 I assume are a bit more complicated?
The solution you gave will do perfectly for now
The other 2 I assume are a bit more complicated?
- 28 Jan 2021, 18:55
- Forum: Ask for Help (v1)
- Topic: Best way of automatically ending a script after x time
- Replies: 1
- Views: 104
Best way of automatically ending a script after x time
Say I have a script... I want it to end after x minutes. I have a keyboard short cut to end... But it would be nice to have it end automatically after 5 minutes say. But... if the code is used... then the 5 minute time starts again. Not sure if that makes it too complicated I can live without this p...
- 28 Jan 2021, 18:52
- Forum: Ask for Help (v1)
- Topic: Trouble splitting comma separated data into array Topic is solved
- Replies: 5
- Views: 1734
Re: Trouble splitting comma separated data into array Topic is solved
@mikeyww That's awesome
I get stuck on this SAME problem again and again and forget the answer
This time I have made a bookmark!
I get stuck on this SAME problem again and again and forget the answer
This time I have made a bookmark!
- 23 Jan 2021, 21:02
- Forum: Ask for Help (v1)
- Topic: How to get input from msgbox and use as variables in code?
- Replies: 3
- Views: 209
How to get input from msgbox and use as variables in code?
I've never done this before...
But, I want to have a msgbox popup that asks for 3 inputs say.
I then want to execute simple code using this 3 variables?
I'm guessing this is simple
Can someone show me code to start me off?
Thanks
But, I want to have a msgbox popup that asks for 3 inputs say.
I then want to execute simple code using this 3 variables?
I'm guessing this is simple
Can someone show me code to start me off?
Thanks
- 22 Jan 2021, 18:23
- Forum: Ask for Help (v1)
- Topic: Trouble splitting comma separated data into array Topic is solved
- Replies: 5
- Views: 1734
Re: Trouble splitting comma separated data into array Topic is solved
@mikeyww I have a small problem
My data is:
abc,123
efg,456
xyz,999
Now I copy this into clipboard.
But the final line has a new line character.
So the loop gets executed one extra time.
I've tried trimming the clipboard by using trim(Clipboard)
Doesn't seem to work.
Any ideas?
Thanks.
My data is:
abc,123
efg,456
xyz,999
Now I copy this into clipboard.
But the final line has a new line character.
So the loop gets executed one extra time.
I've tried trimming the clipboard by using trim(Clipboard)
Doesn't seem to work.
Any ideas?
Thanks.
- 22 Jan 2021, 17:27
- Forum: Ask for Help (v1)
- Topic: Trouble splitting comma separated data into array Topic is solved
- Replies: 5
- Views: 1734
Re: Trouble splitting comma separated data into array Topic is solved
Amazing
Thank you
Thank you
- 22 Jan 2021, 16:58
- Forum: Ask for Help (v1)
- Topic: Trouble splitting comma separated data into array Topic is solved
- Replies: 5
- Views: 1734
Trouble splitting comma separated data into array Topic is solved
I'm reading in from clipboard some data like this: abc,123 efg,456 xyz,999 I want to read each line and then get the 2 items read into a variable I'm trying this: Loop, parse, clipboard, `n, `r { StringSplit, myArray, A_LoopField, `, MsgBox % myArray[1] + myArray[1] } Not working. What am I doing wr...
- 13 Jan 2021, 21:42
- Forum: Ask for Help (v1)
- Topic: Can I automate form posting?
- Replies: 4
- Views: 211
Re: Can I automate form posting?
Not sure if I explained properly... The sending address will always be different for ebay and Amazon - I don't know beforehand the details I looked at RoboForm Don't think that fits the bill I looked at other form fillers as well - same thing They are great for SAME values always (as far as I can se...
- 13 Jan 2021, 21:11
- Forum: Ask for Help (v1)
- Topic: Can I automate form posting?
- Replies: 4
- Views: 211
Can I automate form posting?
There are many forms that I would like to have prefilled and posted. Examples: - Google Calendar events I use these as reminder events. I will add a note like: 3rd February, dentist appointment at 9.30am. I will then schedule a reminder email to be sent: 120 minutes before the event, 1 day before, 5...