FAQ

From LINKS - Documentation
Jump to navigation Jump to search


How do I reset LINKS files for reinstall?

  • Uninstall LINKS
  • Press Windows Key + r
  • type %APPDATA%\..\Local\Apps
  • Rename or delete 2.0 folder
  • Follow "How do I delete all LINKS data?"
  • Install LINKS

How do I delete all LINKS data?

What is the difference between hard and soft listening mode?

  • Hard Listening Mode
    Hard listening mode is enabled or disabled by using the orange button.
    It allows you, the user, to make LINKS stop listening to all commands.
  • Stop Listening Mode
    Stop listening mode can be enabled by voice, by saying the "Stop listening" command.
    It makes LINKS to stop listening to all command except the "Start listening" default commands.

Note: "Start listening" command can be modified or added in default commands tab under customize window.

How do I make listen to LINKS variable speech?

  • You can use Cortana plugin or Windows Speech Recognition to interact with your scripts or other plugins.
  • For example, if you have a script that takes 1 argument called “Search.vbs”, add command in shell as follows:
    Command: Links, answer this.
    Response: (leave this blank)
    Action: Search "[Cortana.LDictation.GetDictation("Ask away sir?","show_ui")]"
  • Another action example would be like this:
    Action: [LINKS.WebSearch.bingQuery("[Cortana.LDictation.GetDictation("What For Sir?","show_ui")]","sorry, I can not locate that")]
    This sends text received from Cortana to another plugin.

Be sure to use exact syntax to make it work. Do not forget the quotes.

Can I use Cortana on windows 7 or 8.1?

  • No, it’s only compatible with windows 10.

Is Cortana always listening?

  • No, it only listens when you call a Cortana command.

How do I wake-up windows default Cortana?

  • In keyboard section, add a command as follows:
    Command: wake up Cortana
    Response: sure
    Macro: {WIN_DOWN}C{WIN_UP}

How do I issue a shutdown command to safely close LINKS and save my Databases?

  • Call shutdown command, as you specify in default commands.
    Default command is “Goodbye”
    To confirm the shutdown command say "Affirmative" or "Yes {AIName}"

Note: Where AIName is what's specified under settings i.e. "JARVIS"

How do I make LINKS say random responses?

  • Just separate the phrases with semicolon.
    For example:
    Response: goodbye sir;initiating shutdown protocols sir;farewell sir;until next time sir

Mic problem or LINKS listening to unspoken commands?

  • Close LINKS
  • Monitor your mic level by opening your microphone level settings from sounds under control panel or the sound tray icon.
  • Open microphone setup wizard:
    • Press Windows Key + r, type the following:
      • %WINDIR%\System32\speech\speechux\SpeechUXWiz.exe MicTraining
    • Press Enter
    • Go next in wizard.
    • Watch the mic level, while yelling or tapping into microphone. Note: You don’t have to read the displayed text.
    • Make the level go about 50% or as low as desired.
    • Test LINKS with couple different volume levels with trial and error. You can go as low as 1% mic level under certain conditions.

How do I add comments in my commands

  • In the beginning of the command Add
    • Example:
    • Command: Say hello to {f=friendList}
    • Response: hello {f}

Should you wish to see additional data relative to the mic problem, please visit this link: [1]

How do I un-train LINKS's speech recognition

Open the Control Panel, All Control Panel Items, where it shows the list for you to adjust your computer’s settings.

Click on Speech Recognition

Under Control Panel Home (left side of screen), click on Advanced Speech Options

In the second block, Recognition Profiles, click on New.

It will bring you to” Add a profile” window.

Following the example, assign a new profile name, and press enter.

This will bring you to the microphone setup wizard.

Choose the mic for your system, then follow all instructions accordingly.


How do I play a custom sound using voice command?

Copy your sound file in "%appdata%\LINKS\Customization\Sound Effects\"

For this example, the wav file name is “Glados_Hello.wav”

Note: It only supports .wav files

In social tab, add this command as an example:

Command: hey glados

