rojer_31 Posted December 8, 2005 Share Posted December 8, 2005 Hello all, First let me tell me my intention: I want to create something for php (atleast in terms of code-completion) as you have done with scite4autoit3. I've gone through the docs of lua and read through AutoIt3.Lua. I have found some parts of the code quite incomprehensible. Here is one: scite.Open(props["FilePath"] .. "\nmenucommand:" .. n) I've googled, gone through the iface file, and tried everything else I know but can't understand what nmenucommand is. Can anyone please explain what it is ? Thank you Link to comment Share on other sites More sharing options...
Valik Posted December 9, 2005 Share Posted December 9, 2005 It's "\n" and then "menucommand". It means sends the filename of the currently active buffer followed by a newline and then send the "menucommand" command with the parameter n. Link to comment Share on other sites More sharing options...
rojer_31 Posted December 9, 2005 Author Share Posted December 9, 2005 It's "\n" and then "menucommand". It means sends the filename of the currently active buffer followed by a newline and then send the "menucommand" command with the parameter n. :"> That seems to be a silly question now!Okay I have a couple more dumb qusetions:1. There are 2 functions:function OnChar© andfunction OOOnChar©which seem similar in many ways. What is the purpose of this seeming duplication?2. It is pretty obvious, that what you have is well tested code (in lua). If I base my own script on this source, are there any implications (apart from being gpl)? Your comments on this would be valuable..Warm Regards,rojer_31 Link to comment Share on other sites More sharing options...
Developers Jos Posted December 9, 2005 Developers Share Posted December 9, 2005 :"> That seems to be a silly question now!Okay I have a couple more dumb qusetions:1. There are 2 functions:function OnChar© andfunction OOOnChar©which seem similar in many ways. What is the purpose of this seeming duplication?2. It is pretty obvious, that what you have is well tested code (in lua). If I base my own script on this source, are there any implications (apart from being gpl)? Your comments on this would be valuable..Warm Regards,rojer_311. Function OOOnchar() is an obsolete Onchar() version which i have forgotten to remove after adding the new Onchar() function.2. As far as I am concerned: everything included can be use to create your own LUA functions. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Valik Posted December 9, 2005 Share Posted December 9, 2005 If I cared what people did with my code, I wouldn't of allowed JdeB to put it in a public distribution. Do as you wish. Link to comment Share on other sites More sharing options...
rojer_31 Posted December 10, 2005 Author Share Posted December 10, 2005 Okay, Thank you. 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