Bug in MacroScheduler core? WIN_USEHANDLE cannot be changed.

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
rblack
Pro Scripter
Posts: 87
Joined: Sat Dec 22, 2007 12:39 pm

Bug in MacroScheduler core? WIN_USEHANDLE cannot be changed.

Post by rblack » Thu Sep 17, 2015 2:05 pm

Im changing the USEHANDLE in Subrutine. When im changing it first time - it works. When the subrutine is executing the second time to open te same windows i cannot change the USE_WINHANDLE parameter. Why is the WIN_USEHANDLE locked to change the value? :shock:

Image

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

Re: Bug in MacroScheduler core? WIN_USEHANDLE cannot be chan

Post by Marcus Tettmar » Thu Sep 17, 2015 2:25 pm

Hi,

I'm not sure I understand. Perhaps you can share your code. This little test below works as expected:

Code: Select all

Let>WIN_USEHANDLE=0
GoSub>test

GoSub>test

GoSub>test

SRT>test
  If>WIN_USEHANDLE=0
    Let>WIN_USEHANDLE=1
  Else
    Let>WIN_USEHANDLE=0
  Endif
END>test
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

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

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