Hi !!!
I want make new class like NSObject with functions/methods (or something similar) in new file. Very important is that I want call functions/methods with parameters. For example:
In first file mainProgram.applescript:
property scriptOne : class "scriptOne"
script mainProgram
on function1
set a to scriptOne's onOne()
a's sayHello ("Matt")
end function1
end script
In second file mainProgramFunction.applescript:
script scriptOne
on onOne()
script scriptTwo
on sayHello (saySomething)
log saySomething
end sayHello
end script
end onOne
end script
mainProgramFunction.applescript is add to Compile Sources.
How to make it work ??