Skip to content

Aurena Agent

Aurena Agent API

Command NameParameters (optional)CommentTested
Echo(text)Mostly useful for simple testing of the agent. Will return the text you send in. It will return "Say something!" if no text was sent.OK
GetLocalPropertydomain, nameGets the value of a local property or setting, in a certain domain/pathOK
SetLocalPropertydomain, name, valueSets a local property or setting, in a certain domain/pathOK
GetLocalFolderfolderGets a special  folder  from the client. Available folders:
Contacts, Desktop, Documents, Downloads, Favorites,
Links, Music, Pictures, SavedGames, SavedSearches,
Videos, Appdata, LocalAppdata
 
ChooseLocalFolder descriptionLets the user select a folder with a browse dialog.  
ChooseLocalFiletitle, folder, filterfolder  is string representing the path to open. If left out it will use Downloads and if set to "Default" it will open the last used folder.
filter  example: Image Files
.BMP;.JPG;**.GIF
Downloadodata, filename, (setreadonly, overwritereadonly)Download a binary stream to a local file.  odata  is the URL to the field to download. The URL can optionally be prefixed by the projection/svc, like this: "MyProjection.svc/MyEntitySet..." 
Uploadodata, filename, (removefile)Upload a file to a BLOB in an entityset record. Also supports an optional projection/svc.OK
OpenFilefilenameOpen a local file with its associated application 
DownloadAndOpenodata, filename, (setreadonly, overwritereadonly)Download and OpenFile combinedOK
DownloadAndSendodata, filename, subject, body, (setreadonly, overwritereadonly)Send a downloaded file by e-mailOK
DownloadAndPrintodata, filenamePrint a downloaded file 
DownladAndPrintToodata, filename, printer... to a named printer 
EnumeratePrinters Get all printer names 
GetPrinterInfoprinterGet printer information 
ShowBalloontitle, messageTemporary show a balloon (message) in Windows (like Windows' notifications) 
WaittimeMostly useful for testing how slow commands work 
FileExistspathCheck if a local file or folder exists. Returns the strings TRUE or FALSE.OK
RunLocalMacromainfunction, macrocode, localfilename, localpath, macroattributesRuns a VBScript macro on the local machine.OK 
RemoveCheckedOutFiledocclass, docno, docsheet, docrevRemoves a file that was previously checked out to disk