Search found 33 matches
- 16 Jul 2020, 06:33
- Forum: Ask for Help (v1)
- Topic: Find object value in nested objects Topic is solved
- Replies: 8
- Views: 2118
Re: Find object value in nested objects Topic is solved
super helpful, thank you!!
- 16 Jul 2020, 05:26
- Forum: Ask for Help (v1)
- Topic: Find object value in nested objects Topic is solved
- Replies: 8
- Views: 2118
Re: Find object value in nested objects Topic is solved
Hey, thank you for your answer but its almost the same length as mine. I was wonder if there is some solution like: for key, value in carObj.objParam ; I couldn't find a way to get variable in objParam position if (model = modelToFind) { foundModel := 1 } any thoughts or is it not possible? :o
- 16 Jul 2020, 04:28
- Forum: Ask for Help (v1)
- Topic: Find object value in nested objects Topic is solved
- Replies: 8
- Views: 2118
Find object value in nested objects Topic is solved
Hello guys! I was creating some nested objects and was wondering if there any shorter ways to get values from objects than this? #z:: carObj := [{"model" : ["BMW", "Tesla", "Audi", "Kia"]},{"color" : ["blue", "red", "yellow"]}] ; lets say you want to check if there is Kia in model and if you get mod...
- 19 Jun 2020, 04:47
- Forum: Ask for Help (v1)
- Topic: insert variable as a key in dictionary Topic is solved
- Replies: 1
- Views: 1450
insert variable as a key in dictionary Topic is solved
Hello guys, I was wondering why does it give string as a key in the dictionary. How to insert variable to the dictionary as a key. Would really appreciate your help guys!! #z:: mainData := {} tempAcc := 8696796666666 tempBookingDate := "booking date 1" tempAmount := "amount 100" if !mainData.haskey(...
- 20 Mar 2020, 08:22
- Forum: Ask for Help (v1)
- Topic: Send email via outlook with "From" inserted
- Replies: 5
- Views: 931
Re: Send email via outlook with "From" inserted
Hi again! Thank you for the replay, but still I get nothing.. I do not understand what are Citem and Citem_Class. I think I am missing some of the functions or classes.. Any thoughts? Thanks in advance! ^f1:: subject := "subject" recipient := "recipient@gmail.com" emailBody:= "body text" Outlook := ...
- 19 Mar 2020, 09:02
- Forum: Ask for Help (v1)
- Topic: Send email via outlook with "From" inserted
- Replies: 5
- Views: 931
Re: Send email via outlook with "From" inserted
thank you for the replays!!! This is what I have so far: the problem is that this variable is empty: "Citem.SendUsingAccount.smtpaddress" and it only shows the first account which is nr 1 marked in the photo(see attached). Any suggestions? :crazy: subject := "subject" recipient := "recipient@gmail.c...
- 18 Mar 2020, 07:35
- Forum: Ask for Help (v1)
- Topic: Send email via outlook with "From" inserted
- Replies: 5
- Views: 931
Send email via outlook with "From" inserted
Hello guys! I was searching forums and could not find the info on how to send email and insert "from" (see attached image). my code now: subject := "subject" recipient := "recipient@gmail.com" emailBody:= "body text" from := "test@smth.dk" ; this is the mailbox that have to be in from. Outlook := Co...
- 03 Feb 2020, 06:48
- Forum: Ask for Help (v1)
- Topic: Internet Explorer has stopped working error
- Replies: 3
- Views: 413
Re: Internet Explorer has stopped working error
Thank you very much will try this!
- 03 Feb 2020, 02:33
- Forum: Ask for Help (v1)
- Topic: Internet Explorer has stopped working error
- Replies: 3
- Views: 413
Internet Explorer has stopped working error
Hi guys,
I have done some explorer web scrapping and I saw that I keep getting this error time to time. does anyone know why this error occure?
Thank you in advance!!!
I have done some explorer web scrapping and I saw that I keep getting this error time to time. does anyone know why this error occure?
Thank you in advance!!!
- 11 Jan 2020, 13:44
- Forum: Ask for Help (v1)
- Topic: How to store arrays in the object (syntax) Topic is solved
- Replies: 2
- Views: 408
Re: How to store arrays in the object (syntax) Topic is solved
Amazing, thank you!!!
- 11 Jan 2020, 13:25
- Forum: Ask for Help (v1)
- Topic: How to store arrays in the object (syntax) Topic is solved
- Replies: 2
- Views: 408
How to store arrays in the object (syntax) Topic is solved
Hello everyone! I was wondering is there a way to my "Problem": !q:: ; works fine arr1 := [1,2,3,4,5] arr2 := [6,7,8,9,10] arr3 := [11,12,13,14,15] dictionary := {"Array1" : arr1 , "Array2" : arr2 , "Array3" : arr3} for index, element in dictionary.Array1 msgbox, % element ;-------------------------...
- 28 Jan 2019, 05:22
- Forum: Ask for Help (v1)
- Topic: parse a string with regex delimiter
- Replies: 8
- Views: 1933
Re: parse a string with regex delimiter
I hate this kind of people They just asking Not try even a line of code with its own fingers . s = ( jk12345jk12345jk12345 kt25678eg78546yh25874 sd12354fg14582gh25468jj54582rr45821lk45896 ) p := "([a-zA-Z]{2})(\d{5})" Loop, Parse, s, `n, `r r .= RegExReplace(A_LoopField, "(?<=" p ")(?=(" p ")+$)", ...
- 28 Jan 2019, 03:56
- Forum: Ask for Help (v1)
- Topic: parse a string with regex delimiter
- Replies: 8
- Views: 1933
Re: parse a string with regex delimiter
Thank you for your replies! I see that I might have described my problem in a wrong way. The thing is that the variation of the string can be different every time. for example it could be: string = jk12345jk12345jk12345 or string = kt25678eg78546yh25874 or even it could be like this string = sd12354...
- 28 Jan 2019, 03:07
- Forum: Ask for Help (v1)
- Topic: parse a string with regex delimiter
- Replies: 8
- Views: 1933
parse a string with regex delimiter
Hello! It's been a while since I raised a question here! It means I progress :D But here I have a problem with parsing a string with regex delimiter. I would be grateful if you could help me with this one!!! string = jk12345jk12345jk12345 test:= [] Loop, parse, string , "([a-zA-Z]{2})(\d{5})" { test...
- 19 Sep 2018, 02:30
- Forum: Ask for Help (v1)
- Topic: Google chrome does not get values
- Replies: 1
- Views: 1393
Google chrome does not get values
Hello guys, I was trying to automate google chrome, but it doesn't get any values from chrome and I am not quit sure what is wrong. I set all the libraries to chrome.ahk from "https://github.com/G33kDude/Chrome.ahk" Just to make sure: I needed to download these : Jxon.ahk, Websocket.ahk, JSON.ahk an...
- 03 Sep 2018, 02:34
- Forum: Ask for Help (v1)
- Topic: searching for a string in pdf file
- Replies: 5
- Views: 1035
Re: searching for a string in pdf file
I think I have figuered it out !+w:: pwb := WBGet() clipboard = send, ^a sleep, 150 send, ^c sleep, 150 var_pdf := clipboard text := [] loop, parse, var_pdf, %A_space% text.insert(A_loopfield) loop, % text.length() { if RegExMatch(text[A_index], "Fødselsnummer") { text[A_index+1] := Trim(text[A_inde...
- 03 Sep 2018, 01:49
- Forum: Ask for Help (v1)
- Topic: searching for a string in pdf file
- Replies: 5
- Views: 1035
Re: searching for a string in pdf file
I could find the string with ctrl+f, but I need diggits near the string. For example I want to find birth of date and the date is next to the string "birth of date" so I won't be able to grable the actual date if you know what I mean. With pdf2txt, I am not able to download other software to my work...
- 03 Sep 2018, 00:07
- Forum: Ask for Help (v1)
- Topic: searching for a string in pdf file
- Replies: 5
- Views: 1035
searching for a string in pdf file
hello guys!
I have faced a problem with searching for a string in a pdf file, does anyone know how to do that? I would really appriaciate it, thank you guys!
I have faced a problem with searching for a string in a pdf file, does anyone know how to do that? I would really appriaciate it, thank you guys!
- 05 Jul 2018, 00:21
- Forum: Ask for Help (v1)
- Topic: Regexmatch
- Replies: 1
- Views: 476
Regexmatch
Hello Guys! I am struggling with regex again.. If you could help me I would be very grateful. The string is always first two letters than space and 5 digits. so for exapmle it looks like this XY 12345 What I need is to recognise that it starts with two letters (any letters could be) and than delete ...
- 04 Jul 2018, 03:34
- Forum: Ask for Help (v1)
- Topic: After using IE developer tools script doesnæt work
- Replies: 0
- Views: 378
After using IE developer tools script doesnæt work
hello guys! I have face with a problem when using develper tools. If you guys have any Idea why does it happens, please explain it to me. I would be very grateful for that :) So, before I run developer tools with F12 on IE this code works just fine: +q:: pwb := WBGet() if !ComObjType(pwb) msgbox, Ob...