• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Cocoa-Apple Script Application to stay in foreground
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa-Apple Script Application to stay in foreground


  • Subject: Re: Cocoa-Apple Script Application to stay in foreground
  • From: Dave <email@hidden>
  • Date: Mon, 23 May 2016 18:18:16 +0100

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 <email@hidden> 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 (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Cocoa-Apple Script Application to stay in foreground (From: Karthikeyan M <email@hidden>)

  • Prev by Date: Cocoa-Apple Script Application to stay in foreground
  • Next by Date: Re: Opening a Counterpart File in a SEPARATE Window
  • Previous by thread: Cocoa-Apple Script Application to stay in foreground
  • Next by thread: Incompatible pointer type assigning to Warning
  • Index(es):
    • Date
    • Thread