Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Easy question about URLs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Easy question about URLs



This should be an easy question, so before I invest a lot of time and effort in my solution I thought I'd ask here first.

What I'd like to do is have my application open a document at a particular location. I'd like to do this by pasing the application an url to open in the form 'file:///path/to/document.doc?at=location/in/document'.

Will the parameter portion of the URL survive the trip through [NSWorkspace openURL:...] through [NSDocumentController documentForURL:]? What's the best way to encode, add, and ultimately decode the parameter portion of the URL. I don't see any tools in NSURL for manipulating the parameter portion of an URL.

Thanks

P.S. I would have checked the archives first, but the list search engine seems to be overburdened this morning.
--
James Bucanek
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.