Hi, You should have an AppDelegate Class if you are using an AppleScript-ObjC project? At least all my projects have one?
You have an XCode project, right? How did you create the Project? If you make the Project a Cocoa Application then it will add an AppDelegate for you….. Then add .applescript files to the project and create corresponding .h file, the .h file has the defines for methods inside the .applescript file as Objective-C definitions. Cheers Dave > On 23 May 2016, at 13:37, Karthikeyan M <karthikeyan....@gmail.com> wrote: > > Hi, > > I have created the Cocoa-Apple Script Application for verifying the user > authentication with LDAP. The script is working well but I want the > application should be always in foreground. If its the Cocoa-Application, I > can use [_window setLevel:NSFloatingWindowLevel]; in AppDelegate.m so the > Application windows will always be foreground but in Cocoa-Applescript > Application, we dont have AppDelegate.m file. I can see manin.m but adding > the code does not work. > > I am veru new to the Application Development. Can someone help me in making > the application to stay foreground while running? > > Thanks & Regards, > Karthikeyan > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Xcode-users mailing list (Xcode-users@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/xcode-users/dave%40looktowindward.com > > This email sent to d...@looktowindward.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (Xcode-users@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com This email sent to arch...@mail-archive.com