Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.mac.system > #15982 > unrolled thread

How to find FSSpec of front Finder window?

Started bygastacara@macgui.com (Cliff Huylebroeck)
First post2011-12-02 18:56 +0000
Last post2011-12-05 15:50 +0000
Articles 11 — 7 participants

Back to article view | Back to comp.sys.mac.system


Contents

  How to find FSSpec of front Finder window? gastacara@macgui.com (Cliff Huylebroeck) - 2011-12-02 18:56 +0000
    Re: How to find FSSpec of front Finder window? Barry Margolin <barmar@alum.mit.edu> - 2011-12-02 14:51 -0500
      Re: How to find FSSpec of front Finder window? Jolly Roger <jollyroger@pobox.com> - 2011-12-02 15:50 -0600
        Re: How to find FSSpec of front Finder window? Tom Harrington <tph@pcisys.no.spam.dammit.net> - 2011-12-02 16:52 -0700
        Re: How to find FSSpec of front Finder window? Michael Vilain <vilain@NOspamcop.net> - 2011-12-02 23:13 -0800
          Re: How to find FSSpec of front Finder window? Jolly Roger <jollyroger@pobox.com> - 2011-12-03 08:45 -0600
            Re: How to find FSSpec of front Finder window? Don Bruder <dakidd@sonic.net> - 2011-12-03 08:54 -0800
              Re: How to find FSSpec of front Finder window? dog_cow@macgui.com (D Finnigan) - 2011-12-05 15:48 +0000
      Re: How to find FSSpec of front Finder window? gastacara@macgui.com (Cliff Huylebroeck) - 2011-12-05 15:47 +0000
        Re: How to find FSSpec of front Finder window? Jolly Roger <jollyroger@pobox.com> - 2011-12-05 12:56 -0600
    Re: How to find FSSpec of front Finder window? gastacara@macgui.com (Cliff Huylebroeck) - 2011-12-05 15:50 +0000

#15982 — How to find FSSpec of front Finder window?

Fromgastacara@macgui.com (Cliff Huylebroeck)
Date2011-12-02 18:56 +0000
SubjectHow to find FSSpec of front Finder window?
Message-ID<gastacara-1322852201@macgui.com>
What is the shortest way to find the FSSpec of the front Finder window in OS
9.2.2?

I know how to find it with AppleScript:

tell application "Finder"
set x to item of container window 1
end tell

But I search a simple function for use in a C++ program.

[toc] | [next] | [standalone]


#15989

FromBarry Margolin <barmar@alum.mit.edu>
Date2011-12-02 14:51 -0500
Message-ID<barmar-5988A0.14513902122011@news.eternal-september.org>
In reply to#15982
In article <gastacara-1322852201@macgui.com>,
 gastacara@macgui.com (Cliff Huylebroeck) wrote:

> What is the shortest way to find the FSSpec of the front Finder window in OS
> 9.2.2?
> 
> I know how to find it with AppleScript:
> 
> tell application "Finder"
> set x to item of container window 1
> end tell
> 
> But I search a simple function for use in a C++ program.

And you're asking here instead of c.s.m.programmer because...?

-- 
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***

[toc] | [prev] | [next] | [standalone]


#16003

FromJolly Roger <jollyroger@pobox.com>
Date2011-12-02 15:50 -0600
Message-ID<jollyroger-F29A2A.15503002122011@news.individual.net>
In reply to#15989
In article <barmar-5988A0.14513902122011@news.eternal-september.org>,
 Barry Margolin <barmar@alum.mit.edu> wrote:

> In article <gastacara-1322852201@macgui.com>,
>  gastacara@macgui.com (Cliff Huylebroeck) wrote:
> 
> > What is the shortest way to find the FSSpec of the front Finder window in OS
> > 9.2.2?
> > 
> > I know how to find it with AppleScript:
> > 
> > tell application "Finder"
> > set x to item of container window 1
> > end tell
> > 
> > But I search a simple function for use in a C++ program.
> 
> And you're asking here instead of c.s.m.programmer because...?

c.s.m.programmer isn't dead?

-- 
Send responses to the relevant news group rather than email to me.
E-mail sent to this address may be devoured by my very hungry SPAM
filter. Due to Google's refusal to prevent spammers from posting
messages through their servers, I often ignore posts from Google
Groups. Use a real news client if you want me to see your posts.

JR

[toc] | [prev] | [next] | [standalone]


#16015

FromTom Harrington <tph@pcisys.no.spam.dammit.net>
Date2011-12-02 16:52 -0700
Message-ID<tph-8836FD.16521102122011@localhost>
In reply to#16003
In article <jollyroger-F29A2A.15503002122011@news.individual.net>,
 Jolly Roger <jollyroger@pobox.com> wrote:

