Just having problem with position>

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
ABIVEN
Pro Scripter
Posts: 71
Joined: Sun Aug 07, 2005 7:22 pm
Location: PARIS

Just having problem with position>

Post by ABIVEN » Sun Jul 24, 2016 9:32 pm

Hello

I use command pos> a lot
Suddenly I have a incomprehensible trouble : pos>f,winv,1,result returns always 0 as result
f is a substring of 12 figures and winv a string of 900 000 figures ( and sure f is in the string)

I tried the following little test macro:
GetClipBoard>string
let>f=899168754213
pos>f,string,1,position
mdl>position=%position%

And it works well! Any idea ?


Regards

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: Just having problem with position>

Post by Marcus Tettmar » Mon Jul 25, 2016 1:27 pm

Hi,

Without the actual code and the data to test with it's impossible to see what might be wrong.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

ABIVEN
Pro Scripter
Posts: 71
Joined: Sun Aug 07, 2005 7:22 pm
Location: PARIS

Re: Just having problem with position> [resolved ...perhaps]

Post by ABIVEN » Mon Jul 25, 2016 4:05 pm

Thanks Marcus and...

I quite understand ; but sometimes sby may encounter a similar trouble ;

The lines for pos> have been unchanged since a previous macro which worked very well

Perhaps in that particular case the macro has to be slowed down

I will see and will keep you in the loop --> no more pb but ... why ? no feedback therefore

Regards

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts