Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie: Getting current directory and selecting specific files




On Mar 20, 2007, at 3:59 PM, Søren Neigaard wrote:

Hi again

Thanks for the info. Yes I want to select them so they get highlighted in the finder app. I have been looking at AppleEvents, but Im lacking a starting point. The thing is, that Im new to both C ++ and OS X programming (Im a Java coder). Why I choose C++ over Object-C, is because I want to learn C++ and do programming on Linux also.

I have found this link:
http://developer.apple.com/documentation/AppleScript/Conceptual/ AppleEvents/index.html


It looks pretty good, and from that I think I will be able to do what I want. Except one thing, I need a push in the right direction. I lack a simple sample code where they make a simple C++ program that uses AppleEvents, so I can see the whole code including includes and what not. Could any of you guys maybe give a very small sample C++ program that cimpiles and run, just showing the include and firing a simple AppleEvent (maybe open the finder or something), than I can work from there. Its because Im new to C+ + I find it hard to get started, I think. So this would really help me a lot, or if not, then maybe write some hints to what needs to be included in my C++ program and what to call for a simple example :)

I thought there was a more recent version, but try this:

http://developer.apple.com/samplecode/MoreAppleEvents/index.html

Larry

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >Newbie: Getting current directory and selecting specific files (From: Søren Neigaard <email@hidden>)
 >Re: Newbie: Getting current directory and selecting specific files (From: Steve Christensen <email@hidden>)
 >Re: Newbie: Getting current directory and selecting specific files (From: Søren Neigaard <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.