Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Daniel

Pages: 1 [2]
16
Oh, nice. This is pretty useful. However, I would say that it would still be a nice feature to have this under the OSD options. Writing this line into every command could be tedious work, and then if you changed your mind later on and had to change them back. I don't know if it is possible to have an event that intercepts all OSD notifications and converts them into this. Just a check box or something in the options would be cool.

17
I just thought of another feature that I think could be useful. Have options to use the Windows Toast notifications instead of the OSD. The OSD takes focus so it will minimizes full screen apps. Depending on how the app handles losing focus. Windows toasts don't do that and can be controlled in the windows settings to stay quiet while doing certain things.

18
I had  a few ideas and thought I would put them in one thread rather than create separate threads.

1. GetColorPixel Action: The ability to get the color information from a designated pixel on the screen. This combined with the use of logic blocks would allow commands to only work in very specific scenarios. (e.g. I can have it where commands would only work on the Title Screen of a given app)

2. Custom Tray Icon + Overlay: Not to criticize the designers artistic choices but It would be nice if it was possible to use our own PNG or ICO files to customize the Tray Icon and Overlay. The tray icon specifically isn't the most elegant. Just a green/yellow/red square with a blur in the middle.
With the overlay, being able to use our own PNGs could customized our experiences to suit our own preferences. For example, I could make the Standby and Off overlay icon completely transparent so that I would only see the overlay if Vox was on. Or vise-versa, I would only see the icon if Vox was off.
If I had to pick one, I just want to be able to change the tray icon. I just like my taskbar to have a certain aesthetic. I actually did this with PIA a while back because PIA just grabs their icons from a sub-directory in the installation folder. I just swapped out what I wanted to change. 

3. Active Only If Process is Running: This one isn't a big deal because it can already be done using logic blocks. but similiar to how you can go into the Group Properties and limit "Active only for process" for windows that are active. Have an option to limit an action to whether or not a app is running regardless of if it has focus.

19
VoxCommando Basics and Core Features / Re: Stacking Logic Blocks?
« on: October 25, 2019, 01:15:41 PM »
1. It just doesn't work. It acknowledges my command. I even put a confirmation to make sure but it doesn't restart. I imagine it is because I just got this and am still testing it with the trial version so maybe they don't allow it to restart so conveniently to prevent people from just using the trial forever.

2. I don't have any actions in mind that would require this at the moment but it is good to know that it has the potential functionality. Like to create a loop that would stop with a certain keypress or something.

3. Bummer on this one. I like using these. I guess i could always revert to AHK if it don't exist in Vox.

20
VoxCommando Basics and Core Features / Re: Stacking Logic Blocks?
« on: October 24, 2019, 11:11:43 AM »
Thanks, nime5ter. You have been a tremendous help. I think I have all the tools I need. At least for now. I'm sure I will think of new concoctions in the future.

Before I let you go I had a couple of random inquiries that I'll just ask here rather than create new threads.

1. The VC.RestartFull action doesn't seems to work. I don't understand what I am doing wrong.
Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.2.4.7-->
<command id="67" name="Restart Vox" enabled="true" alwaysOn="False" confirm="True" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>VC.RestartFull</cmdType>
    <params />
    <cmdRepeat>1</cmdRepeat>
  </action>
  <phrase>Restart Vox</phrase>
</command>

2. Is it possible to check for a key state? Like it would check if a key is currently being pressed?

3. Is there any sort of GetColorPixel Action? It would check what color a certain pixel on the screen is?

I went through the actions and didn't really see anything like these.

21
VoxCommando Basics and Core Features / Re: Stacking Logic Blocks?
« on: October 24, 2019, 08:30:37 AM »
Trying to paste your code into Vox I get "invalid XML". I will try and go through and see if I can figure out what is in there.

edit:
Okay, I figured out why it wasn't working. the second to last line says "</command"  and is missing that ">". No worries. I'm gonna play with this now to see what you have here.

22
VoxCommando Basics and Core Features / Re: Stacking Logic Blocks?
« on: October 23, 2019, 11:51:07 PM »
I think I thought of a solution for what I was trying to do but it would require checking for multiple processes in a single logic block. Is that possible? Something like "If ProcessRunning == chrome,notepad,itunes"...

Well, let me see if I could better explain my goal using an example. Say I had a payload called GamesList.xml that just had a list of different games and there process names.

