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 09-08-2009, 05:16 AM
Tom Jordan Tom Jordan is offline
Junior Member
 
Join Date: Sep 2009
Posts: 2
Default "Special Keys" coming through as key strokes in excel

I'm using two variables in a single loop, so I am using the excel command and the multiple cells option.

In my application, the variables are being used with the Keystrokes command. Everything seems to work fine if my variables only contain individual key characters, however if I try to include "Special Keys", they get converted to individual key characters and the "Special Keys" do not execute.

I am able to pass "Special Keys" using a list file. How do I pass them using excel?

Thanks for your thoughts on this.
Reply With Quote
  #2 (permalink)  
Old 09-09-2009, 12:10 AM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

You can use Excel: Get Cells command to get the special keys from an excel cell and then use loop until there is no blank row in excel. That way your task will work as expected plus you don't need to fix up the rows. The task would loop through all the available rows in spreadsheet.

The text format of commands would appear as follows,

Excel : Open Spreadsheet "C:\Book1.xls". Active Sheet: Default. Session: Default
Excel : Go to cell "A1". Session: Default
Excel : Get value of Active Cell and assign to variable "Prompt-Assignment". Session: Default
Open "notepad.exe "
Delay: (500 ms)
Keystrokes: Automation Anywhere testing[ENTER] in "Untitled - Notepad"
Delay: (500 ms)
Loop While $Prompt-Assignment$ Not Equal To ""
Keystrokes: $Prompt-Assignment$ in "Untitled - Notepad"
Delay: (500 ms)
Excel : Go to one cell right of active cell . Session: Default
Excel : Get value of Active Cell and assign to variable "Prompt-Assignment". Session: Default
Keystrokes: $Prompt-Assignment$ in "Untitled - Notepad"
Delay: (500 ms)
Excel : Go to one cell below the active cell . Session: Default
Excel : Go to beginning of the row of the active cell . Session: Default
Excel : Get value of Active Cell and assign to variable "Prompt-Assignment". Session: Default
End Loop


We have also attached a sample task for your convenience. To run this task,

. Please copy it under location, 'C:\...\My Documents\Automation Anywhere\Automation Anywhere\My Tasks' folder.
. Copy Book1.xls under C:\.

Note: Automation Anywhere 5.5 is required to run this task. You can download free version of Automation Anywhere 5.5 from our website:
Automation Anywhere - The Leading Automation Software

Hope that helps.
Attached Files
File Type: zip Sample.zip (2.0 KB, 2 views)
Reply With Quote
  #3 (permalink)  
Old 09-09-2009, 04:56 AM
Tom Jordan Tom Jordan is offline
Junior Member
 
Join Date: Sep 2009
Posts: 2
Default

This should help. Thank you for the quick reply!
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 04:01 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