Search found 37 matches

by NickD
Fri Oct 19, 2018 1:17 am
Forum: Technical / Scripting
Topic: How To Insert Javascript Into an IE Instance?
Replies: 1
Views: 245

Re: How To Insert Javascript Into an IE Instance?

Nevermind, IEformfill seems to do the trick nicely :D
by NickD
Fri Oct 19, 2018 12:46 am
Forum: Scripts and Tips
Topic: Solve Recaptcha Challenges In IE Via 2Captcha API
Replies: 0
Views: 628

Solve Recaptcha Challenges In IE Via 2Captcha API

Here is a script I wrote to solve V2 Google Recaptcha Challenges in IE. Thought I would share it as someone else might find it useful as a starting point. You need to have a valid 2Captcha.com api key, and 2Captcha charge $2.99 per 1000 captchas solved. After the script has run on the sample form, j...
by NickD
Fri Oct 19, 2018 12:04 am
Forum: Technical / Scripting
Topic: How To Insert Javascript Into an IE Instance?
Replies: 1
Views: 245

How To Insert Javascript Into an IE Instance?

I am working on a a script that uses the 2Captcha api to solve recaptcha puzzles in IE The script is working, so far as it successfully parses the pages recaptcha site key, constructs and submits the api request, and receives the solution token. This token now needs to be inserted into a text area o...
by NickD
Sun Oct 14, 2018 11:24 pm
Forum: Technical / Scripting
Topic: How To Send Tab (VK9) to Minimized IE Window?
Replies: 1
Views: 257

Re: How To Send Tab (VK9) to Minimized IE Window?

Nevermind, web object so no handle to target..
by NickD
Sun Oct 14, 2018 8:44 pm
Forum: Technical / Scripting
Topic: How To Send Tab (VK9) to Minimized IE Window?
Replies: 1
Views: 257

How To Send Tab (VK9) to Minimized IE Window?

The following ObjectSendKeys code was generated by the wizard, but does not seem to work. Could anyone provide any advise as to why it's failing to tab through form fields? IESetTimeout>10,ie_res IECreate>IE[0] WindowAction>1,Internet Explorer* IENavigate>%IE[0]%,https://www.google.co.uk/,ie_res IEW...
by NickD
Fri Oct 12, 2018 1:28 pm
Forum: The Water Cooler
Topic: Site Upgrades
Replies: 5
Views: 5032

Re: Site Upgrades

Hi Marcus, I have noticed quite a few broken links recently, might be worth using a tool like XENU Link sleuth to find all the broken links, then 301 redirect each of the old URLs to the relevant new URL in .htaccess. Broken links are not great for user experience or the visibility of mjnet.com in s...
by NickD
Fri Oct 12, 2018 1:19 pm
Forum: The Water Cooler
Topic: Closed Loop water cooling long term reliability?
Replies: 2
Views: 1148

Re: Closed Loop water cooling long term reliability?

This should help :) OnError>CheckBankBalance Label>Loop Wait>0.2 Goto>Loop SRT>CheckBankBalance Let>HTTP_SSL=1 HTTPRequest>https://www.onlinebanking.com,,GET,,HTMLResponse Separate>HTMLResponse,$,BankArr Let>CurrentBalance=BankArr_1 If>CurrentBalance<3000 MDL>:( Exit>0 Endif End>CheckBankBalance
by NickD
Fri Jun 08, 2018 2:20 pm
Forum: General Discussion
Topic: Regex question
Replies: 5
Views: 4487

Re: Regex question

You can create non-capturing groups like this:

Code: Select all

RegEx>(?<=this loan is locked by\s)(\w+),String,0,m,n,0,,
by NickD
Tue Feb 13, 2018 7:03 pm
Forum: Technical / Scripting
Topic: Using ImageMagick CLI To Watermark Image Via Macro Scheduler
Replies: 3
Views: 511

Re: Using ImageMagick CLI To Watermark Image Via Macro Sched

First one worked, thanks Marcus you are a star, that has made my evening.
I spent about eight hours trying to get that working, never even occurred to me that a space could be the problem...
by NickD
Tue Feb 13, 2018 6:48 pm
Forum: Technical / Scripting
Topic: Regex on Arrays
Replies: 6
Views: 933

Re: Regex on Arrays

Looping through the array output by IEGetTagsByAttrib> works fine in my script, the problem occurs when I try to parse it with regex. I will pm you the script, probably a newbie mistake in there somewhere :roll:
by NickD
Tue Feb 13, 2018 6:05 pm
Forum: Technical / Scripting
Topic: Regex on Arrays
Replies: 6
Views: 933

Re: Regex on Arrays

It's got me miffed too Marcus... When I loop through the array output by IEGetTags, ArrayVar_Count returns 30 for both titles and URLs. All the titles and URLs are unique, they are pulled from 30 different divs on the same page, each containing a different video. Could it be something to do with the...
by NickD
Tue Feb 13, 2018 5:55 pm
Forum: Technical / Scripting
Topic: Using ImageMagick CLI To Watermark Image Via Macro Scheduler
Replies: 3
Views: 511

Using ImageMagick CLI To Watermark Image Via Macro Scheduler

Hi, I am trying to create a script that can watermark images in different places based on my dialog input I have installed Image Magick, and watermarking works fine if I open command prompt from the folder containing the images and use the command: magick composite -geometry +50+50 watermark.png ori...
by NickD
Fri Feb 09, 2018 3:55 pm
Forum: Technical / Scripting
Topic: Regex on Arrays
Replies: 6
Views: 933

Regex on Arrays

I am struggling to figure out how to use regex on arrays, the following script only successfully parses the first title, and then returns empty variables after that. There are 30 lines in both of the GetTag arrays. If anybody could point me in the right direction it would be greatly appreciated. // ...
by NickD
Tue Aug 29, 2017 11:41 am
Forum: Technical / Scripting
Topic: MySQL Insert Into Row Selected from Array
Replies: 1
Views: 736

Re: MySQL Insert Into Row Selected from Array

Cracked it! For anyone else searching for how to do this, try Let>SQLCmd=UPDATE %MySQLtable% SET Field1='Value1',Field2='Value2' WHERE id=%autoincrement_row_id% DBConnect>Driver{%ODBCDriver%};Server=%DBServerIP%;Port=%DBPort%;Database=%DBName%;User=%DBUser%;Password=%DBPass%;Option=3;,dbH DBExec>dbH...
by NickD
Tue Aug 29, 2017 10:24 am
Forum: Technical / Scripting
Topic: FTP connection doesn't works
Replies: 2
Views: 783

Re: FTP connection doesn't works

FTPPutFile definitely works lechuga, I have used it very recently. I think the problem with your code is that you are using backslashes on the server filepath, try forward slashes. Let>ftpserver=ftp.domain.tld Let>ftpuser=admin@domain.tld Let>ftppassword=yourpassword Let>ftpport=21 Let>ftpuploadfold...