Change
Save
Saving
Drag and Drop a photo, drag to position, and hit Save
  • ronCYA

    Firstly, if there is a require("keyboard") in the remote.lua, you don't need to copy the keyboard.lua into your remote folder :)

    Secondly, check your new remotes are set to visible. When you add a new remote, check the Manager on your PC to see if it's listed. If it is, open the burger menu (top left icon) in the app, go to Preferences > General > Visible Remotes. Check your remote doesn't need to be made visible.

    You can upload your remote .zip here so people can help take a look for you.

    posted in Q&A read more
  • ronCYA

    There is a test remote made by the Unified Intent devs, called Air Mouse/Air Mouse 2. You can find it on their Git here:

    https://github.com/unifiedremote/Test-Remotes

    It is jittery for me, though, as the orientation only gets updates 6 times a second in Unified Remote for me. My phone's hardware has an sampling rate of 100.16 orientation updates a second, but for some reason it's limited to ~6 in Unified Remote. I assume the devs did not release it as a core remote as it still needed testing.

    posted in Mouse/keyboard read more
  • ronCYA

    Use the icon or image properties for your buttons. Documentation here: https://github.com/unifiedremote/Docs/blob/master/controls/button.md#properties

    Use labels to add text that you can press. Documentation here: https://github.com/unifiedremote/Docs/blob/master/controls/label.md

    I put together a demo remote for you so you could see:

    PortraitScreenshot.png

    Download the remote here: Buttons with text and image.zip

    Have a go and enjoy!

    posted in Layout read more
  • ronCYA

    Could we please bring back the documentation for the joystick library? It is listed on the main docs page: https://github.com/unifiedremote/Docs#user-content-libraries

    But seems to have been taken down:

    https://github.com/unifiedremote/Docs/blob/master/libs/joystick.md

    When you install the server, there is an option to install with joystick capability. There have also been a few joystick implementations: Flight Simulator X, Super Hexagon, Touch Joystick, etc. It seems like there is some wonderful knowledge out there that is not available for remote creators.

    It would be amazing if we had documentation on how to create a joystick remote, how to have Windows recognise the remote as a joystick, setting a joystick axis, etc. There is also no documentation on using phone accelerometers/gyroscopes, which I have seen used in the Air Mouse remotes for example— no doubt this would match well with the joystick documentation.

    I'm excited to make use of it and promise to create something interesting!

    posted in Q&A read more
  • ronCYA

    Hey Scuba, long time no see :) I have not tested this myself, but I think I have a reasonable solution for you. Use win.list() to find the .exe name for each task:

    tasks = win.list();
    

    will give you a list of tasks, with each task item containing these values:

    {
    Handle = 1234,
    Title = "foobar",
    Name = "foobar.exe"
    }
    

    After that, write some code of your own to find the .exe you want. If there are multiple tasks with the same .exe, you have the title to further narrow it down. Documentation here: https://github.com/unifiedremote/Docs/blob/master/libs/win.md#winlist-all-

    posted in Q&A read more
  • ronCYA

    Nice work, thanks for putting a remote together and sharing it with everyone! :)

    posted in Projects read more
  • scuba75

    I have a remote I made a while back that stopped working. Come to find out that one of the main apps I am using it to control changes part of it's class name every time it is launched.

    I had been using
    win.find( class, title )

    to find the desired window for screen capture and control but as I said everytime the app launches it changes the class slightly.

    Is there anyway to do a win.find by exe name or cals with a wildcard in it?

    posted in Q&A read more
  • ronCYA

    @SniperSl Sure thing, buddy!

    So in your layout.xml:

    <toggle id="toggle_with_changing_image" image="image1.png" onchange="image_toggle" />
    

    And in your remote.lua:

    actions.image_toggle = function()
        server.update({ id = "toggle_with_changing_image", image = "image2.png" });
    end
    

    Official documentation here

    Enjoy!

    posted in Q&A read more
  • ronCYA

    Wow thanks for responding so soon! I spent a good half-hour writing a detailed response about how I tried os.open, forward slashes, experimenting with different exe files, testing from the root directory, etc.. when suddenly the original code worked.

    For 2 hours I'd been having no luck, 99% sure my code was right and at my wit's end. Now it just decides to work.

    For what it's worth, I did try all you suggested though. For the record:

    • Using single forward slashes (in this specific scenario) worked just fine!
    • Using os.open didn't work for the exe

    Thanks for the help :)

    posted in Q&A read more
  • ronCYA

    I would say I'm relatively experienced with Lua and Unified Remote custom remotes, but am pulling my hair out at the simple code below that won't run:

    remote.lua:

    actions.flux_launch = function()
        os.start("%UserProfile%\\AppData\\Local\\FluxSoftware\\Flux\\flux.exe");
    end
    

    layout.xml:

    <?xml version="1.0" encoding="utf-8"?>
    <layout onlaunch="launch">
        <row>
            <button text="Launch Flux" ontap="flux_launch" />
        </row>
    </layout>
    

    FYI the full path is:
    C:\Users\Ron\AppData\Local\FluxSoftware\Flux\flux.exe

    When I tap the button on my phone, nothing happens. I've used os.start several times on other remotes with success but not this one. When I enter the full path in Windows Explorer, the program launches immediately. I've also tried the full path instead of %UserProfile% with no luck.

    What am I missing?

    posted in Q&A read more
Internal error.

Oops! Looks like something went wrong!