Intelligent Automation & Macro Software  

Go Back   Automation Anywhere, Inc. Forums > Products Zone > Automation Anywhere
Register FAQ Search Today's Posts Mark Forums Read

Automation Anywhere Post messages and questions related to Automation Software here.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-02-2008, 04:22 PM
kylepyro kylepyro is offline
Junior Member
 
Join Date: Nov 2008
Posts: 28
Default Keyboard Problem

I've distributed a one line task (A) as an exe that runs another task (B) continuously. Task A simulates a folder trigger which can't be distrbuted and B does the actual work.

The combination of these two task seem to be interferring with the keyboard and user can't type information correctly. If they press caps lock it will type normally for a few characters and then "unpress" itself. I can recreate this condition on my own machine where AA is installed.

What I'm observing is that I can press caps lock and get caps for a few letters and then the kb reverts to caps lock not being depressed regardless of the physical state of the key. This produces strings like this - KKkkkk. There is no change in the physical state of the key.

This condition occurs both inside the prompt windows of my task and inside applications like notepad while task A is running. I observe similar behavior with the shift key as well. The condition clears immediately whenever I end the task or kill the exe's. I can recreate this running both the exe's and running the tasks natively inside AA itself.

Each iteration of task b contains a 500ms delay regardless of whether their is any work to perform or not. Task B automates a routine clerical function done many times a day so I'm trying to eliminate having to load the exe every time its needed.

Any ideas?

Reply With Quote
  #2 (permalink)  
Old 12-02-2008, 09:11 PM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

If you wish to enter your text in uppercase always then use Shift keys like this,

Keystrokes: [SHIFT DOWN]abcd[SHIFT UP][ENTER] in "Untitled - Notepad"

It will enter abcd in uppercase always regardless of CAPS LOCK status on keyboard.

If it does not help, please upload your task so that we can look into it.

You can locate your task by selecting your task from Task List, right clicking that particular task and selecting 'Locate on disk' from context menu. Otherwise, you can also send text format of task. For that, open your task in a Task Editor, go to Tools->Save as text file and send this text file.

It would help us investigate further.
Reply With Quote
  #3 (permalink)  
Old 12-03-2008, 06:43 AM
kylepyro kylepyro is offline
Junior Member
 
Join Date: Nov 2008
Posts: 28
Default Keyboard Problem

I understand the proper function of caps lock and shift. I am not trying to manipulate those keys in my script. I'm saying that the exe files created by AA are interfering with the proper function of those keys.

I've attached task a and b as well as a csv in zip form that is used by task b so you can see what going on. Task A is InsuranceDriver. Task B is Insurance Cert Rename.

I conducted two experiments after my post. 1st I lengthed the delay at the bottom of task b to 3000 ms from 500 ms and you could see the caps lock remained locked longer, but it still unlocked itself. 2nd, on my own machine I set up a folder trigger that fires the task b atmn script. Under this configuration, the keyboard functions normally, so there is something about the run task command in task a that is driving this problem.

Attached Files
File Type: atmn Insurance Cert Rename.atmn (9.5 KB, 2 views)
File Type: atmn InsuranceDriver.atmn (214 Bytes, 1 views)
File Type: zip Standard_Path.zip (265 Bytes, 2 views)
Reply With Quote
  #4 (permalink)  
Old 12-18-2008, 04:53 PM
kylepyro kylepyro is offline
Junior Member
 
Join Date: Nov 2008
Posts: 28
Cool Caps Lock Solved

So, if anyone is reading this I did eventually figure this out. Whenever an AA EXE runs it appears to "restore" the keyboard to the original state when the script was first recorded. (Something to keep in mind if your planning to use keystrokes in a script.) This process was using a two step method to emulate a trigger and the inner EXE was resetting the keyboard state, thus unlocking the caps lock whenever it restarted.

The solution was to re-engineer the emulation of the trigger to something inside the internal exe and abandon the external exe altogether. Simple enough once you figure out what its doing.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -7. The time now is 09:24 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc.
Copyright © 2003-2011 Automation Anywhere, Inc. All rights reserved