Bagel Posted July 4, 2019 Share Posted July 4, 2019 Okay, I have a script I have been using for some time. It was working just fine prior to upgrading from SciteLite to the full version. But now when I run the script I get this error error: ToggleLayout() called by a previous line with 0 arg(s). Min = 1. First previous line calling this Func is 67. This is after calling this line: HotKeySet( "^+x", "ToggleLayout" ) The function isn't called anywhere else above the error line. Again, no changes were made to the script prior to moving to the full SciTE. How do I turn off whatever error checking the program is doing to throw this error? I really need to be able to use this script and had wanted to use the full version of scite to customize font and color schemes for my eyes. Thank you Link to comment Share on other sites More sharing options...
Nine Posted July 4, 2019 Share Posted July 4, 2019 You have an argument in Func ToggleLayout (...) Remove that, it is not allowed with HotKeySet (...), the function called must have 0 arg. “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy Link to comment Share on other sites More sharing options...
Bagel Posted July 4, 2019 Author Share Posted July 4, 2019 (edited) Okay, thank you. I had read that in other searches but misunderstood it and didn't think it applied to me. But it struck me as a very odd error since running before in SciteLite never gave me any problems. Edited July 4, 2019 by Bagel Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now