Search found 23 matches

by TASan
11 Sep 2017, 06:56
Forum: Ask For Help
Topic: One part of my script can't send "F6"-key
Replies: 5
Views: 942

Re: One part of my script can't send "F6"-key

Ah, no I can't, because it's in a loop. I just can't seem to figure this out. WinActivate just works sometimes, does not matter how long delay I have. But what I see is that pressing F6 manually twice in a row brings me from the URL-bar to the bookmark that the key seems stuck on. But I only have th...
by TASan
11 Sep 2017, 06:50
Forum: Ask For Help
Topic: One part of my script can't send "F6"-key
Replies: 5
Views: 942

Re: One part of my script can't send "F6"-key

Hello again! I think there is a bug somewhere, but not in AHK. If I use WinActivate I get the same problem. But if I use WinActivate on another Chrome window it actually works. And the exact same message box with the same code works on another hotkey in the same window that this one does not work. T...
by TASan
11 Sep 2017, 06:20
Forum: Ask For Help
Topic: One part of my script can't send "F6"-key
Replies: 5
Views: 942

Re: One part of my script can't send "F6"-key

You seem to be correct, but is this a bug? Why is the window not active, I wonder? Because if I add a 2500 ms delay I get the same problem, but if I click the window before the delay is over, the F6 keysend works. What can I do to make the window active? Why is it not active in this spesific hotkey,...
by TASan
11 Sep 2017, 04:06
Forum: Ask For Help
Topic: One part of my script can't send "F6"-key
Replies: 5
Views: 942

One part of my script can't send "F6"-key

Hello! I have a hotkey that should do some stuff, and one of those things is send "F6" to get to the URL-bar. See below: !l:: ; Write to the array: ArrayCountNY = 0 Loop, Read, D:\censored ; This loop retrieves each line from the file, one at a time. { ArrayCountNY += 1 ; Keep track of how many item...
by TASan
29 Aug 2017, 05:30
Forum: Ask For Help
Topic: Parsing variable/array returns empty?
Replies: 3
Views: 967

Re: Parsing variable/array returns empty?

After reading your post more carefully I see that you cleared the clipboard first. I added that bit of code and now it works perfectly!

Thank you so much!
by TASan
29 Aug 2017, 05:29
Forum: Ask For Help
Topic: Parsing variable/array returns empty?
Replies: 3
Views: 967

Re: Parsing variable/array returns empty?

Hello, and thank you for answering.

I had ClipWait, 1 there before, and changed it to Sleep to see if it would help. I tried ClipWait, 2 now, but I still get the same problem.
by TASan
29 Aug 2017, 04:17
Forum: Ask For Help
Topic: Parsing variable/array returns empty?
Replies: 3
Views: 967

Parsing variable/array returns empty?

Hello! I have a problem with a loop that is supposed to parse a variable. What the script does is that it copies a whole page, and then it searches for the line that has "Total" in it. This line looks something like this: Total 9 4036,46 5924,21 1887,75 31.9 % When the script finds the line, it shou...
by TASan
29 Aug 2017, 01:50
Forum: Ask For Help
Topic: Using loops and GUI together
Replies: 8
Views: 1868

Re: Using loops and GUI together

You guys are just amazing!!

Thanks, it all works!
by TASan
29 Aug 2017, 00:58
Forum: Ask For Help
Topic: Using loops and GUI together
Replies: 8
Views: 1868

Re: Using loops and GUI together

Thank you so much for helping me in this, I am so close to getting this correct. The only problem now is that the second date always is today's date no matter what I choose in the second GUI that pops up. I have changed some variable names now to make the code more clear, and I would be really glad ...
by TASan
28 Aug 2017, 07:53
Forum: Ask For Help
Topic: Using loops and GUI together
Replies: 8
Views: 1868

Re: Using loops and GUI together

That is probably true. I changed it, but it did not do anything. I found that the following might cause a problem? Gui, 2:Add, MonthCal, xDate Is probably should be this? Gui, 2:Add, MonthCal, vDate But then I get an error stating that I can't have the same variable for more than one control...
by TASan
28 Aug 2017, 07:30
Forum: Ask For Help
Topic: Using loops and GUI together
Replies: 8
Views: 1868

Re: Using loops and GUI together

Thank you for answering, that worked in getting rid of the error :) But I now have the problem that the date that is shown in the message box for "dato1" and "dato2" is todays date in both, and not the dates I choose in the two GUI's. I have examined the code but can't explain why? Maybe you have so...
by TASan
28 Aug 2017, 05:53
Forum: Ask For Help
Topic: Using loops and GUI together
Replies: 8
Views: 1868

