- 
                Notifications
    
You must be signed in to change notification settings  - Fork 365
 
Open
Description
How can we create Regex commands with wildcard? Like:
artyom.addCommands({
    smart:true,
    indexes: [/Open Screen */i, new RegExp("Name *", "i")],
    action: function(i){
        if(i === 1) {
            artyom.say("Screen "+ wildcard + " Open);
        } if (i === 2) {
            document.getElementById('nameInput').value = wildcard;
        }
    }
});
Metadata
Metadata
Assignees
Labels
No labels