> In article <barmar-5988A0.14513902122011@news.eternal-september.org>,
>  Barry Margolin <barmar@alum.mit.edu> wrote:
> 
> > In article <gastacara-1322852201@macgui.com>,
> >  gastacara@macgui.com (Cliff Huylebroeck) wrote:
> > 
> > > What is the shortest way to find the FSSpec of the front Finder window in 
> > > OS
> > > 9.2.2?
> > > 
> > > I know how to find it with AppleScript:
> > > 
> > > tell application "Finder"
> > > set x to item of container window 1
> > > end tell
> > > 
> > > But I search a simple function for use in a C++ program.
> > 
> > And you're asking here instead of c.s.m.programmer because...?
> 
> c.s.m.programmer isn't dead?

Not dead, just pining for the fjords.

-- 
Tom "Tom" Harrington
Independent Mac OS X developer since 2002
http://www.atomicbird.com/

[toc] | [prev] | [next] | [standalone]


#16027

FromMichael Vilain <vilain@NOspamcop.net>
Date2011-12-02 23:13 -0800
Message-ID<vilain-A02C25.23130202122011@news.individual.net>
In reply to#16003
In article <jollyroger-F29A2A.15503002122011@news.individual.net>,
 Jolly Roger <jollyroger@pobox.com> wrote:

> In article <barmar-5988A0.14513902122011@news.eternal-september.org>,
>  Barry Margolin <barmar@alum.mit.edu> wrote:
> 
> > In article <gastacara-1322852201@macgui.com>,
> >  gastacara@macgui.com (Cliff Huylebroeck) wrote:
> > 
> > > What is the shortest way to find the FSSpec of the front Finder window in 
> > > OS
> > > 9.2.2?
> > > 
> > > I know how to find it with AppleScript:
> > > 
> > > tell application "Finder"
> > > set x to item of container window 1
> > > end tell
> > > 
> > > But I search a simple function for use in a C++ program.
> > 
> > And you're asking here instead of c.s.m.programmer because...?
> 
> c.s.m.programmer isn't dead?

Even so, maybe the OP would be better off posting to the Apple Developer 
forums.  There's bound to be some 'old timers' there that might help.

-- 
DeeDee, don't press that button!  DeeDee!  NO!  Dee...
[I filter all Goggle Groups posts, so any reply may be automatically ignored]

[toc] | [prev] | [next] | [standalone]


#16037

FromJolly Roger <jollyroger@pobox.com>
Date2011-12-03 08:45 -0600
Message-ID<jollyroger-0A13C4.08453503122011@news.individual.net>
In reply to#16027
In article <vilain-A02C25.23130202122011@news.individual.net>,
 Michael Vilain <vilain@NOspamcop.net> wrote:

> In article <jollyroger-F29A2A.15503002122011@news.individual.net>,
>  Jolly Roger <jollyroger@pobox.com> wrote:
> 
> > In article <barmar-5988A0.14513902122011@news.eternal-september.org>,
> >  Barry Margolin <barmar@alum.mit.edu> wrote:
> > 
> > > In article <gastacara-1322852201@macgui.com>,
> > >  gastacara@macgui.com (Cliff Huylebroeck) wrote:
> > > 
> > > > What is the shortest way to find the FSSpec of the front Finder window 
> > > > in 
> > > > OS
> > > > 9.2.2?
> > > > 
> > > > I know how to find it with AppleScript:
> > > > 
> > > > tell application "Finder"
> > > > set x to item of container window 1
> > > > end tell
> > > > 
> > > > But I search a simple function for use in a C++ program.
> > > 
> > > And you're asking here instead of c.s.m.programmer because...?
> > 
> > c.s.m.programmer isn't dead?
> 
> Even so, maybe the OP would be better off posting to the Apple Developer 
> forums.  There's bound to be some 'old timers' there that might help.

Just a note: I said that tongue in cheek. I haven't visited 
c.s.m.programmer in so long I have no idea if its alive or dead.  : )

-- 
Send responses to the relevant news group rather than email to me.
E-mail sent to this address may be devoured by my very hungry SPAM
filter. Due to Google's refusal to prevent spammers from posting
messages through their servers, I often ignore posts from Google
Groups. Use a real news client if you want me to see your posts.

JR

[toc] | [prev] | [next] | [standalone]


#16043

FromDon Bruder <dakidd@sonic.net>
Date2011-12-03 08:54 -0800
Message-ID<jbdk7a$58n$1@dont-email.me>
In reply to#16037
In article <jollyroger-0A13C4.08453503122011@news.individual.net>,
 Jolly Roger <jollyroger@pobox.com> wrote:

> In article <vilain-A02C25.23130202122011@news.individual.net>,
>  Michael Vilain <vilain@NOspamcop.net> wrote:
> 
> > In article <jollyroger-F29A2A.15503002122011@news.individual.net>,
> >  Jolly Roger <jollyroger@pobox.com> wrote:
> > 
> > > In article <barmar-5988A0.14513902122011@news.eternal-september.org>,
> > >  Barry Margolin <barmar@alum.mit.edu> wrote:
> > > 
> > > > In article <gastacara-1322852201@macgui.com>,
> > > >  gastacara@macgui.com (Cliff Huylebroeck) wrote:
> > > > 
> > > > > What is the shortest way to find the FSSpec of the front Finder 
> > > > > window 
> > > > > in 
> > > > > OS
> > > > > 9.2.2?
> > > > > 
> > > > > I know how to find it with AppleScript:
> > > > > 
> > > > > tell application "Finder"
> > > > > set x to item of container window 1
> > > > > end tell
> > > > > 
> > > > > But I search a simple function for use in a C++ program.
> > > > 
> > > > And you're asking here instead of c.s.m.programmer because...?
> > > 
> > > c.s.m.programmer isn't dead?
> > 
> > Even so, maybe the OP would be better off posting to the Apple Developer 
> > forums.  There's bound to be some 'old timers' there that might help.
> 
> Just a note: I said that tongue in cheek. I haven't visited 
> c.s.m.programmer in so long I have no idea if its alive or dead.  : )

