LiveEnhancementSuite / LESforMacOS

Ableton Live, supercharged (on macOS)
https://enhancementsuite.me/
MIT License
143 stars 17 forks source link

[Bug] Ableton Live 12 new browser issue #46

Open hypressi0n opened 9 months ago

hypressi0n commented 9 months ago

I know Live 12 isn't officially released yet, but anyway:

When you want to load any plugin, Ableton finds it in the search, but nothing happens, so you have to load the menu and click on the same plugin twice.

Steps to reproduce the behavior:

  1. Install Ableton Live 12 (12.0b22 in my case)
  2. Try to choose any plugin as usual
  3. If you click on any plugin in the menu once, it finds it in the search window, but nothing happens.
  4. If you click on the same plugin the second time, it loads as usual.
  5. After that if you choose to load any other plugin — the same problem happens all over again.

    So basically you have to click on the same plugin twice to load it every time.

https://imgur.com/TtsPcOn

hypressi0n commented 9 months ago

As far as I understand, at the moment LES script "presses" Enter after searching, but in Live 12 it needs to press Enter twice.

itslukebond commented 9 months ago

As far as I understand, at the moment LES script "presses" Enter after searching, but in Live 12 it needs to press Enter twice.

Live 12 Beta user here, can confirm, enter needs to be pressed twice in order to load the plug-in. 1x Enter selects the plug-in, enter twice loads it. This is due to the way the new browser is designed, and will affect the windows version of LES also.

darosh commented 9 months ago

As far as I understand, at the moment LES script "presses" Enter after searching, but in Live 12 it needs to press Enter twice.

Live 12 Beta user here, can confirm, enter needs to be pressed twice in order to load the plug-in. 1x Enter selects the plug-in, enter twice loads it. This is due to the way the new browser is designed, and will affect the windows version of LES also.

So disabling autoadd and pressing the enter twice manually seems to work as a "workaround". (The second attempt to insert the device does not work for me.)

autoadd = 0
; automatically add plugins after looking them up
ka-maji commented 8 months ago

I tried tweaking the script to input 'enter' twice when using autoadd, thinking it might fix the issue. But that doesn't seem to work... The same problem you're describing happens on the first search - the plugin is selected but not added. Then the second search adds two instances of the plugin (which makes sense given enter is hit 2 times).

Has anyone got any further insight into this? It seems like the script gets interrupted or something during the search process. But then doesn't the second time the same search is inputted. Strange behaviour

indomo98 commented 8 months ago

I tried tweaking the script to input 'enter' twice when using autoadd, thinking it might fix the issue. But that doesn't seem to work... The same problem you're describing happens on the first search - the plugin is selected but not added. Then the second search adds two instances of the plugin (which makes sense given enter is hit 2 times).

Has anyone got any further insight into this? It seems like the script gets interrupted or something during the search process. But then doesn't the second time the same search is inputted. Strange behaviour

I don't know how to tweak the script but are you able to tweak the script to go: search name -> arrow down -> enter

For now I have just disabled auto add and I press the searched preset manually. Not a fix, but an extra click. I will survive for now

Inversil commented 8 months ago

you might be able to use applescript sleep to add a delay between the two enter presses, that should do it.

fractalfantasy commented 8 months ago

anyone fixed this yet?

wyhinton commented 7 months ago

Fixed?

L0KCA commented 7 months ago

IF SOMEONE FIX THIS AND RELEASE, I WILL GIVE YOU 100USD TO PAYPAL

fractalfantasy commented 7 months ago

i'll add 50$ paypal

wyhinton commented 5 months ago

Yooo can we get a fix on this!

brpassoni commented 4 months ago

I might have fix it guys! I'm using LES v1.3.4beta3. I did this changes on the LESmain.lua and is working again. I'm also testing it on Live 12.1.b3 Beta.

if tempautoadd == 1 then local sleep = astSleep(_G.loadspeed)
        if sleep == false then
            hs.alert.show("applescript sleep failed to execute properly")
        end
        local applescript = [[
                tell application "System Events"
                    key code 36 -- Return key
                    delay 0.2
                    key code 36 -- Return key
                    delay 0.2
                    key code 53 -- Escape key
                end tell
            ]]
            hs.osascript.applescript(applescript)
    end

Here is the file just in case.

[LINK REMOVED]

@L0KCA @fractalfantasy @wyhinton :)

Note: @kwvg has edited this comment to remove a link containing an executable.

brpassoni commented 4 months ago

I know Live 12 isn't officially released yet, but anyway:

When you want to load any plugin, Ableton finds it in the search, but nothing happens, so you have to load the menu and click on the same plugin twice.

Steps to reproduce the behavior:

  1. Install Ableton Live 12 (12.0b22 in my case)
  2. Try to choose any plugin as usual
  3. If you click on any plugin in the menu once, it finds it in the search window, but nothing happens.
  4. If you click on the same plugin the second time, it loads as usual.
  5. After that if you choose to load any other plugin — the same problem happens all over again.

So basically you have to click on the same plugin twice to load it every time.

https://imgur.com/TtsPcOn

  • OS: macOS Sonoma 14.2.1 (23C71)
  • Version: probably v1.3.4.beta.3 (there is no way to check — feature request)

How do you have black background in the menu? 🙈

indomo98 commented 4 months ago

I might have fix it guys! I'm using LES v1.3.4beta3. I did this changes on the LESmain.lua and is working again. I'm also testing it on Live 12.1.b3 Beta.