e.g.
Code: [Select]
    <payload>
        <value>r5apex</value>
        <phrase>Apex</phrase>
    </payload>
    <payload>
        <value>Tslgame</value>
        <phrase>PUBG</phrase>
    </payload>

I was hoping I could do something like "If Process Running == GamesList.xml" so that way it would check for all the processes listed in that payload. The closest I have gotten is having a payload that says

Code: [Select]
    <payload>
        <value>chrome</value>
        <phrase>Games</phrase>
    </payload>
and then the action
Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.2.4.7-->
<command id="397" name="Is Games Running" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>PayloadXML.GetValue</cmdType>
    <params>
      <param>C:\Users\7heBo\Documents\VoxCommando\payloads\GamesList.xml</param>
      <param>Games</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <if ifBlockDisabled="False" ifNot="False">
    <ifType>ProcessRunning</ifType>
    <ifParams>{LastResult}&amp;&amp;</ifParams>
    <then>
      <action>
        <cmdType>OSD.ShowText</cmdType>
        <params>
          <param>Game is running</param>
        </params>
        <cmdRepeat>1</cmdRepeat>
      </action>
    </then>
    <else>
      <action>
        <cmdType>OSD.ShowText</cmdType>
        <params>
          <param>Game is not running</param>
        </params>
        <cmdRepeat>1</cmdRepeat>
      </action>
    </else>
  </if>
  <phrase>Check Games</phrase>
</command>
All I would need is multple values set to the same phrase. something like
<value>chrome,itunes,notepad,etc...</value>
<phrase>Games</phrase>

23
VoxCommando Basics and Core Features / Re: Stacking Logic Blocks?
« on: October 23, 2019, 11:45:34 AM »
Welcome to VC and the forum.

You can't nest logic blocks within logic blocks, but you can have consecutive logic blocks and you can use the action VC.StopMacro to avoid moving on to the next IF statement as needed.

It sounds as though you will want to use events (https://voxcommando.com/mediawiki/index.php?title=Events), not a voice command, in order to evaluate whether your video game is active.

VC automatically generates events every time a window is focused or unfocused.

It depends what you mean by "disable". If you want VC to stop listening for voice commands while you're playing a videogame, then the action to use is VC.Off.

VC is very customizable and there are different ways to solve the same problem. Here is one possible approach to your situation (if I'm understanding the objectives properly). I used Chrome focus events just as an example.



Thank you, nime5ter. This is some very useful information. I had to change a few things inside your code to get it to work (e.g. Focused.VoxCommando-->Focused.chrome, Launch--> Launch.OpenFile) but I would say this solves probably all of my problems. And now I have a better understanding of how do use payloads as well as working around the limitations by using the StopMacro action. I'm glad you mentioned the StopMacro action. I was looking for something like this.

The payload thing inspired a new idea, and so maybe you could tell me if something was possible. Is it possible to have the "If ProgramFocused" refer to a payload list? So that way if I ever needed to add a game or something, I could just edit the payload rather than all the individual events and stuff.

24
VoxCommando Basics and Core Features / Re: Stacking Logic Blocks?
« on: October 20, 2019, 01:42:07 PM »
I just want to say that I discovered this software due to my frustration with Cortana. Cortana would minimize my games thinking I was talking to her. I was looking for a voice command alternative and I discovered this and it is awesome. I can't believe I have never heard of this before. I am still setting it up but it seems awesome. I just want to say good work.

25
VoxCommando Basics and Core Features / Stacking Logic Blocks?
« on: October 20, 2019, 01:38:16 PM »
I tried to search the forums but I couldn't find an answer because I couldn't think of good search words to use. Anyway...

Is it possible to have If functions inside of other If functions? I am trying to write a command that will perform different tasks taking multiple variables in mind. I'll just write out a example

If NOT ProgramFocused == Videogametitle
     (If {1} == iTunes
          (If NOT ProcessRunning == iTunes
               (Launch iTunes)
     (If {1} == Chrome
          (If NOT ProcessRunning == Chrome
               (Launch Chrome)

I don't know, something like that. If the video game has focus, then it doesn't go on to anything else. But if the video game doesn't have focus than it goes on to other if functions.
Is there actually a way to disable Vox if certain apps have focus?

Pages: 1 [2]