You're safe enough calling it dead, I'm thinking. Both c.s.m.p.help and 
c.s.m.p.misc have pretty much dried to a trickle based on what I can see 
from eternal-september.

-- 
Email shown is deceased. If you would like to contact me by email, please
post something that makes it obvious in this or another group you see me
posting in with a "how to contact you" address, and I'll get back to you. 

[toc] | [prev] | [next] | [standalone]


#16149

Fromdog_cow@macgui.com (D Finnigan)
Date2011-12-05 15:48 +0000
Message-ID<dog_cow-1323100091@macgui.com>
In reply to#16043
Don Bruder wrote:
> In article <jollyroger-0A13C4.08453503122011@news.individual.net>,
>  Jolly Roger <jollyroger@pobox.com> wrote:
> 
>> In article <vilain-A02C25.23130202122011@news.individual.net>,
>>  Michael Vilain <vilain@NOspamcop.net> wrote:
>> 
>> > In article <jollyroger-F29A2A.15503002122011@news.individual.net>,
>> >  Jolly Roger <jollyroger@pobox.com> wrote:
>> > 
>> > > In article <barmar-5988A0.14513902122011@news.eternal-september.org>,
>> > >  Barry Margolin <barmar@alum.mit.edu> wrote:
>> > > 
>> > > > In article <gastacara-1322852201@macgui.com>,
>> > > >  gastacara@macgui.com (Cliff Huylebroeck) wrote:
>> > > > 
>> > > > > What is the shortest way to find the FSSpec of the front Finder 
>> > > > > window 
>> > > > > in 
>> > > > > OS
>> > > > > 9.2.2?
>> > > > > 
>> > > > > I know how to find it with AppleScript:
>> > > > > 
>> > > > > tell application "Finder"
>> > > > > set x to item of container window 1
>> > > > > end tell
>> > > > > 
>> > > > > But I search a simple function for use in a C++ program.
>> > > > 
>> > > > And you're asking here instead of c.s.m.programmer because...?
>> > > 
>> > > c.s.m.programmer isn't dead?
>> > 
>> > Even so, maybe the OP would be better off posting to the Apple
>> > Developer
>> > forums.  There's bound to be some 'old timers' there that might help.
>> 
>> Just a note: I said that tongue in cheek. I haven't visited 
>> c.s.m.programmer in so long I have no idea if its alive or dead.  : )
> 
> You're safe enough calling it dead, I'm thinking. Both c.s.m.p.help and 
> c.s.m.p.misc have pretty much dried to a trickle based on what I can see 
> from eternal-september.
>

The original comp.sys.mac.programmer was removed with an rmgroup about 15
years ago.

comp.sys.mac.programmer.help looks like the best newsgroup for this
question.

-- 
]DF$
Mac GUI Vault - A source for retro Apple II and
Macintosh computing.
http://macgui.com/vault/

[toc] | [prev] | [next] | [standalone]


#16148

Fromgastacara@macgui.com (Cliff Huylebroeck)
Date2011-12-05 15:47 +0000
Message-ID<gastacara-1323100028@macgui.com>
In reply to#15989
Barry Margolin wrote:
> And you're asking here instead of c.s.m.programmer because...?

Someone told me that I could ask my questions here.
So I thought that this was all that was left of UseNet.

[toc] | [prev] | [next] | [standalone]


#16158

FromJolly Roger <jollyroger@pobox.com>
Date2011-12-05 12:56 -0600
Message-ID<jollyroger-FC1250.12562005122011@news.individual.net>
In reply to#16148
In article <gastacara-1323100028@macgui.com>,
 gastacara@macgui.com (Cliff Huylebroeck) wrote:

> I thought that this was all that was left of UseNet.

LOL!  Hardly.

-- 
Send responses to the relevant news group rather than email to me.
E-mail sent to this address may be devoured by my very hungry SPAM
filter. Due to Google's refusal to prevent spammers from posting
messages through their servers, I often ignore posts from Google
Groups. Use a real news client if you want me to see your posts.

JR

[toc] | [prev] | [next] | [standalone]


#16150

Fromgastacara@macgui.com (Cliff Huylebroeck)
Date2011-12-05 15:50 +0000
Message-ID<gastacara-1323100199@macgui.com>
In reply to#15982
I don't need it anymore.
I had planned to use it in an extension,
but I chose another way to solve it.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.sys.mac.system


csiph-web