VoxCommando

New Features and Feature Requests => Feature Requests => Topic started by: Haddood on March 30, 2016, 09:00:15 PM

Title: storing errors in a variable
Post by: Haddood on March 30, 2016, 09:00:15 PM
based on this:
http://voxcommando.com/forum/index.php?topic=2552.0;topicseen

how about a variable {LastError} or something similar that give us access to the last error ... or copying the error to {LastResult}, or any other solution that you see fit

this will give us the chance to trigger events trying to remedy the problem ...

quick example, scrape something on local host, unable to connect to remote server, is an indication that The server might not be running ... try to launch it ...etc.
Title: Re: storing errors in a variable
Post by: nime5ter on March 31, 2016, 01:04:24 AM
http://voxcommando.com/mediawiki/index.php?title=Logic_Block#LastActionSuccess
Title: Re: storing errors in a variable
Post by: Haddood on March 31, 2016, 03:50:22 AM
Nim5ter, I am aware of that ... Storing the error complement this ... And same command can return different errors which entails different actions ....
Title: Re: storing errors in a variable
Post by: jitterjames on March 31, 2016, 09:53:56 AM
Based on the quick example you described the existing tools are sufficient.

Anyway this is a reasonable request and can probably be implemented without too many tears.
Title: Re: storing errors in a variable
Post by: Haddood on March 31, 2016, 10:28:59 PM
Based on the quick example you described the existing tools are sufficient.

Anyway this is a reasonable request and can probably be implemented without too many tears.

that is great news ... now I will ask in help on how to use the current tools :)
Title: Re: storing errors in a variable
Post by: jitterjames on April 03, 2016, 12:43:02 PM
I've added the {LastInfo} variable in 2.2.1.7

http://voxcommando.com/mediawiki/index.php?title=ChangeLog#Version_2.2.1.7
Title: Re: storing errors in a variable
Post by: Haddood on April 03, 2016, 06:39:03 PM
James, u r the real terminator !!! ... Never cease giving best support ever !!!
Tx