Search found 7 matches

by IRedsell
Mon Sep 29, 2008 8:04 am
Forum: Technical / Scripting
Topic: stringreplace
Replies: 9
Views: 8467

Fixed!

Marcus

Firstly, the support from this forum is exceptional in terms of speed and accuracy.

Secondly your last troubleshooting / debugging guide has allowed me to find the fault instantly.

Terrific product, thank you
Ian
by IRedsell
Mon Sep 29, 2008 7:41 am
Forum: Technical / Scripting
Topic: stringreplace
Replies: 9
Views: 8467

String Replace

Gents Thank you for clearing the undergrowth in the woods and thanks for all of your help, I do appreciate it, I don't understand the phrase from Marcus about setting the empty string null to zero though. From my understanding a variable can be a string or a numeric or a null is there an implied def...
by IRedsell
Sun Sep 28, 2008 3:55 pm
Forum: Technical / Scripting
Topic: stringreplace
Replies: 9
Views: 8467

String Replace

Marcus Thanks for your response, yes you are quite correct in your example which I have run with success, however in my application I start off with username having the following in it ADMIN // note the spaces in the original when I run the following code StringReplace>username,,,username I get in t...
by IRedsell
Sun Sep 28, 2008 8:51 am
Forum: Technical / Scripting
Topic: stringreplace
Replies: 9
Views: 8467

Thanks

Bob Thank you, however originally I tried StringReplace>user,UserLogon,,user The result was it only replaced one instance for each code line It also left a zero instead of a null The XML is read in from a file. Essentially the line to change is let>user=Ian The result of the instruction above is use...
by IRedsell
Sat Sep 27, 2008 2:56 pm
Forum: Technical / Scripting
Topic: stringreplace
Replies: 9
Views: 8467

stringreplace

I am trying to remove some XML tags from a string so my code looks like this StringReplace>username,,,result1 StringReplace>result1,, ,result2 let>username=%result2% I noted a couple of things - 1. Stringreplace does not seem to work on multiple finds ie does not replace each find within the string ...
by IRedsell
Mon Nov 13, 2006 6:11 pm
Forum: Technical / Scripting
Topic: Trap a mouse click
Replies: 2
Views: 4208

Thanks

Marcus Thanks, I have just read through the web and discovered your answer, thanks for the fast feedback and the incredibly powerful tool. Its a joy to work with..... :P
by IRedsell
Mon Nov 13, 2006 5:57 pm
Forum: Technical / Scripting
Topic: Trap a mouse click
Replies: 2
Views: 4208

Trap a mouse click

I am writing a macro that is working with Autocad as those who are familiar with it there is a challenge in working within 2 windows. I want to be able to recognise when the user clicks their mouse, I have tried working around this using the new image collection tool, but this take a long time and t...
Sign up to our newsletter for free automation tips, tricks & discounts