HOME VIDEO LIBRARY ALEXA PC APP CONTROL PAGES

ASC Application Instructions

version-2.02
CONTACT
Action buttons:  Phrases, URL’s, PC Apps or Key sequences HIde Application: Minimize application to system tray Phrases list: Used to activate URL’s, Apps or Key sequences Phrases used: Shows phrases used as you scroll through each action Buttons to edit & create new phrases & actions Alexa app: Optionally used to confirm what’s heard Manual Entry: Launch actions by typing what Alexa heard UserKey: Connect application to Alexa output
General screen layout
Launching URL’s & Webpages
List of URL’s created so far Requested Window size and position in pixels Controlling other browsers on other devices - first 3 built in browsers Add pause before or after launch, 1000 = 1 Second Access to built-in webserver
Your first task would be to create at least one ‘Phrase’. This would be one or more words that the system listens for and if heard will then launch an action. An action might be launching a URL or webpage, starting a PC application or controlling the mouse clicks and menu selections of an already open PC application. So a phrase of ‘do banking’ might be attached to several actions, open my bank login page, open a calculator, open my statements spreadsheet and print the last one I used. All possible just by saying ‘do banking’ to any of your Alexa devices. With the screen how it is, (First action button clicked (1) ), click the ‘Create’ button in (5) and type in a few words. Save changes and your phrase should appear in the list on the upper left of the screen. Each phrase that you type must be somewhere within what Alexa hears in order to trigger an action. You may need to use more than one phrase to cover all possibilities for example, you might say ‘pool table’ but Alexa may consistently hear ‘Paul table’ so you could use both as two phrases or spend more time training Alexa. Repeat this process to create a list of phrases to listen for.
Access this screen from the second button at the top. Click ‘Create’ and type in a new URL (Web address) and then click ‘Save’. The popup will close and your new URL will be pre-selected. Optionally choose a position for your browser Window (2) which could include negative values allowing for extended multiple monitors. Optionally choose a width and height (2).  The first 3 of the small checkboxes (3) relate to built in browsers that are basically IE wrapped. The other checkboxes refer to browsers on any device on your network. Having one ticked means that the triggered content will be made available for those browsers to pick up and display the content or send control commands back to this app. You can also add a pause (4) just before the browser is launched or just after. This is useful where you have several applications being triggered and you need to leave ‘Time’ for them to fully load before issuing the next command. The webserver (5) functionality will be explained separately. You need to tick the checkbox against at least one Phrase from the phrases list to tie it against your URL. When that phrase forms part of what was heard, your URL will be launched. When you type in your URL you can optionally use the word [SEARCH] or [SEARCH+],  [SEARCH_],  [SEARCH%] in place of the search part of the URL. When the URL is launched these words will be replaced with what was heard (Less the phrase) e.g. URL = ‘www.mysupermarket.com?query=[SEARCH+]’ and what was heard was ‘Search stores for Red Wine’ means that the [SEARCH+] would strip out the phrase portion ‘Search stores for’ and pass the remainder to the right of the phrase to the URL ‘Red Wine’ because this one had the ‘+’ character on the end all spaces would be replaced with ‘+’, ‘Red+Wine’ which is what that particular URL was expecting. Simply search your chosen URL first with at least two search words and check in the browser address bar to see  how spaces were handled and choose the appropriate character for your [SEARCH].
Launching PC Applications
List of App launching ‘Routine’ names created so far Application details and parameters Requested Window size and position in pixels Passing information to other browsers Add pause before or after launch, 1000 = 1 Second
Access this screen from the third button at the top. Click ‘Create’ and type in a name to remind you about this ‘Routine’ e.g. ‘Banking’, this is simply a name which plays no part in the actual launching of an app. Click ‘Save’ and your new name will be pre-selected in the list of other app launching routines (1). Enter the path to the applications executable file or path to shortcut (2). You can then also include parameters if you wish. The Window name is displayed usually top left or center when an application is launched and often includes the file or documents name that has been opened. This can be left blank & will be covered in more detail separately. Optionally choose a position for your browser Window (3) which could include negative values allowing for extended multiple monitors. Optionally choose a width and height (3).  The small checkboxes (4) allow for what was heard to be passed to other browsers on your network, mobile phone browsers, tablets, laptops etc which may then trigger other things to happen on those devices. You can also add a pause (5) just before the application is launched or just after. This is useful where you have several applications being triggered and you need to leave ‘Time’ for them to fully load before issuing the next command. You need to tick the checkbox against at least one Phrase from the phrases list to tie it against your App launching routine. When that phrase forms part of what was heard, your application routine will be launched.
Launching ‘Key’ sequences
List of Key sequence ‘Routine’ names created so far Choice of ‘Key’ functions to include Key sequence steps you have built so far for this routine Controls for Mouse capture Passing information to other browsers
Access this screen from the fourth button at the top. Click ‘Create’ and type in a name to remind you about this ‘Routine’ e.g. ‘Excel statements’, this is simply a name which plays no part in the actual launching of a Key sequence. Click ‘Save’ and your new name will be pre-selected in the list of other Key sequence launching routines (1).  The sequence panel (3) is the full set of actions that you want to be carried out when this sequence is launched. This includes mouse clicks, typing, menu selections and more. It is not recommended to set a sequence to click a ShortCut icon from your desktop as these can move and things can get in the way. As an example we’re going to open the Windows ‘Calculator’ without knowing anything about the application or where it sits within the Windows system. We’re going to call it up in an automated way, as though you had actually moved the mouse and done this yourself. To start with we’re going to need to click the Windows Search box to find the calculator app. To do this, click the ‘Single’ button (4) which means ‘Single click please’, move the mouse over the search but ‘DO NOT CLICK IT’, instead just hold the mouse still and press ‘Enter’. The co-ordinates of where the mouse is and a code that represents a mouse click will then appear in your sequence panel (3). What we might need next is a slight pause of half a second to give the computer time to actually open the search screen the same as if you click it. To add a ‘Pause’ drop down the list of sequence commands (2) and select ‘Pause’.  This will insert a comma followed by the text ‘Pause+?’. You now simply overtype the ? with your own value where 1000 = 1 second. So type 500 replacing the character ‘?’. Next we need to type ‘Calculator’ so drop down the sequence commands (2) and select ‘Typed text’ which will insert a comma followed by ‘(...)’ just replace the 3 dots with ‘Calculator’. Then add another pause of 500. Finally we need to sequence in the ‘Enter’ key being pressed. Drop down the sequence command list (2) and select ‘Enter’.  Attach at least one ‘Phrase’ from the phrases list and then click ‘Save’. Click the small ‘Test’ button but then don’t move the mouse. Your sequence should then be played out. If all is well your sequence will be activated whenever your selected phrases are heard.
Alexa speech Configurator App V2.02
We’re about to fly
Basics:
This is an application that you install onto a Windows PC. It has been tested on Win7 upwards. You can install it on multiple PC’s on your home network, commercial users should get in touch. Its primary function is to automate the launching of URL’s, PC applications and running Key sequences within other applications. It also has a built in Webserver that works standalone and enables you to host selected web pages across your entire home network that are simply called up by any device that has a browser. That device can then also use the same webpage to send commands back to your PC where various functions are triggered. For example: You might create your own smart switch status screen to monitor all of your smart switches which will appear on old redundant tablets re-utilised around the house. The Web server doesn’t need Internet and doesn’t need cloud services, it also makes a useful drop-back for when Alexa or cloud service is down. The application has 4 methods of activation. Directly from the ASC server (most functionality), Directly from the Alexa app by reading what was heard from the Alexa app history page, From other devices utilising the built in Web server and from manually typing into the application screen. Selected HTML webserver control screens will be available as open-source where you can create your own control whilst still communicating back to the main PC. 
At the point of trying to connect your Alexa devices to the ASC PC application it is assumed that you have a fully working skill that has been successfully tested as suggested on the Skill building page. Please note that if your skill was built for V2.0 then it will need re-building because of code changes. Launch your skill and say ‘A new update code’ and this should be automatically generated (1) and written to your Alexa app home page. Copy the code and then go to the Alexa uploads page above, Paste it into the ‘update code’ edit box and click ‘Load’. In the UserKey box also on the uploads page, invent a code of your own that is at least 20 characters long. You can create a new key whenever you wish. Click update and that key will be used to connect all of your Alexa devices to your different ASC applications. Simply paste the code into the ‘Key’ box (2) in the app. That is all you need to do to create the connection.
Connecting Alexa to the ASC app
Trouble shooting
I can’t see all of the buttons: Right click desktop, select display settings and confirm that ‘Scaling’ is set to 100% or Right click apps shortcut, properties, compatibility, Set High DPI Settings, tick both checkboxes, Ok, Apply

ASC Application Instructions

Menu