Search found 75 matches

by DanRim
Yesterday, 16:17
Forum: Ask For Help
Topic: excel - save same info to multiple excel files Topic is solved
Replies: 4
Views: 96

Re: excel - save same info to multiple excel files Topic is solved

Jim Dunn Thanks you, your example really helped. Code is really simple. Much faster works and does what I need. Thank you for your time and example :) Sharing my code, but it is the same that you have posted. #SingleInstance, Force ; GUI LAYOUTS ;$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$...
by DanRim
Yesterday, 15:59
Forum: Ask For Help
Topic: excel - save same info to multiple excel files Topic is solved
Replies: 4
Views: 96

Re: excel - save same info to multiple excel files Topic is solved

Jim Dunn Thank you for your relpy and advise regarding passing parameters (I will try to do that). I see my mistake that I have 2 same functions - function2, but in my GUI I calling - function1 and function2. But changing to the right functions name function1 and function2 still do not work. I simp...
by DanRim
Yesterday, 13:03
Forum: Ask For Help
Topic: excel - save same info to multiple excel files Topic is solved
Replies: 4
Views: 96

excel - save same info to multiple excel files Topic is solved

Hello AHK community, I am struggling with saving information to excel files. Not sure why my functions and msgbox after running (open) file does not work. I want to save the same information to the two different excel files. For some reason function1 is working, but function2 does not work. I imagin...
by DanRim
14 Oct 2020, 15:48
Forum: Ask For Help
Topic: Regex - help simplify function, define problems Topic is solved
Replies: 7
Views: 121

Re: Regex - help simplify function, define problems Topic is solved

mikeyww I changed a little bit your code because I am not sure how can I reach that single digit which goes after Fornyelsecode 8. In code it is like one combination "Fornyelsecode 8" ( FORNYELSECODE \d)?, I need have them separate some how that is why I change to ( FORNYELSECODE)?( \d), but I get ...
by DanRim
14 Oct 2020, 14:44
Forum: Ask For Help
Topic: Regex - help simplify function, define problems Topic is solved
Replies: 7
Views: 121

Re: Regex - help simplify function, define problems Topic is solved

mikeyww My bad, I oversaw that variation and used old one which I saw before correction. This script is really great and it seems easy to use! There is one thing which I could not solve in your script: then we run code and code meets this part in the string - 1234567 06 07 it gives back 1234567 0. ...
by DanRim
13 Oct 2020, 17:05
Forum: Ask For Help
Topic: Regex - help simplify function, define problems Topic is solved
Replies: 7
Views: 121

Re: Regex - help simplify function, define problems Topic is solved

mikeyww I saw you have changed couple times the script, it was really useful to see some examples and how you think. I will borrow for sure your version because it is way more shorter than mine. :) Question: Why loop skips single (7 digits)? Combination 1234567 FORNYELSEOCDE 1 is working, but what ...
by DanRim
13 Oct 2020, 15:34
Forum: Ask For Help
Topic: Regex - help simplify function, define problems Topic is solved
Replies: 7
Views: 121

Regex - help simplify function, define problems Topic is solved

Hello, This function helped me to build @boiler and @mikeyww. Many thanks for help and support. I have updated this function and I think I am almost finished with this part. Function works and does what I need, but I just wondering if you could help me simplify function or make more dynamic if possi...
by DanRim
12 Oct 2020, 14:52
Forum: Ask For Help
Topic: If statement in loop with Regex does not work Topic is solved
Replies: 4
Views: 103

Re: If statement in loop with Regex does not work Topic is solved

@boiler Thank you for your example, it is more clear now. I thought I will use IF statement as in another programing language like PHP, but it seems not so easy. AHK has different syntax. Thanks and to you @mikeyww I will check documentation.
by DanRim
11 Oct 2020, 12:50
Forum: Ask For Help
Topic: If statement in loop with Regex does not work Topic is solved
Replies: 4
Views: 103

If statement in loop with Regex does not work Topic is solved

Hello, Boiler have helped me with this regex loop. I trying to add some validations, but I am not sure why my if statement does not work. If you will comment all IF statements in code, loop works perfectly, but with IF statement I get nothing. AHK does not respond. I tried use m1 m2 m3 with %%, but ...
by DanRim
09 Oct 2020, 19:30
Forum: Ask For Help
Topic: Regex - how to select right string part while looping in string Topic is solved
Replies: 2
Views: 70

