Search Results

Search found 2 results on 1 pages for 'maranas'.

Page 1/1 | 1 

  • file path of a MenuItem target with cmdOpen action

    - by maranas
    I am trying to acquire the file path of an item within the NSMenuItem object. Using [objectname action] i am able to properly acquire the action (cmdOpen). But [objectname target] returns a null value. According to the documentation in the apple developer website, if the value is null, the action is sent to the first-responder. I want to be able to dynamically access the file path of the target file. Is there a way to do this without changing the program design?

    Read the article

1