[futurebasic] Re: [FB] Call another app from FB

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : November 2011 : Group Archive : Group : All Groups

From: Tom Russell <tsrdatatech@...>
Date: Mon, 21 Nov 2011 18:24:06 -0500
Brian,

I looked at the thread you mentioned but still am not sure how to do this.

This is what I want to do:

Get the path to which my app is currently at.
Use the Open "unix" cmd to open a file within the path that was found.

Thanks,

Tom

On Mon, Nov 21, 2011 at 6:09 PM, Brian S <fblistserve@...> wrote:
>
> On Nov 21, 2011, at 9:21 AM, Tom Russell wrote:
>
>> Well I dont want to hard code the path in my code, just basically call
>> the app. I can give it no path and just the app name but that does
>> notjhing. My path to the file has spaces in it making it a difficult
>> one to hard code I think.
>
> One method of getting an FSRef to a file ( whether application or data file doesn’t matter ) is using the code posted in the thread with the subject "Path relative to application's contents" on 2-Oct-2011. Try looking for this in the archive and then use LSOpenFSRef ( or LSOpenCFURLRef if that is what you have after building the ref ).  Usually, it is good to post:
>
> (1) A description of what is needed
>
> (2) Code showing what doesn’t work for you.
>
> Having both gives the list a better idea what you want. Better info typically results in better ( and quicker ) answers.
>
> Brian S
>
>
>
>
>
>
>
> --
> To unsubscribe, send ANY message to: futurebasic-unsubscribe@...
> To access the list archives, go to:  http://freegroups.net/groups/futurebasic/
>
>