Re: Regex - how to select right string part while looping in string Topic is solved

@boiler Thank you. Your script does what I need. I have a lot of questions, but I think I need just google more about regex syntax :)
Thank you again for fast reply!
by DanRim
09 Oct 2020, 18:43
Forum: Ask For Help
Topic: Regex - how to select right string part while looping in string Topic is solved
Replies: 2
Views: 70

Regex - how to select right string part while looping in string Topic is solved

Hi, Could someone help me this this regex challenge? My goal is to try manipulate with some string values, but I can not figure out how to grab it. I have almost working code, but not sure how to select different part of the string. For example i have number 1234567 which I will save to excel, but I...
by DanRim
03 Oct 2020, 03:12
Forum: Ask For Help
Topic: Regex - cant extract all values in the string Topic is solved
Replies: 6
Views: 95

Re: Regex - cant extract all values in the string Topic is solved

@teadrinker This option looks really great. Less code. I need find normal tutorial to understand regex :) Thanks again for showing different ways!
by DanRim
02 Oct 2020, 16:08
Forum: Ask For Help
Topic: Regex - cant extract all values in the string Topic is solved
Replies: 6
Views: 95

Re: Regex - cant extract all values in the string Topic is solved

@boiler Your scrip is perfect :thumbup: . Thanks for corrections!
by DanRim
02 Oct 2020, 15:15
Forum: Ask For Help
Topic: Regex - cant extract all values in the string Topic is solved
Replies: 6
Views: 95

Re: Regex - cant extract all values in the string Topic is solved

@boiler Thank you. Your code worked.
I did not knew how to connect two parts of the string.
Maybe you could explain why I get double results if I run several times hotkey?
by DanRim
02 Oct 2020, 14:22
Forum: Ask For Help
Topic: Regex - cant extract all values in the string Topic is solved
Replies: 6
Views: 95

Regex - cant extract all values in the string Topic is solved

Hello, I trying to practice extract information from email body. In email body I will have numbers which I need to store in variable, count and write it to excel file. In real project I will have this format 1234567 CODE 3 (number will change) and sometimes in body will be and just single 1234567 nu...
by DanRim
02 Oct 2020, 12:59
Forum: Ask For Help
Topic: Is it possible to copy text from MsgBox by hovering with mouse? Topic is solved
Replies: 6
Views: 138

Re: Is it possible to copy text from MsgBox by hovering with mouse? Topic is solved

mikeyww Thanks for sharing your code. It is really interesting to see what kind approaches does other developers. I will try to analyze your example for sure! I created my won version. It seems working too: ^h:: text := Clipboard text := RegExReplace(text,"---------------------------|outlook.ahk|OK...
by DanRim
02 Oct 2020, 12:32
Forum: Ask For Help
Topic: Outlook - how to find right folder? Topic is solved
Replies: 4
Views: 69

Re: Outlook - how to find right folder? Topic is solved

@FanaticGuru Thank you for explaining in such detail, I really appreciate it :)
by DanRim
01 Oct 2020, 11:42
Forum: Ask For Help
Topic: Outlook - how to find right folder? Topic is solved
Replies: 4
Views: 69

Re: Outlook - how to find right folder? Topic is solved

FanaticGuru so If I would like to connect to Inbox -> Drafts, the right approach would be this one, am I correct? this part of code with number 6 always stays default, right? oFolderInbox := olNameSpace.GetDefaultFolder(6) olApp := ComObjActive("Outlook.Application") olNameSpace := olApp.GetNamespa...
by DanRim
01 Oct 2020, 11:36
Forum: SciTE4AutoHotkey
Topic: SciTE comments options behavior Topic is solved
Replies: 5
Views: 84

Re: SciTE comments options behavior Topic is solved

@TravisQ Thanks. In some ways it does what I need, but it is really annoying that it close all comments including and brackets of function as mentioned @gregster . It seems that solution is just to use another editor.
by DanRim
30 Sep 2020, 16:38
Forum: Ask For Help
Topic: Outlook - how to find right folder? Topic is solved
Replies: 4
Views: 69

Outlook - how to find right folder? Topic is solved

Hello, I am have problems to connect to the right folder. So in this example (see the picture) number [6] means "Autohotkey" - is it right? Mail := ComObjActive("Outlook.Application").GetNameSpace("MAPI").GetDefaultFolder[6].Folders("Autohotkey") so if i want to connect to GEO folder I need to right...

Go to advanced search