Search found 27 matches

by jaccotjuhhh
29 Apr 2024, 09:40
Forum: Ask for Help (v2)
Topic: executing function for each username/password Topic is solved
Replies: 3
Views: 459

Re: executing function for each username/password Topic is solved

@mikeyww hi MikeyWW Thanks so much!
How would you approach if the INI file also contains other unrelated sections?
I'm having trouble applying a correct strsplit for that..
My route would be to

Code: Select all

try
each section but im not sure if that's a good route.
by jaccotjuhhh
28 Apr 2024, 16:24
Forum: Ask for Help (v2)
Topic: executing function for each username/password Topic is solved
Replies: 3
Views: 459

executing function for each username/password Topic is solved

yes hello and hi i have big code thats doing exactly what i want. but now i have to do this for multiple accounts. i have an INI file containing settings. this script is one i use privately so i have no need for making it hack-proof. lets say for this example i have this part of my INI file: [creden...
by jaccotjuhhh
21 Mar 2024, 18:31
Forum: Ask for Help (v2)
Topic: MSXML DOM find value in other xml
Replies: 6
Views: 216

Re: MSXML DOM find value in other xml

teadrinker I'm sorry I forgot to make clear, There is a lot more commands for each requestdto. So having it essentially try stuff until it matches, isn't sexy in my code This function isn't about 'if the code is found in the other xml' The reason I used msgbox to display outcome is merely for troub...
by jaccotjuhhh
21 Mar 2024, 17:51
Forum: Ask for Help (v2)
Topic: MSXML DOM find value in other xml
Replies: 6
Views: 216

Re: MSXML DOM find value in other xml

@teadrinker thank you for the insights. Although I'm afraid that for big data operations, a nested loop will ensure me no crisp experience.
by jaccotjuhhh
21 Mar 2024, 10:15
Forum: Ask for Help (v2)
Topic: MSXML DOM find value in other xml
Replies: 6
Views: 216

Re: MSXML DOM find value in other xml

It seems impossible? I hope someone can shine light on it
by jaccotjuhhh
19 Mar 2024, 13:29
Forum: Ask for Help (v2)
Topic: MSXML DOM find value in other xml
Replies: 6
Views: 216

MSXML DOM find value in other xml

Hello and welcome so i have 2 big data xml's. examples below FindCapacity.xml <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> <s:Header> <o:Security xmlns:o="http://docs.oasis-open.org/wss/2...
by jaccotjuhhh
07 Mar 2024, 15:14
Forum: Ask for Help (v2)
Topic: Excel loop using the last empty row Topic is solved
Replies: 11
Views: 441

Re: Excel loop using the last empty row Topic is solved

flyingDman sadly wasn't optimal as there are many other values in each RequestDto that aren't needed. each RequestDto is going to be appended in an already populized excel table, so sorting the right value to the right column is also an issue. For max clarification: the "1" "2" etc values are obfus...
by jaccotjuhhh
06 Mar 2024, 07:50
Forum: Ask for Help (v2)
Topic: Excel loop using the last empty row Topic is solved
Replies: 11
Views: 441

Excel loop using the last empty row Topic is solved

I have a funtion where a certain XML will be 'imported' in a XLSX. Stripped down it looks like this: XmlProcessor(){ xmlp := ComObject("MSXML2.DOMDocument.3.0") xmlp.async := false xmlp.load(ontvangstxml) xmle := ComObject("Excel.Application") xmle.Workbooks.Open(A_WorkingDir "\Administratie.xlsx") ...
by jaccotjuhhh
04 Mar 2024, 18:14
Forum: Ask for Help (v2)
Topic: Parse XML with hundreds of same values Topic is solved
Replies: 3
Views: 154

Re: Parse XML with hundreds of same values Topic is solved

@boiler in dutch i would call you as smart as a fox!
i could not have though of something like that in years!
by jaccotjuhhh
04 Mar 2024, 15:15
Forum: Ask for Help (v2)
Topic: Parse XML with hundreds of same values Topic is solved
Replies: 3
Views: 154

Parse XML with hundreds of same values Topic is solved

yes hello i have here this XML file. It goes on right up to the nether just by sheer length. Down here is the preview that sums up what most of the XML is about https://i.imgur.com/MJEyAv9.png Now the goal is to have all of this data extracted to a Excel sheet. For each RequestDto to have it's own r...
by jaccotjuhhh
04 Feb 2024, 18:23
Forum: Ask for Help (v2)
Topic: variable within multiline variable Topic is solved
Replies: 3
Views: 313

variable within multiline variable Topic is solved

Code: Select all

var2 := "500"
xml := "
(
text
var2
text
)"
i cant make this happen. i tried %var2% i tried )"var2"(, i checked the https://www.autohotkey.com/docs/v2/Scripts.htm#continuation page. but i cant get my head around it.
i need this variable to be multiline within the source-code for my own sanity
by jaccotjuhhh
04 Feb 2024, 10:27
Forum: Ask for Help (v2)
Topic: onevent click call function with var Topic is solved
Replies: 1
Views: 175

onevent click call function with var Topic is solved

So i have a starting piece of code which i want to migrate to v2 before it gets too big to handle. im having issues with calling a function with var in my script. line 18 is causing the script to prematurely execute SendRequest(xmlp). Afterwards it also throws an error "empty string" xml := " ( <?xm...
by jaccotjuhhh
03 Feb 2024, 10:17
Forum: Ask for Help (v1)
Topic: how to parse xml Topic is solved
Replies: 1
Views: 299

how to parse xml Topic is solved

so basically, "msgbox ontvangst" works like a charm. but everything after that, just doesnt do what it needs to do. i cant get fileappend to create the XML file. and i cant get my 2nd comobj to parse the xml as well. my objective is to eventually have all the values exported to CSV (my work soap req...
by jaccotjuhhh
02 Feb 2024, 19:06
Forum: Ask for Help (v1)
Topic: Create SOAP request in AHK? Topic is solved
Replies: 6
Views: 673

Re: Create SOAP request in AHK? Topic is solved

Thanks, stupid error having it an array... I now have this code, but it is returning FULL HTML code F1::SendRequest(xml) ^r::reload xml = ( <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <NumberToWords xmlns="http://www.dataa...
by jaccotjuhhh
01 Feb 2024, 15:55
Forum: Ask for Help (v1)
Topic: Create SOAP request in AHK? Topic is solved
Replies: 6
Views: 673

Re: Create SOAP request in AHK? Topic is solved

so far with the resources i managed to find, i got this. Sadly, my messagebox returns empty F1::SendRequest(xml) ^r::reload xml = ( <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope/" soap:encodingStyle="http://www.w3.org/2003/05/soap-encoding"> <soap:Body xmlns:m="http://www.exampl...
by jaccotjuhhh
01 Feb 2024, 13:55
Forum: Ask for Help (v1)
Topic: Create SOAP request in AHK? Topic is solved
Replies: 6
Views: 673

Create SOAP request in AHK? Topic is solved

I am not new to Autohotkey, but i am very new to API's. i want to learn SOAP API so i can apply that to my work web-applications that support this. How would one apply this SOAP request to a autohotkey v2 script? i cannot for the life of me find a good tutorial. POST /InStock HTTP/1.1 Host: www.exam...
by jaccotjuhhh
20 Nov 2023, 09:52
Forum: Ask for Help (v2)
Topic: if winexists exact match?
Replies: 1
Views: 226

Re: if winexists exact match?

I found this to be the solution:

Code: Select all

SetTitleMatchMode(3)
if WinExist("WhatsApp"){
by jaccotjuhhh
20 Nov 2023, 09:41
Forum: Ask for Help (v2)
Topic: if winexists exact match?
Replies: 1
Views: 226

if winexists exact match?

yes hello and hi if WinExist("WhatsApp"){ how can i assure that it will only open the window that is exactly the name i supplied? It will now also activate on a "Share on WhatsApp" or "WhatsApp Support" window, which is not what i want. Is there a better option than to hardcode all possible exclusio...
by jaccotjuhhh
24 Jun 2018, 16:47
Forum: Ask for Help (v1)
Topic: IE wait until page is fully loaded
Replies: 2
Views: 1406

IE wait until page is fully loaded

Hello, First of all, i'm sorry for my bad english. I've got a bunch of hotkeys that make a set of automated clicks in my browser. It's litterally as basic as: click, 200, 250 sleep 200 click 250, 200 sleep 1200 click, 200, 200 send sometext (this is not a real copy from my code, but literally how al...

Go to advanced search