A press/release question

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
sirjober
Newbie
Posts: 3
Joined: Fri Feb 03, 2006 11:23 am

A press/release question

Post by sirjober » Fri Feb 03, 2006 11:28 am

Can I possibly do a Smooth Press Left and then a "release left"? I can't do a loop because it crashes my program. Should be like holding shift then releasing on wait time, not dotleft dotleft dotleft...if you follow?

User avatar
JRL
Automation Wizard
Posts: 3501
Joined: Mon Jan 10, 2005 6:22 pm
Location: Iowa

Post by JRL » Fri Feb 03, 2006 1:52 pm


sirjober
Newbie
Posts: 3
Joined: Fri Feb 03, 2006 11:23 am

Post by sirjober » Sat Feb 04, 2006 4:19 pm

:!: :shock: :?:

It is all very interesting the many ways that you can simulate a keypress, but it isn't working for me either.

I am trying to control the movement of my character in a game called World of Earcraft, I have tried many methods to try making my character turn a full 180 degrees but unsuccessfuly.

The 'loop x,x=x+1 untill x=number', simply crashes the program. I tried inserting a 'wait>0.1' in each loop to prevent flooding and it "works" in a sense that the character turns pixel per pixel for a LONG period of time; which isn't what i'm trying to accomplish.

I'm also a beginner in programming so I cannot apply the method stated by Support, it simply does nothing to the program.

Any suggestions? :?

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

Post by Marcus Tettmar » Sat Feb 04, 2006 5:14 pm

Games often don't work like Windows applications and use lower level keyboard handlers. So you may not be able to achieve what you want to achieve.
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