🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.next.programmer
1 messages
1 total messages Started by Richard Low Thu, 30 Jul 1992 13:23
Finding the path to an .app
#352
Author: Richard Low
Date: Thu, 30 Jul 1992 13:23
50 lines
2576 bytes
I have several Rich Text documents I want to include in my  
application and, at appropriate points, load them into Scrollviews.

I have two questions:

1.  How do I "include" these supporting files into my resulting .app  
file so they are always there? (I'm using Project Builder)

2.  When I want to load the file, how can I reference the file in my  
application as a relative path starting where ever the .app file is  
located?  Right now I'm just specifying an absolute path to load the  
file.

Is there something similar to the home directory ~/ reference for an  
application?  I suppose I could always get the current working  
directory and do it the hard way.

Thanks for any help.


Richard Low
Duke University Medical Center
low00001@bullnext.mc.duke.edu
NeXT Mail welcome


-- NewsGrazer, a NeXTstep(tm) news reader, posting --
M>UQR=&8P7&%N<VE[7&9O;G1T8FQ<9C!<9FUO9&5R;B!#;W5R:65R.WT*7&UA
M<F=L,3(P"EQM87)G<C$R,`I<<&%R9%QT>#$S-#1<='@R-C@X7'1X-#`S,EQT
M>#4S-S9<='@V-S(P7'1X.#`V-%QT>#DT,#A<='@Q,#<U,EQT>#$R,#DV7'1X
M,3,T-#!<9C!<8C!<:3!<=6QN;VYE7&9S,CA<9F,P7&-F,"!)(&AA=F4@<V5V
M97)A;"!2:6-H(%1E>'0@9&]C=6UE;G1S($D@=V%N="!T;R!I;F-L=61E(&EN
M(&UY(&%P<&QI8V%T:6]N(&%N9"P@870@87!P<F]P<FEA=&4@<&]I;G1S+"!L
M;V%D('1H96T@:6YT;R!38W)O;&QV:65W<RY<"EP*22!H879E('1W;R!Q=65S
M=&EO;G,Z7`I<"C$N("!(;W<@9&\@22`B:6YC;'5D92(@=&AE<V4@<W5P<&]R
M=&EN9R!F:6QE<R!I;G1O(&UY(')E<W5L=&EN9R`N87!P(&9I;&4@<V\@=&AE
M>2!A<F4@86QW87ES('1H97)E/R`H22=M('5S:6YG(%!R;VIE8W0@0G5I;&1E
M<BE<"EP*,BX@(%=H96X@22!W86YT('1O(&QO860@=&AE(&9I;&4L(&AO=R!C
M86X@22!R969E<F5N8V4@=&AE(&9I;&4@:6X@;7D@87!P;&EC871I;VX@87,@
M82!R96QA=&EV92!P871H('-T87)T:6YG('=H97)E(&5V97(@=&AE("YA<'`@
M9FEL92!I<R!L;V-A=&5D/R`@4FEG:'0@;F]W($DG;2!J=7-T('-P96-I9GEI
M;F<@86X@86)S;VQU=&4@<&%T:"!T;R!L;V%D('1H92!F:6QE+EP*7`I)<R!T
M:&5R92!S;VUE=&AI;F<@<VEM:6QA<B!T;R!T:&4@:&]M92!D:7)E8W1O<GD@
M?B\@<F5F97)E;F-E(&9O<B!A;B!A<'!L:6-A=&EO;C\@($D@<W5P<&]S92!)
M(&-O=6QD(&%L=V%Y<R!G970@=&AE(&-U<G)E;G0@=V]R:VEN9R!D:7)E8W1O
M<GD@86YD(&1O(&ET('1H92!H87)D('=A>2Y<"EP*5&AA;FMS(&9O<B!A;GD@
M:&5L<"Y<"EP*7`I2:6-H87)D($QO=UP*1'5K92!5;FEV97)S:71Y($UE9&EC
M86P@0V5N=&5R7`IL;W<P,#`P,4!B=6QL;F5X="YM8RYD=6ME+F5D=5P*3F58
35"!-86EL('=E;&-O;65<"@I]"D!B
`
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads