Author Topic: storing errors in a variable  (Read 2141 times)

0 Members and 1 Guest are viewing this topic.

Haddood

  • $upporter
  • Hero Member
  • *****
  • Posts: 688
  • Karma: 22
    • View Profile
storing errors in a variable
« 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.
« Last Edit: March 31, 2016, 12:05:29 AM by Haddood »
When Voice command gets tough, use hand gestures

nime5ter

  • Administrator
  • Hero Member
  • *****
  • Posts: 2012
  • Karma: 61
    • View Profile
    • Getting Started with VoxCommando
TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)

Haddood

  • $upporter
  • Hero Member
  • *****
  • Posts: 688
  • Karma: 22
    • View Profile
Re: storing errors in a variable
« Reply #2 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 ....
When Voice command gets tough, use hand gestures

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7715
  • Karma: 116
    • View Profile
    • VoxCommando
Re: storing errors in a variable
« Reply #3 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.

Haddood

  • $upporter
  • Hero Member
  • *****
  • Posts: 688
  • Karma: 22
    • View Profile
Re: storing errors in a variable
« Reply #4 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 :)
When Voice command gets tough, use hand gestures

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7715
  • Karma: 116
    • View Profile
    • VoxCommando
Re: storing errors in a variable
« Reply #5 on: April 03, 2016, 12:43:02 PM »

Haddood

  • $upporter
  • Hero Member
  • *****
  • Posts: 688
  • Karma: 22
    • View Profile
Re: storing errors in a variable
« Reply #6 on: April 03, 2016, 06:39:03 PM »
James, u r the real terminator !!! ... Never cease giving best support ever !!!
Tx
When Voice command gets tough, use hand gestures