Thank you, that's a neater solution.
How would I have done it with RegExMatch?
Search found 11 matches
- 02 Dec 2021, 12:26
- Forum: Ask for Help (v1)
- Topic: A little Regex help
- Replies: 4
- Views: 259
- 02 Dec 2021, 11:54
- Forum: Ask for Help (v1)
- Topic: A little Regex help
- Replies: 4
- Views: 259
A little Regex help
I have some strings of this format which I want to split into parts as follows Split | some | text 2002 | but it does not work into some text 2002 i.e. discarding the "|" and "Split" and "but it does not work" parts. I'm using this here: RegExMatch(MyStr, "\s\|\s(.*)\s\|\s", MyOut) MsgBox, % MyOut T...
- 28 Nov 2021, 17:28
- Forum: Ask for Help (v1)
- Topic: Obtaining a website's cookie value (Chrome)
- Replies: 1
- Views: 611
Obtaining a website's cookie value (Chrome)
I want to get a website's cookie value. They are easy enough to view manually, so for example this site www.autohotkey.com has a cookie:
name - "phpbb3_ghjir_sid"
content - "96f234f1534nnnnnnnnnnnnnnnn"
Does anyone have a piece of ahk script that will do this or some other way?
Thanks.
name - "phpbb3_ghjir_sid"
content - "96f234f1534nnnnnnnnnnnnnnnn"
Does anyone have a piece of ahk script that will do this or some other way?
Thanks.
- 25 May 2021, 10:52
- Forum: Ask for Help (v1)
- Topic: Repeating Key syntax
- Replies: 4
- Views: 206
Re: Repeating Key syntax
Perfect, all works as I hoped now:
Thanks.
Code: Select all
Gui, Add, Text, x12 y20 w160 h30, No. of steps right:
Gui, Add, Edit, x180 y20 w80 h20 vRGT,
Gui, Add, Button, x200 y120 w40 h30 , OK
^t::
Gui, Show, x345 y288 h200 w327, Capture
Return
ButtonOK:
Gui, Submit
Send {Right %RGT%}
Return
- 25 May 2021, 09:19
- Forum: Ask for Help (v1)
- Topic: Repeating Key syntax
- Replies: 4
- Views: 206
Re: Repeating Key syntax
Sorry, I was trying to keep it simple! Here is the full code: ^t:: Gui, Add, Text, x12 y20 w160 h30, No. of steps right: Gui, Add, Edit, x180 y20 w80 h20 vRGT, Gui, Add, Button, x200 y120 w40 h30 , OK Gui, Show, x345 y288 h200 w327, Capture Return ButtonOK: Gui, Submit Return Send {Right %RGT%}} Ret...
- 25 May 2021, 04:48
- Forum: Ask for Help (v1)
- Topic: Repeating Key syntax
- Replies: 4
- Views: 206
Repeating Key syntax
I cannot quite get this to work. I have a GUI that captures some user input, for example, the number of Right steps. This part all works fine. Gui, Add, Edit, x180 y20 w80 h20 vRGT, Now I want to pass the variable RGT to a Send command thus: Send {Right %RGT%} but that doesn't work. Do I have to use...
- 22 May 2021, 15:06
- Forum: Ask for Help (v1)
- Topic: Repeating screen capture
- Replies: 4
- Views: 231
Re: Repeating screen capture
Thanks @mikeyww
I have it installed and working. That handles the basic screen capture.
How do I go about the multiple captures in sequence? i.e. move and capture, move again and capture? Then paste the images together?
I have it installed and working. That handles the basic screen capture.
How do I go about the multiple captures in sequence? i.e. move and capture, move again and capture? Then paste the images together?
- 22 May 2021, 14:37
- Forum: Ask for Help (v1)
- Topic: Repeating screen capture
- Replies: 4
- Views: 231
Re: Repeating screen capture
Thanks @mikeyww
Are there some instructions for installing GDI+ and where to install it. There seems to be some forum discussion about it not working on Windows 10 64 bit. Has that been fixed?
Thanks.
Are there some instructions for installing GDI+ and where to install it. There seems to be some forum discussion about it not working on Windows 10 64 bit. Has that been fixed?
Thanks.
- 22 May 2021, 06:21
- Forum: Ask for Help (v1)
- Topic: Repeating screen capture
- Replies: 4
- Views: 231
Repeating screen capture
Many sites may have an image that is wider and longer than the visible screen. I would like to be able to select an area to copy as an image, save it then move a screen to the right and copy the same area. Then move down and copy the next portion and finally to the left to capture the portion that i...
- 17 Jun 2020, 02:27
- Forum: Ask for Help (v1)
- Topic: How to change the domain of a url Topic is solved
- Replies: 4
- Views: 1423
Re: How to change the domain of a url Topic is solved
Thanks for all these suggestions. @teadrinker second suggestion seems the neatest in my use case. I can complete my project now! Thanks.
- 16 Jun 2020, 10:02
- Forum: Ask for Help (v1)
- Topic: How to change the domain of a url Topic is solved
- Replies: 4
- Views: 1423
How to change the domain of a url Topic is solved
I want to be able to change the domain part of a URL by capturing what's in the clipboard, changing it and opening the new URL in a new browser tab. Example: https www .somedomain.com /files/sheet1.htm becomes https www .anotherdomain.co.uk /files/sheet1.htm I have been looking at some scripts to ex...