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 11-27-2010, 04:21 PM
ZFalcon ZFalcon is offline
Junior Member
 
Join Date: Feb 2010
Posts: 12
Default Clock in Milliseconds

I am trying to record milliseconds of the current time to a variable when a certain event occurs. The variable list doesn't show a way to do this since it only includes hours, minutes, and seconds. I know the program can see milliseconds since when logging to a disk file it can time stamp down to the millisecond.

How can I make it so on a certian line "timeinmill" (a variable I created) is equal to the current fraction of a second? (such as if the time is 8:26:43.325 --- I need the variable to be 325)
Reply With Quote
  #2 (permalink)  
Old 11-29-2010, 05:13 PM
forumstaff forumstaff is offline
Senior Member
 
Join Date: Oct 2010
Posts: 521
Default

Hello,

Please find the sample task attached with the post which will return Millisecond value in a variable.

Follow below mentioned instructions to run task successfully.
1. Save MilliSecondTime.atmn at My Documents\Automation Anywhere\Automation Anywhere\My Tasks (Default Loacation).
2. Launch Automation Anywhere.
3. Select Task MilliSeconTime.atmn file from the task list and run it.
4. The Message Box will display the value of MilliSecond.
Attached Files
File Type: atmn MilliSecondTime.atmn (625 Bytes, 1 views)
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:39 PM.


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