Search found 323 matches

by roysubs
Today, 03:56
Forum: Ask For Help
Topic: Special characters to wrap in {} Topic is solved
Replies: 5
Views: 114

Re: Special characters to wrap in {} Topic is solved

ok, thanks, great to know as an option that I can use if needed. :thumbup:
by roysubs
Yesterday, 14:14
Forum: Ask For Help
Topic: Auto select a specific radio button
Replies: 2
Views: 69

Re: Auto select a specific radio button

ok, great thanks, so I think somehow I have to set "option" to checked where the lines from the list are being read and added into the gui. I'm not completely clear how that would look as the code here is a little cryptic for me. I think that "A_Index" will increment, so basically I guess that I wan...
by roysubs
Yesterday, 13:18
Forum: Ask For Help
Topic: Auto select a specific radio button
Replies: 2
Views: 69

Auto select a specific radio button

I'm using the following to connect to my list of servers (they are held in ServersING, which is a path to a file holding each server line by line. This works great. However, when I activate it, no radiobox is selected. This is a bit annoying because if I want to select the first item in the list, I ...
by roysubs
Yesterday, 13:10
Forum: Ask For Help
Topic: Special characters to wrap in {} Topic is solved
Replies: 5
Views: 114

Re: Special characters to wrap in {} Topic is solved

Thanks Mikey, I think I worked it out by using some variants, good to know, I will do RegExReplace on any of those characters if they appear in the generated passwords.

Can you explain further on RDP {text} gregster please? I am doing RDP, but not sure what I might need here?
by roysubs
28 Feb 2021, 13:13
Forum: Ask For Help
Topic: Special characters to wrap in {} Topic is solved
Replies: 5
Views: 114

Special characters to wrap in {} Topic is solved

I'm trying to send a password to a server (generated by a password vault, so this has expired). This fails, I think due to "-", ",", "[". I know that I can escape some special characters by putting {} around them, but is there a list of every character that I should wrap with {} so that I cam modify...
by roysubs
28 Feb 2021, 08:39
Forum: Ask For Help
Topic: Getting last element in the array Topic is solved
Replies: 8
Views: 157

Re: Getting last element in the array Topic is solved

Ah yes, I see it now. Perfect. :)
by roysubs
28 Feb 2021, 08:12
Forum: Ask For Help
Topic: Getting last element in the array Topic is solved
Replies: 8
Views: 157

Re: Getting last element in the array Topic is solved

oh wow, that will populate %tag%, that is very nice, I've not used RegExMatch much and didn't think of it's usage in this situation, great to know, ta. :) So, "\S" is the last space?, then "+" would be, what anything after that? Not really getting how "+" does that. Ah, no, it's not that: "\S+" woul...
by roysubs
28 Feb 2021, 04:03
Forum: Ask For Help
Topic: Getting last element in the array Topic is solved
Replies: 8
Views: 157

Re: Getting last element in the array Topic is solved

