Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

ExecuteScriptMenuItem01 - Limitation Problem!!!

New Here ,
Jun 07, 2021 Jun 07, 2021

Hi, 

I'm running into some issues where I can't add anymore shortcut to my After Effects Scripts - ExecuteScriptMenuItem01 stops at 20! Which poses a huge problem.  I tried nesting a couple of scripts together 

 

if (keyboardState.metaKey && keyboardState.keyName == "F4") {   
var nested_file = new File("2006_light table on.jsx");
nested_file.open("r");
eval(nested_file.read());
nested_file.close();
}
 
But It's just not fast enough to activate while working! I work in multiple machines across different sites and need a handful of scripts! Most of the time I don't have acess to the root -  Application/Scripts due IT limitations. After effects comes with a lot of scripts pre-installed so it leaves about 5-6 scripts slots to be assigned on you local preferences folder. I'm afraid that's definitely limiting for powerusers!  
 
How Can i bypass the limitation while editing the aeks files. I noticed on AE21 there's a new line and it goes up to 21 scripts now 
"_reserved_more_scripting_begin" = "(4)"
 
How Can I make use of this? What would be the next lines that would give me acess to more slots? Help will be much appreciated. 
This limitation makes it extremely challenging to work across sites!After Bread and Butter is just not enough after 10-15 years.
 
Thanks
M
 
 
 
 
TOPICS
Crash , Error or problem , How to , Performance , Scripting , User interface or workspaces
610
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 07, 2021 Jun 07, 2021

Are you talking about the File > Script menu? This is pretty limited, if you're trying to access and run lots of scripts I'd recommend looking onto a third party tool like Kbar: https://aescripts.com/kbar/

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 08, 2021 Jun 08, 2021

Hi Justin, 

 

Thanks for for getting back to me! Yes, that's where you can find the scripts! And the scripts run from there just fine no issues with it! The issue is the shortcuts just been assigned for half of it!  I'm not sure what you mean by limited, it does what supposed to do which is just run the scripts! This seems more like a bug or something unadressed because I still can use the function just not fully as you can see on the screenshot. It's a basic function like you can see on the maya (screenshot attached). The issue is on adobe after effects it stop working halfway through the list. It would be really nice to have this adressed as an issue and hopefully fixed.  Also a bit odd the feature on your software works just fine seems to be neglected or have a small bug, so unsure where a costly 3rd party plugin has to do with the issue. I do have Kbar to run longer scripts or functions that can't take longer but this is to accomodate custom animation worfklows like toggles, reference switches, etc things I and others on the studio activaly need to enable and disable on scenes! Kbar is very nice but it doesnt fit this purpose.  The feature is there if you can let me know the best way of reporting this or getting some help to fix it will be much appreciated btw if this is the wrong place for this also just let me know. Atm it feels like a bit of a joke – here's a cake but you can only eat half of it and by the way, 1 quarter is reserved !? 

 

BR,

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 08, 2021 Jun 08, 2021

Thanks for clarifying the issue. I just tested and all the shortcuts work on my machine, I am on PC.

 

My guess would be that another application is taking those shortcuts so they're not reaching AE. Have you tried chaning the shortcuts of the items in question to see if that fixes it? Also, are you on the latest AE release?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 08, 2021 Jun 08, 2021

Ok that sounds like good news! So yes I'm 18.2 on a Mac! My shortcuts stop at 20! I'll get a screenshot for you!   I can only see until script 19 on after effects shortcut panel! If you look at the aek file, you get 19 and then you get a random script (not sure what criteria it is!) Cause that's not the last script or anything inbetween my script list! I updated the names and changed order but you can see what's on the scripts folder after 19 blended with AE scripts but none of those show up at the editor! Apart from the very odd at the end where is assigned to _more_scripts_begin!?   The thing is – nothing happens in between!? I tried adding lines after and before with no sucess as well!  I think if you need to check you can duplicate a couple of scripts to see if you can get past 21?

Thanks for helping out on this! 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 08, 2021 Jun 08, 2021
LATEST

Also Tried multiple combinations of shortcuts! Even setting to 1 - 9 A - to Z or F1 - F15 then 1 - 6! among others But really can't make this work.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines