Search code examples
f-script

F-Script: Get object reference from object-browser to script-console


I am trying to figure out how to get an object I have found via the object-browser of F-Script to the script console. For example, I found an instance of NSString at adress 0x234243242 as the object explorer tells me. Now, I would like to call an instance method on it via the script-console (I know that I can call a method on it via the object-browser).

Can anyone give a hint how i could do this? Neither the F-Script documentation, nor Google was able to provide me an answer for this, yet.


Solution

  • You can click the "Name" button in the browser, give it a name, then use that name in the console.