79729155

Date: 2025-08-07 21:41:04
Score: 4
Natty:
Report link

Mark! In case you're still wondering how to do this, I just got it working by using [openPanelObj setDirectoryURL: [NSURL fileURLWithPath: NSS(woof)]], where woof is the filename concatenated to the directory path and NSS is a #define that makes an NSString from a C string. It was a problem for me for 13 years until I reread Michael Robinson's answer here: How can I have a default file selected for opening in an NSOpenPanel?

Reasons:
  • Blacklisted phrase (0.5): How can I
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Photovore