Hello, I’m getting back into scripting. Right now I have a couple questions that have stumped me and cant seem to find help on google, though its probably out there…
1.) I want to create a scrollable textfield with sliders…
2.) How can I input text from a textfield to a given program, such as input to text edit. Either upon a button or just pressing enter.
I’m creating a game like program for a game, which contains lots of macro’s etc.
Yes I have tried to use NSTextView, however it does not let me edit the text in Xcode, when I double click it to highlight the text field, there is no curser and am not able to type. However I can type there when I launch my program but I want text to be saved there on the application permanently.
There’ll be an applicationWillFinishLaunching_() handler in the app delegate class; put it in there.
It’s all changed somewhat since then; AppleScriptObjC is nothing like AppleScript Studio. Unfortunately there’s no official Apple documentation, but you might want to look around here at the various discussions. The short story is that you’re going to have to learn some of the basics if you’re going to get anywhere with it.
OK, the default script that opens is the app delegate class.
You’re going to have to look at the tutorials around here or elsewhere on the Web, or stump up for my book, I’m afraid – it’s reasonably complex to get started. It’s not the sort of thing that can be answered in one simple post here.