Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!border3.nntp.dca.giganews.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.pcisys.net!news.pcisys.net.POSTED!not-for-mail NNTP-Posting-Date: Fri, 02 Dec 2011 17:52:11 -0600 From: Tom Harrington Newsgroups: comp.sys.mac.system Subject: Re: How to find FSSpec of front Finder window? Organization: Atomic Bird References: User-Agent: MT-NewsWatcher/3.5.1 (Intel Mac OS X) Date: Fri, 02 Dec 2011 16:52:11 -0700 Message-ID: Lines: 31 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-6mvBBq60FgSXpc657wVRyqSPUCBzYVn8/nM4tvQ5nvTfXXmsDxPVVpeKC1PZJ8xotgfO5RTs1FNLBC3!8OuiRV0j0DJF8vgAz4d6k7IP9zOJlKYTpqwHJDnpI4t/7j7AF5BwlNOn70tRvuayo4C8q5vZOA4x!xOjg3w== X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 1962 Xref: x330-a1.tempe.blueboxinc.net comp.sys.mac.system:16015 In article , Jolly Roger wrote: > In article , > Barry Margolin wrote: > > > In article , > > 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/