Search found 1024 matches

by Grovkillen
Thu Jul 22, 2021 10:06 am
Forum: Technical / Scripting
Topic: Assigned command not working on dynamic variable names?
Replies: 5
Views: 3962

Assigned command not working on dynamic variable names?

Let>VAR_1=hello Let>VAR_2=bye Assigned>hello_bye,TEST //TEST=FALSE Assigned>%VAR_1%_%VAR_2%,TEST //TEST=FALSE Let>%VAR_1%_%VAR_2%=Ok Assigned>hello_bye,TEST //TEST=TRUE Assigned>%VAR_1%_%VAR_2%,TEST //TEST=FALSE .... was expecting TRUE for one of these syntaxes... Assigned>{%VAR_1%_%VAR_2%},TEST //...
by Grovkillen
Thu Jul 22, 2021 8:49 am
Forum: General Discussion
Topic: Release notes for 15.0.19?
Replies: 7
Views: 13147

Re: Release notes for 15.0.19?

Thanks!
by Grovkillen
Thu Jul 22, 2021 8:00 am
Forum: Technical / Scripting
Topic: Issue when pasting into MS Editor
Replies: 16
Views: 11738

Re: Issue when pasting into MS Editor

Just a feedback, problem is still present in the 15.0.19b version.
by Grovkillen
Thu Jul 22, 2021 5:41 am
Forum: General Discussion
Topic: Release notes for 15.0.19?
Replies: 7
Views: 13147

Re: Release notes for 15.0.19?

Could someone add some info about this?
by Grovkillen
Tue Jul 20, 2021 6:50 pm
Forum: Technical / Scripting
Topic: CreateDir with variables?
Replies: 3
Views: 2878

Re: CreateDir with variables?

Glad to be able to help.
by Grovkillen
Tue Jul 20, 2021 6:42 pm
Forum: Technical / Scripting
Topic: CreateDir with variables?
Replies: 3
Views: 2878

Re: CreateDir with variables?

You can use the CopyFolder> command and then the DeleteFolder> to "rename" a folder... but, I cannot understand why the script wouldn't take those variable in the name... are you sure they are set? Use the **BREAKPOINT** just before the CreateDir> and look in the variable "watch list". You could als...
by Grovkillen
Tue Jul 20, 2021 10:20 am
Forum: Beginners
Topic: Use the newly opened browser tab
Replies: 2
Views: 10327

Re: Use the newly opened browser tab

A word of wisdom: NEVER USE TABS FOR AUTOMATION! The way that the browser is using tabs is a hack which is triggering to redraw the window when a user select a new tab. As far as Window is concerned there are no tabs. If you look in the "View System Windows" and use the crossbar to select a Chrome w...
by Grovkillen
Mon Jul 19, 2021 8:23 pm
Forum: General Discussion
Topic: Release notes for 15.0.19?
Replies: 7
Views: 13147

Release notes for 15.0.19?

I got the great news about a new release in my mail today, but I cannot find the release info: https://help.mjtnet.com/article/222-version-history
by Grovkillen
Tue Jul 13, 2021 4:05 pm
Forum: Enhancement Suggestions
Topic: RegEx replace match [UNDOCUMENTED FEATURE?]
Replies: 9
Views: 28421

Re: RegEx replace match [UNDOCUMENTED FEATURE?]

As an example of a really powerful way of adding strings INBETWEEN two capturing groups: LabelToVar>text_string,text_string,1,1,*/ RegEx>(Grovkillen|Allan)(!),text_string,0,,,1,$1..ABC123..$2,text_string_2 MDL>text_string_2 /* text_string: Are you Allan? Allan!? My name is Grovkillen! Aha, Grovkille...
by Grovkillen
Tue Jul 13, 2021 3:55 pm
Forum: Enhancement Suggestions
Topic: RegEx replace match [UNDOCUMENTED FEATURE?]
Replies: 9
Views: 28421

Re: RegEx replace match

I have now read up on the regex syntax and my previous pattern didn't include a capturing group. I.e. this (?<!\\)[&%$#\{\}~^] needed to be this (?<!\\) ( [&%$#\{\}~^] ) LabelToVar>test_string,test_string,1,1,*/ RegEx>(?<!\\)([&%$#\{\}~^]),test_string,0,,,1,\\$1,test_string_2 MDL>test_string_2 /* te...
by Grovkillen
Mon Jul 12, 2021 5:27 pm
Forum: Enhancement Suggestions
Topic: RegEx replace match [UNDOCUMENTED FEATURE?]
Replies: 9
Views: 28421

Re: RegEx replace match

I see now that the replace part of regex does in fact allow for regex syntax: LabelToVar>test_string,test_string,1,1,*/ RegEx>(?<!\\)[&%$#\{\}~^],test_string,0,,,1,\test,test_string_2 RegEx>(?<!\\)[&%$#\{\}~^],test_string,0,,,1,\\test,test_string_3 RegEx>(?<!\\)[&%$#\{\}~^],test_string,0,,,1,\r,test...
by Grovkillen
Mon Jul 12, 2021 3:36 pm
Forum: Enhancement Suggestions
Topic: RegEx replace match [UNDOCUMENTED FEATURE?]
Replies: 9
Views: 28421

RegEx replace match [UNDOCUMENTED FEATURE?]

I have a script which is searching through all my source code and compile the documentation based on a LaTeX syntax. In the source code my comments follow a syntax which makes it fairly straight forward to parse it. BUT, if I want to have a function that makes sure I haven't got any UN-escaped LaTeX...
by Grovkillen
Sun Jul 04, 2021 2:14 pm
Forum: Technical / Scripting
Topic: How to open links in two diffrent browsers?
Replies: 8
Views: 4568

Re: How to open links in two diffrent browsers?

Use a command line switch together with the Run> command.

Code: Select all

start microsoft-edge:http://www.cnn.com
by Grovkillen
Thu Jun 10, 2021 10:18 am
Forum: Scripts and Tips
Topic: VB code to create a link file
Replies: 5
Views: 20984

Re: VB code to create a link file

An updated version: VBSTART Function LinkFile(LinkFolder, TargetPath, LinkName, IconPath) Set WShell = CreateObject("WScript.Shell") LinkFile = WShell.SpecialFolders(LinkFolder) Set oShellLink = CreateObject("WScript.Shell").CreateShortcut(LinkFile & "\" & LinkName & ".lnk") oShellLink.WorkingDirect...
Sign up to our newsletter for free automation tips, tricks & discounts