Hi,
after creating a small application based on pure AppleScript with ScriptEditor i jumped to Xcode to improve the app.
Actually i am trying to store the path selected with my NSPathcontrol to a variable.
sounds pretty easy but i am stuck right now.
AppleScript names:
mywindow = MainWindow
mynspathcontrol = selectFolder
mytestbutton = test
In this test-scenario i want to “display dialog mypathvariable” if the button is pressed. but i am stuck how to store the path before this.
The NSPathcontrol is configured to popup mode and pressing it in my application opens an usual “open” dialog from itself. After selecting a folder it is displayed as supposed in the nspathcontrol…
wondering if anyone can help me with a final hint
best regards