Search found 229 matches

by KilliK
18 Mar 2019, 16:47
Forum: Ask For Help
Topic: Add space after a subdomain in an url. How? Topic is solved
Replies: 15
Views: 2432

Re: Add space after a subdomain in an url. How? Topic is solved

Your code is excellent, it does the job perfectly. thank you again for all your help.
by KilliK
18 Mar 2019, 11:25
Forum: Ask For Help
Topic: Add space after a subdomain in an url. How? Topic is solved
Replies: 15
Views: 2432

Re: Add space after a subdomain in an url. How? Topic is solved

.... you are right. and i think turning all the dots between // and the first / will suffice for my situation. Let me explain the problem. Some Disqus forums dont allow urls in your posts. Otherwise they will auto-delete them. But sometimes I need to add urls for reference during my conversations. ...
by KilliK
18 Mar 2019, 10:06
Forum: Ask For Help
Topic: Add space after a subdomain in an url. How? Topic is solved
Replies: 15
Views: 2432

Re: Add space after a subdomain in an url. How? Topic is solved

Easier: RegExReplace(urls, "m`a)^(https?://.+?)(?=\.\w+/)", "$1 ") thanx, but I just noticed something which eluded me the first time. The space is not added correctly to the first dot after the subdomain name, if the domain has two dots. for example, these urls: http://www.test.co.uk/jpg.png http:...
by KilliK
18 Mar 2019, 06:59
Forum: Ask For Help
Topic: Add space after a subdomain in an url. How? Topic is solved
Replies: 15
Views: 2432

Re: Add space after a subdomain in an url. How? Topic is solved

you are magnificent, thank you very much.
by KilliK
18 Mar 2019, 06:26
Forum: Ask For Help
Topic: Add space after a subdomain in an url. How? Topic is solved
Replies: 15
Views: 2432

Re: Add space after a subdomain in an url. How? Topic is solved

But this only works if you already know the subdomain. Maybe I wasnt clear, but the subdomain is supposed to be random from random urls.
by KilliK
17 Mar 2019, 21:04
Forum: Ask For Help
Topic: Add space after a subdomain in an url. How? Topic is solved
Replies: 15
Views: 2432

Add space after a subdomain in an url. How? Topic is solved

Hello. Let's say I have thesel urls: https://www.test.com/ http://test.co.uk/jpg.png https://pbs.test.gr/xxx/xxx.jpg How do I add a space between the subdomain ( test in this case) and the . that follows it, so that they look like this: https://www.test .com/ http://test .co.uk/jpg.png https://pbs.t...
by KilliK
17 Mar 2019, 13:29
Forum: Ask For Help
Topic: Remove focus (blue border) from GUI buttons.
Replies: 6
Views: 1580

Re: Remove focus (blue border) from GUI buttons.

I finally found a solution. I created a hidden button which doesnt mess up the GUI layout. and I controlclick it, whenever I want to lose focus from the normal buttons. problem solved. thanks for all your help. I ll keep in mind some of your suggestions, in case I need to fix similar problems in the...
by KilliK
16 Mar 2019, 08:28
Forum: Ask For Help
Topic: Remove focus (blue border) from GUI buttons.
Replies: 6
Views: 1580

Re: Remove focus (blue border) from GUI buttons.

I want to avoid messing with the default styles for now. I tried teadrinker's solution. It does work for when I minimize and restore the GUI, the buttons remain unfocused. But if I click a button, the focus is not removed, the blue border stays there. So I am half there. I tried various methods with...
by KilliK
15 Mar 2019, 17:49
Forum: Ask For Help
Topic: How to compare time strings? Topic is solved
Replies: 5
Views: 1025

Re: How to compare time strings? Topic is solved

Thank you for the help, I ll test it asap.
thanks again.
by KilliK
15 Mar 2019, 17:45
Forum: Ask For Help
Topic: Remove focus (blue border) from GUI buttons.
Replies: 6
Views: 1580

Remove focus (blue border) from GUI buttons.