Using loops and GUI together

I am kind of lost. I don't have much experience in coding, so I can't see what is wrong here. What I want to do is the following. 1. Open a date picker 2. Save the picked date in a variable 3. Open the date picker again 4. Save the picked date in another variable Exit the loop. The goal is to be abl...
by TASan
22 Jun 2016, 08:38
Forum: Ask For Help
Topic: Multiple dimension array?
Replies: 9
Views: 2152

Re: Multiple dimension array?

Fantastic explanation, now I understand everything that is happening there!

Thank you so much for all your help! :)
by TASan
22 Jun 2016, 07:05
Forum: Ask For Help
Topic: Multiple dimension array?
Replies: 9
Views: 2152

Re: Multiple dimension array?

Thank you evilC!

I will certainly keep that in mind in the future, but for this exact HotKey the RegExMatch-version worked perfectly :)
by TASan
22 Jun 2016, 06:39
Forum: Ask For Help
Topic: Multiple dimension array?
Replies: 9
Views: 2152

Re: Multiple dimension array?

Thank you everybody. I have more problems. Now I have Vitamin E 3 mg Vitamin B1 (tiamin) 0,28 mg Vitamin B2 (riboflavin) 0,7 mg Vitamin B3 (niacin) 4 mg And can not get it right. I either get: Vitamin E 3 mg Vitamin B 1 (tiamin) 0,28 mg Vitamin B 2 (riboflavin) 0,7 mg Vitamin B 3 (niacin) 4 mg or Vi...
by TASan
22 Jun 2016, 04:57
Forum: Ask For Help
Topic: Multiple dimension array?
Replies: 9
Views: 2152

Re: Multiple dimension array?

Wow! You really made my day and that worked perfectly! I just have one problem. I am trying to find out how I can split the string only if the number occurs after a space? So that this: Xxxxx 50 g Xxxxxxx xx6 69 g Will be Xxxxx 50 g Xxxxxx xx6 69 g I tried to understand RegExMatch(A_LoopField, "([^\...
by TASan
22 Jun 2016, 03:20
Forum: Ask For Help
Topic: Multiple dimension array?
Replies: 9
Views: 2152

Multiple dimension array?

Hello! I am not very good at this, so I once again ask for help. You have always been very helpful. I have a text in the clipboard that looks something like this: Xxxx 420 mi / 1 760 aa Xxxx 30 g Xxxx 60 g - xxxxx xxxxxxx 10 g Xxxx 7 g Xxxxxx 2,3 g Xxxxx 0,1 g So I have text with or without spaces, ...
by TASan
03 May 2016, 03:09
Forum: Ask For Help
Topic: Extracting specific strings into a CSV or the like
Replies: 3
Views: 1017

Re: Extracting specific strings into a CSV or the like

Got it working perfectly to my needs!

THANK YOU!
by TASan
03 May 2016, 02:39
Forum: Ask For Help
Topic: Extracting specific strings into a CSV or the like
Replies: 3
Views: 1017

Re: Extracting specific strings into a CSV or the like

Thank you very much for this!

I will try to figure it out, this is a great start! :)
by TASan
03 May 2016, 01:23
Forum: Ask For Help
Topic: Extracting specific strings into a CSV or the like
Replies: 3
Views: 1017

Extracting specific strings into a CSV or the like

Hello! I can't get my head around how to do this, so any and all help and guidance would be appreciated. I have the following in my clip-board (censored): ZZZZZ: XXX XXX XXX XXXXXXXX XX 0000 XXXXX YYYY ZZZZZZZ: 12345678 ZZZZZZZZZZZZ: [email protected].xxx What I would like to achieve is extracting each li...

Go to advanced search