Response: [PlaySound("Glados_Hello")


How do I add confirmation to a command?

In shell tab, add a command as follows:

Command: Shutdown my computer

Response: Are you sure you want to shutdown the computer?|Shutting system down

Action: -conShutdown -s -t 10


How do make a pause between keyboard command?

{WAIT:millisecond}

Following example will type H then wait 1 second then type ello.

H{WAIT:1000}ello

Some more commands:

{WIN_UP}

{WIN_DOWN}


Why is the Fly-out menu not working?

Antivirus deleting a required file.


LINKS doesn't listen to me after x amount of time

Enable Auto Reset from settings window. And change auto reset settings to x amount of minutes.


How do I reset the database to its default?

Close LINKS

Hit windows + r key

Type %AppData%\LINKS\Data\

Enter

Delete these files if they exist

_Grammar_v1.mdf

_Grammar_v1_log.ldf

Restart LINKS


How do i revert to an older backup?

Follow database reset process.

Goto LINKS\Data\Backups folder

Copy any of the files from there.

Paste it in LINKS\Data\ folder and rename to _Grammar_v1.mdf

Start LINKS


What is Auto Sleep in speech recognition setting?

Enabling Auto Sleep makes LINKS goto soft stop listening mode.

You can then bring him back by calling any of the "start listening" default commands.

Note: After LINKS accepts each command the time resets back to x seconds so you can call more commands.


What is Auto Reset?

Enabling Auto Reset makes LINKS reset the recognition after x amount of time. Some users’ needs require this automatic action when they use LINKS for long period of time; when LINKS tends to stop listening.


What is Push To Talk?

Allows user to use right control key to enable recognition.

User can hold the key as long as they want to speak the command.

When user releases the key LINKS will go into hard stop listening mode.


Can I edit the function column in default commands under customize window?

It is a best practice not to alter the functions column of the default commands tab.

However, it is acceptable to remove full command rows or add additional command rows with alternate key phrases that call the same default action.

For example:

command: stop Listening.

function: stop listening

Can be duplicated as:

command: I'm on the phone LINKS.

function: stop listening


Can I add variable\dynamic commands (wordlist)?

Yes, see the example below:

Create a text file, with 2 tab delimited columns with headers as follows:

speech \t converted value

milk \t milk

bread \t x brand large bread

detergent \t y brand liquid

Note: For viewing purposes ‘\t’ is used in place of TAB. Save the text file as %AppData%\LINKS\Data\WordList\thing to buy.txt

Make a command in shell as follows:

command: add {thing=thing to buy} to the shopping list

response: are you sure you want to add {{thing}} to the shopping list?|{{thing}} added to the shopping list

action: -con"%windir%\System32\cmd.exe" /m /c "echo {{thing}} >> %temp%\ShoppingList.txt" Another command:

Command: calculate {FirstNumber=number.txt} {FirstOperator=math_operator.txt} {SecondNumber=number.txt} and {SecondOperator=math_operator.txt} by {ThirdNumber=number.txt} Response: you said {FirstNumber} {FirstOperator} {SecondNumber} and {SecondOperator} by {ThirdNumber}, calculating {{FirstNumber}} {FirstOperator} {{SecondNumber}} and {SecondOperator} by {{ThirdNumber}}

Action: ping Note: .txt is not required when defining the WordList.


Can I set/get variables in commands?

Yes, by using Get, Set functions.

Make 2 commands:

Command1: hey {ai=ainame}

Response1: [SetSpeechVoice("{{ai}}")]Hello [get_SirOrMadam] - [Set("AIName","{ai}")][Set("AIValue","{{ai}}")]

Note: this command will change the voice to specified voice from WordList

Command2: what is your voice set to?

Response2: My name is [Get("AIName")], and my voice is set to [Get("AIValue")]

Note: this command will repeat the AIName and AIValue you set in previous command.


Can I set a delayed command ?

Yes, by using SetTask function that would call the delay command.

Make 2 shell commands:

Command1: 00000001_DelayedCommand (Can be anything that should not get recognized)

Response2: opening notepad

Action1: notepad Command2: test delayed command

Response: Sure, will open notepad in 10 seconds

Action2:-fun[SetTask("[DateAdd("","sec", "10")]","about to execute notepad","100","00000001_DelayedCommand")]

How to manage the exported database/list of commands?

When trying to import a list of commands be sure to remove any id column that might be in the file.

Make sure the file is a tab delimited .txt format.


How should I use command line apps?

You can now run console apps in LINKS of any format from shell commands.

Java ,VBS , batch and any other console based app are compatible.

LINKS will execute the command line app and read the output of the app.


Example:


Java:

Command : run my java command

Response: \o!Action!\c

Action: -ret"java" -cp "%AppData%\LINKS\Customization\Scripts\;" test_java{d}

Note: Make sure to compile the class first before execution the java command. i.e, javac test_java.java


VBS:

Command : run my vbs command

Response: \o!Action!\c

Action:-ret"CScript" VBS_Test.vbs


Batch:

Command : run my batch command

Response: \o!Action!\c

Action:-retBatch_Test.bat