Hello I have created a simple GUI with several buttons. I dont use the "default" setting in any of the buttons when I add them in the GUI. The GUI starts with all the buttons unfocused (no blue border) by using the command: GuiControl, -Default, %A_GuiControl% Gui, Show, , Box https://i.imgur.com/zm...
by KilliK
15 Mar 2019, 07:23
Forum: Ask For Help
Topic: How to compare time strings? Topic is solved
Replies: 5
Views: 1025

How to compare time strings? Topic is solved

Hello. With this code, I can get the current time every 10m: SetTimer, GetCompTime, 600000 return GetCompTime: FormatTime, MyTime,, HH:mm:ss tt ToolTip % MyTime return Let's say I want to create a task which runs only once every day between 00:00:00 am and 00:10:00 am in the morning, My problem is h...
by KilliK
09 Mar 2019, 17:32
Forum: Ask For Help
Topic: Auto-start script in non-elevated mode?
Replies: 2
Views: 571

Auto-start script in non-elevated mode?

Hello.

Is there a way to auto-start a script in non-elevated mode, when you load it from an elevated command prompt or file manager?
I know how to make it auto-start in admin mode, but I cant find anything for the opposite way.
by KilliK
04 Mar 2019, 12:35
Forum: Ask For Help
Topic: How to check if a simple array is empty. Topic is solved
Replies: 10
Views: 2682

Re: How to check if a simple array is empty. Topic is solved

thank you very much for all your help :bravo:
by KilliK
01 Mar 2019, 10:55
Forum: Ask For Help
Topic: How to check if a simple array is empty. Topic is solved
Replies: 10
Views: 2682

Re: How to check if a simple array is empty. Topic is solved

how do you do that, with the HasKey function?
by KilliK
01 Mar 2019, 08:02
Forum: Ask For Help
Topic: How to check if a simple array is empty. Topic is solved
Replies: 10
Views: 2682

Re: How to check if a simple array is empty. Topic is solved

Thank you for the help, all the suggestions work fine.
But there is one particular case that they dont work. When the array does have values but they are all empty.
For example if I have this Array:=["","",""], how do I check that all its values are empty?
by KilliK
28 Feb 2019, 14:08
Forum: Ask For Help
Topic: How to check if a simple array is empty. Topic is solved
Replies: 10
Views: 2682

How to check if a simple array is empty. Topic is solved

Sorry for my ignorant question, but do I check if a simple array (Array:=[]) is completely empty? So far I have found only how to do it for associative arrays.
by KilliK
26 Feb 2019, 03:10
Forum: Ask For Help
Topic: How to interrupt a subroutine?
Replies: 6
Views: 1462

Re: How to interrupt a subroutine?

thank you all for your help, you gave some good suggestions. For now, I decided to break the subroutine into several groups containing the same repetitive steps and have an if statement in each one with the same condition which is toggled by another hotkey. so far it works well. thanks again for the...
by KilliK
25 Feb 2019, 09:52
Forum: Ask For Help
Topic: How to interrupt a subroutine?
Replies: 6
Views: 1462

Re: Abruptly stop a long series of sequential events. How?

I tried your suggestion, but it doesnt work. the subroutine will continue to its end, even if I change the toggle.
by KilliK
25 Feb 2019, 08:21
Forum: Ask For Help
Topic: How to interrupt a subroutine?
Replies: 6
Views: 1462

How to interrupt a subroutine?

Hello. I have created a long process of multiple steps which is triggered by a hotkey. It has this form: Send F2 Sleep 700 do stuff A Sleep 700 Send F2 Sleep 700 Send F2 Sleep 700 do stuff B Sleep 700 Send F2 etc etc etc This pattern repeats 20 times. it is not a loop, it is a long subroutine which ...
by KilliK
09 Feb 2019, 04:19
Forum: Ask For Help
Topic: Better syntax for this if-statement? Topic is solved
Replies: 3
Views: 658

Re: Better syntax for this if-statement? Topic is solved

@Masonjar12 that worked very well, thank you very much.

Go to advanced search