All such great and informative answers, thanks so much guys, think I've cracked the "pseudoarray vs new arrays" problems that I've had in Autohotkey up to now with your help (and for the RegExReplace to normalise the multiple spaces, that's made it a lot easier thanks boiler). :thumbup: :D
by roysubs
28 Feb 2021, 00:48
Forum: Ask For Help
Topic: Getting last element in the array Topic is solved
Replies: 8
Views: 157

Getting last element in the array Topic is solved

I get some frustrations working with arrays in Autohokey. Can't quite get my head around it with the old style arrays and the new style etc, so was looking for help. In the below, I get problems as soon as I try to use arrays. tmp creates an array ok but then I need to get the last element (which I ...
by roysubs
23 Feb 2021, 16:07
Forum: Ask For Help
Topic: Function only works if variable has a MsgBox first
Replies: 5
Views: 128

Re: Function only works if variable has a MsgBox first

Actually, from memory, I think that applies to all dialogue boxes in windows too most of the time. I didn't know it applied to the Autohotkey error boxes though, that's really good to know.
by roysubs
23 Feb 2021, 15:49
Forum: Ask For Help
Topic: Function only works if variable has a MsgBox first
Replies: 5
Views: 128

Re: Function only works if variable has a MsgBox first

You're probably right Mikey, I'm not really sure what's going on. Unfortunately, the script is 8000 lines long now, so it might be hard to find. Fortunately though, I've been rejigging things around, and though I didn't really change anything functionally, I think the problem has gone away, for now,...
by roysubs
23 Feb 2021, 15:01
Forum: Wish List
Topic: Built in Chromium Support
Replies: 8
Views: 230

Re: Built in Chromium Support

I would only have wanted it implemented if it was simple to add some core functions, but yeah, we are all at the whim of Google, and they could change anything at any time of course. On the Chrome libraries, is there really just one good one, or are there multiple (and I'd be curious also how often ...
by roysubs
23 Feb 2021, 13:45
Forum: Ask For Help
Topic: Function only works if variable has a MsgBox first
Replies: 5
Views: 128

Function only works if variable has a MsgBox first

This is really confusing me ... I have the following global (declared before all hotkeys and hotstrings!) global ServersING := ThisScriptPath "\" ThisScriptNameNoExt ".servers-ing" Later on, I then have a hotkey. Now, THIS version fails every time, saying that ServersING is not defined. ^#!r:: Selec...
by roysubs
23 Feb 2021, 10:33
Forum: Wish List
Topic: Built in Chromium Support
Replies: 8
Views: 230

Re: Built in Chromium Support

I don't disagree, but I'm not so sure that 99.5+% of scripts don't do this. I mean, I have to deal with web forms constantly for work and being able to automate them in Chrome would be quite a lot of what I do. I know that a lot of people use AutoHotkey for games a lot, but I would have thought that...
by roysubs
23 Feb 2021, 07:13
Forum: Wish List
Topic: Built in Chromium Support
Replies: 8
Views: 230

Re: Built in Chromium Support

I see your point @just me , this from yesterday is calling the InternetExplorer object. I guess though, so much of the world, so many of the things that we do run on a web browser, and automation in that respect inevitably means working with Chrome (or possibly Edge which is also Chromium, or even p...
by roysubs
23 Feb 2021, 00:39
Forum: Wish List
Topic: Built in Chromium Support
Replies: 8
Views: 230

Re: Built in Chromium Support

Really? No problem, but I'm curious why not? Considering that Chromium is now essentially part of the Win 10 OS (new Edge is still optional but will very soon be build into standard Win 10 builds) shouldn't AutoHotkey support the browser that 99% of people use in everyday use, instead of a browser t...
by roysubs
22 Feb 2021, 12:21
Forum: Wish List
Topic: Built in Chromium Support
Replies: 8
Views: 230

Built in Chromium Support

I still see code examples that call Internet Explorer and it amazes me (as does anyone actually use IE anymore?). I get that there are excellent libraries written by others that handle Chrome, but it's cumbersome to have to always carry them around, especially when we consider that: a) Internet Expl...
by roysubs
22 Feb 2021, 06:13
Forum: Ask For Help
Topic: Wait for GoSub to finish
Replies: 1
Views: 49

Wait for GoSub to finish

I have a hotstring that calls a Gui dialogue to get some information then processes that information afterwards. Instead, the Gui dialogue is called, then immediately the line after is run, and that fails as the variables are not populated. I found something on this here, but a bit of a different sc...
by roysubs
21 Feb 2021, 23:20
Forum: Ask For Help
Topic: Get multiple fields at end of line
Replies: 6
Views: 163

Re: Get multiple fields at end of line

These are all really great and really cool techniques. Thanks.
by roysubs
21 Feb 2021, 13:38
Forum: Ask For Help
Topic: Get multiple fields at end of line
Replies: 6
Views: 163

Get multiple fields at end of line

I read a line in from a file to which I then split up into an array GetTag(tag) { FileRead, pwd, %PwdFile% Loop, read, %PwdFile% { line = %A_LoopReadLine% arrx := StrSplit(line, " ") l1 := % arrx.1 l2 := % arrx.2 l3 := % arrx.3 l4 := % arrx.4 I am happy with l1, l2, l3 like this as they have specifi...

Go to advanced search