if tempautoadd == 1 then local sleep = astSleep(_G.loadspeed)
        if sleep == false then
            hs.alert.show("applescript sleep failed to execute properly")
        end
        local applescript = [[
                tell application "System Events"
                    key code 36 -- Return key
                    delay 0.2
                    key code 36 -- Return key
                    delay 0.2
                    key code 53 -- Escape key
                end tell
            ]]
            hs.osascript.applescript(applescript)
    end

Here is the file just in case. [LINK REMOVED]

@L0KCA @fractalfantasy @wyhinton :)

How/where do I find my "LESmain.lua"?

Note: @kwvg has edited this comment to remove a link containing an executable.

brpassoni commented 4 months ago

[TRUNCATED]

How/where do I find my "LESmain.lua"?

Go to Finder>Applications>Live Enhancement Suite right click and show package contents. Then go to contents>resources>extensions>hs>les and replace :)

Note: @kwvg has edited this comment to truncate it to manageable length.

indomo98 commented 4 months ago

[TRUNCATED]

How/where do I find my "LESmain.lua"?

Go to Finder>Applications>Live Enhancement Suite right click and show package contents. Then go to contents>resources>extensions>hs>les and replace :)

Thanks I just replaced it but no change for me. I still have to click twice. I also run 1.3.4.beta.3

Update It works for me now. After replacing my LESmain.lua with your LESmain.lua and it didn't work I went on reddit (https://www.reddit.com/r/ableton/comments/1dsyjzk/mac_live_enhancement_suite_ableton_12_menu_bar_fix/) and downloaded this guys LESmain.lua file, "already Fixed-File". After replacing your file with his file and I opened Ableton 12 and LES, LES was now corrupted. (I clicked yes and no to some LES prombts that asked me to restore to default settings, don't know if relevant). Then I replaced the corrupted LESmain.lua file with your LESmain.lua file, and now yours somehow work!

Note: @kwvg has edited this comment to truncate it to manageable length.

brpassoni commented 4 months ago

Yeah, I tried that one before doing my own version, it brakes LES. Weird that didn't work at first 😶

fractalfantasy commented 4 months ago

Havent been able to get this to work :/ will send u the paypal as soon as i get it up and running. Was thinking maybe someone could fork the repository and keep it going

[TRUNCATED]

Note: @kwvg has edited this comment to truncate it to manageable length.

brpassoni commented 4 months ago

@fractalfantasy try with this. Maybe is better this way 😉 let me know.

[LINK REMOVED]

Note: @kwvg has edited this comment to remove a link containing an executable.

fractalfantasy commented 4 months ago

@fractalfantasy try with this. Maybe is better this way 😉 let me know.

[LINK REMOVED]

this worked :)

to get it to open I had to run this from terminal: xattr -c

send your paypal! @brpassoni

Note: @kwvg has edited this comment to remove a link containing an executable.

kwvg commented 4 months ago

Please exchange personal information outside the issue tracker and refrain from posting comments containing links to executables.

brpassoni commented 4 months ago

Please exchange personal information outside the issue tracker and refrain from posting comments containing links to executables.

So sorry, didn't know :) won't happen again

brpassoni commented 4 months ago

@fractalfantasy try with this. Maybe is better this way 😉 let me know. [LINK REMOVED]

this worked :)

to get it to open I had to run this from terminal: xattr -c

send your paypal! @brpassoni

Note: @kwvg has edited this comment to remove a link containing an executable.

Sent you a DM on your Instagram :) Glad to help with this issue!

Toroti commented 1 month ago

I might have fix it guys! I'm using LES v1.3.4beta3. I did this changes on the LESmain.lua and is working again. I'm also testing it on Live 12.1.b3 Beta.

if tempautoadd == 1 then local sleep = astSleep(_G.loadspeed)
        if sleep == false then
            hs.alert.show("applescript sleep failed to execute properly")
        end
        local applescript = [[
                tell application "System Events"
                    key code 36 -- Return key
                    delay 0.2
                    key code 36 -- Return key
                    delay 0.2
                    key code 53 -- Escape key
                end tell
            ]]
            hs.osascript.applescript(applescript)
    end

Here is the file just in case.

[LINK REMOVED]

@L0KCA @fractalfantasy @wyhinton :)

Note: @kwvg has edited this comment to remove a link containing an executable.

Can you please re-upload link

brpassoni commented 1 month ago

@Toroti Links are not allowed sadly. you can find me on ig tho. Send me a DM and I'll share it to you.

Andrews-repo commented 3 weeks ago

i spent a few hours trying to make this work on the last alpha version, dont even bother, just install the latest beta and follow the fix listed here

dharit-tan commented 2 weeks ago

I might have fix it guys! I'm using LES v1.3.4beta3. I did this changes on the LESmain.lua and is working again. I'm also testing it on Live 12.1.b3 Beta.

if tempautoadd == 1 then local sleep = astSleep(_G.loadspeed)
        if sleep == false then
            hs.alert.show("applescript sleep failed to execute properly")
        end
        local applescript = [[
                tell application "System Events"
                    key code 36 -- Return key
                    delay 0.2
                    key code 36 -- Return key
                    delay 0.2
                    key code 53 -- Escape key
                end tell
            ]]
            hs.osascript.applescript(applescript)
    end

Here is the file just in case.

[LINK REMOVED]

@L0KCA @fractalfantasy @wyhinton :)

Note: @kwvg has edited this comment to remove a link containing an executable.

Hey man thanks so much for the fix! Do you have any plans to fork the LES repo on github? Wondering if you figured out any other fixes? (eg. alt+c broken for me).