Search found 1024 matches

by Grovkillen
Thu Jun 07, 2018 8:51 pm
Forum: Beginners
Topic: DayOfWeek -1 returning odd date
Replies: 5
Views: 4056

Re: DayOfWeek -1 returning odd date

Code: Select all

Month>mm
Day>dd
Year>yyyy
Let>dd=dd-1
If>dd<10
 Let>dd=0%dd%
Endif>
MessageModal>%mm%/%dd%/%yyyy%
by Grovkillen
Thu Jun 07, 2018 8:47 pm
Forum: Technical / Scripting
Topic: Google geocoding HTTP Request problem
Replies: 1
Views: 1461

Re: Google geocoding HTTP Request problem

You need to have a valid header message. You probably need to use python code.

https://www.mjtnet.com/blog/2016/11/14/ ... ng-python/
by Grovkillen
Wed May 30, 2018 5:22 am
Forum: Technical / Scripting
Topic: JSONParse - JSONPath help
Replies: 4
Views: 5719

Re: JSONParse - JSONPath help

LabelToVar takes the commented lines and put them as a variable. So it's perfectly fine that they are commented since you don't want the compiler to act on that part of the code.
by Grovkillen
Mon Apr 02, 2018 5:35 pm
Forum: Technical / Scripting
Topic: Grab info from Internet
Replies: 4
Views: 2823

Re: Grab info from Internet

I noticed now that you can get the IP with just a http request if you don't add the format to the URL.

https://api.ipify.org

That will give you the IP as the answer. No JSON parse is needed.
by Grovkillen
Mon Apr 02, 2018 6:11 am
Forum: Technical / Scripting
Topic: Grab info from Internet
Replies: 4
Views: 2823

Re: Grab info from Internet

https://www.ipify.org/

And then do a http get request to https://api.ipify.org/?format=json . JSON parse the answer.
by Grovkillen
Mon Mar 26, 2018 8:22 pm
Forum: Technical / Scripting
Topic: StringGrid Part III , different ColWidth
Replies: 12
Views: 13988

Re: StringGrid Part III , different ColWidth

All right, thanks for clearing that though.
by Grovkillen
Sat Mar 24, 2018 4:55 pm
Forum: Technical / Scripting
Topic: Variable will not show up properly when using cmd.exe
Replies: 1
Views: 1641

Re: Variable will not show up properly when using cmd.exe

I do stuff like that on two steps:

Code: Select all

Let>CMD_LINE=cmd /C "C:\Program Files\ProgramFiles%\Sandboxie\Start.exe" /box:%A% "C:\Program Files\Mozilla Firefox\firefox.exe" http://url.com/%ID%
Run>CMD_LINE
by Grovkillen
Mon Mar 19, 2018 5:31 pm
Forum: Technical / Scripting
Topic: StringGrid Part III , different ColWidth
Replies: 12
Views: 13988

Re: StringGrid Part III , different ColWidth

Markus, do you have any idea on how to set and fetch column widths?
by Grovkillen
Sat Feb 24, 2018 6:55 am
Forum: Technical / Scripting
Topic: IEExtractTagByAttrib - can't pull needed data
Replies: 6
Views: 4313

Re: IEExtractTagByAttrib - can't pull needed data

I would download the page using " HTTPRequest> " command and then use " RegEx> " with this pattern " (?<=readonly="">).{6}-.{5}-.{6}-.{5}(?=</textarea>) ". Let>URL=https://www.url-to-your-site-of-intereset.com HTTPRequest>URL,,GET,,HTML_RESPONSE,,,, Let>REGEX_PATTERN=(?<=readonly="">).{6}-.{5}-.{6}-...
by Grovkillen
Wed Feb 21, 2018 6:10 pm
Forum: Technical / Scripting
Topic: IEExtractTagByAttrib - can't pull needed data
Replies: 6
Views: 4313

Re: IEExtractTagByAttrib - can't pull needed data

You might want to try ocr instead.
by Grovkillen
Tue Feb 13, 2018 7:31 pm
Forum: Technical / Scripting
Topic: Using ImageMagick CLI To Watermark Image Via Macro Scheduler
Replies: 3
Views: 2954

Re: Using ImageMagick CLI To Watermark Image Via Macro Sched

NickD wrote: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...
A space is always the problem :P
by Grovkillen
Fri Feb 09, 2018 5:24 pm
Forum: Technical / Scripting
Topic: Regex on Arrays
Replies: 6
Views: 4290

Re: Regex on Arrays

I sometimes concat the array into one string. Then I do the RegEx on that string.
by Grovkillen
Thu Jan 25, 2018 9:00 am
Forum: Technical / Scripting
Topic: JSONParse number of strings in a branch?
Replies: 0
Views: 5910

JSONParse number of strings in a branch?

Given the example found in the help I cannot find any way of knowing how many (for example) names there is.I now need to parse until I get a blank return of the parse. Is there a way of getting the JSON path logically? Or is a enhancement command "JSONpath" needed? I guess the same goes with XML. /*...
by Grovkillen
Fri Jan 05, 2018 8:54 am
Forum: Technical / Scripting
Topic: Can exes make log files
Replies: 8
Views: 10531

Re: Can exes make log files

This is truly a hidden gem of MS.

Thanks Marcus for finding this for me (trust me I did search the forum...) :roll: :D
by Grovkillen
Tue Jan 02, 2018 1:53 pm
Forum: Scripts and Tips
Topic: ESP Easy Flasher (built with MS)
Replies: 0
Views: 8265

ESP Easy Flasher (built with MS)

Just thought I'd inform the community which taught me to script :) that I have now made this application wrapper to flash ESP8266 microcontrollers:

https://github.com/Grovkillen/ESP_Easy_Flasher
cron
Sign up to our newsletter for free automation tips, tricks & discounts