mac

Get Active Directory Domain Name For Current User Using Mac OSX

Hey all, I've got a Mac app written in Java. I'm trying to get the fully qualified domain name (LDAP) of the current user account from the system. The current user would be logged into the system through the active directory. An example of the string I am after would be: domain\[email protected] Any assistance would be...

convert java app to mac installer...dmg

Hello..I would like to know do we have any software to convert java app i mean .jar file to .dmg file (installer for mac).Thanks in Advance. ...

What are the downsides of using Python instead of Objective-C?

I know some Python and I'm really impressed by the language's ease of use. From what I've seen of Objective-C it looks a lot less pretty, but it seems to be the lingua franca for Mac OS X development (which means it has better documentation). I'm thinking about starting Mac development - will using PyObjC+Python make me a second class ...

How do you launch a shell script from ant on a Mac?

On linux something like: <target name="runDo"> <exec executable="gnome-terminal" spawn="true"> <arg line="-t 'Title' --geometry=120x80 -e '/script/path/bin/do.sh'"/> </exec> </target> Works fine. I've tried installing xterm, gnome-terminal and rxvt via macports and running them similarly with no results as well as ...

Turning a browser plugin into an XPI

I have a very old (1992) browser plugin for a mac that works in several different browsers. However, since Firefox restricted its plugins to XPI files in Firefox 3.6, the plugin no longer works. I haven't been able to find a useful document describing what I need to do to my plugin to make it an XPI, or at least loadable by firefox, ca...

Permissions error when connecting to EC2 via SSH on Mac OSx

I am new to EC2. I created my security credentials from this site: http://paulstamatiou.com/how-to-getting-started-with-amazon-ec2 It worked great, I rebooted and now when I try to connect I get a login/password prompt. (Which I never set up.) After several attempts I get this error: Permission denied (publickey,gssapi-with-mic). Wha...

Free CSS editor for Mac OS

Hi, Sorry for stupid question but: Can you suggest me the best CSS editor in Mac OS , because i don't have any experience in Mac :( Thanks a lot ! ...

What’s a good way to deal with a german keyboard when using Emacs on Mac OS X?

Maybe it’s a bit weird to ask this question in English because my problem is a rather non-English one. I’m an Mac OS X user and I’m on my way to learning Emacs. I decided to use the Emacs 23.1 Cocoa build that by default uses the Mac keyboard’s alt/option key as the meta key. But because I am German and I’m using a German keyboard, of co...

Advantages/disadvantages of using the built-in Apache for web development on Mac OS X

What are the advantages and disadvantages of using the built-in Apache for local web development on Mac OS X, specifically 10.6 Snow Leopard? Instead of using the built-in Apache, I know that options such as MAMP and XAMPP exist. However, for some reason I just haven't wrapped my head around the benefits or potential pitfalls with using...

On MAC O.S., how to get the name of files that has been dropped onto apple script to boot JAR with the name of file as a argument to JAR

In Script editor i have written a command to boot the JAR. do shell script "cd /Desktop/RunJar/; java -jar RunMyJar.jar" and Saved as script file as a Application. When i click on script file jar get run. My requirement I would like get the name of file that has been dropped onto the script file and would like to pass the name...

Creating an offscreen frame in Java (or: how to avoid a blank menu on a Mac, when all application windows are closed)?

I am making a Mac application, and I want my menu bar to look right. Any Mac user knows the menu bar should be in the top screen menu. Setting apple.laf.useScreenMenuBar to true in the property list file gets rid of the in-frame menu bars and moves the menu bar of the current focused window to the screen menu. However, when all window...

Capture sound output on mac

I am trying to port my screensaver from windows to mac and one of its features was reacting on system sound output. On windows it was easy using Direct Sound, but I can't find any example of capturing sound output on mac. Is it possible even possible without writing something like kernel extension? Using flash it is also very easy — it e...

How to deploy an application with firewall permissions on Mac?

I've bundled a jar file as a mac application using jar bundler. I'm now trying to create an installer for this app so that: 1) The application will be placed in the applications folder 2) The application is added to the list of permissible apps in Mac Application Level Firewall Also, I have several example files I would like to include ...

Can't copy or paste text in Cocoa after deleted edit menu item

I can't copy or paste any text on nstextfield after deleted edit menu item on Interface Builder. I've re-added edit menu item but still can't. Anyone know how to fix it ? Thanks in advance. ...

How to make the apple script file configurable ? can apple scipt file, shipped from window ?

In Script editor i have written a command to boot the JAR. do shell script "cd /Desktop/RunJar/; java -jar RunMyJar.jar" and Saved as script file as a Application. When i click on script file jar get run. As the apple script file has been saved as application we can not open the file on WINDOWS O.S.. so we are looking to configure t...

Mac OS. How to create image from PNG data?

Hi, all! I have an array of data that represents PNG: unsigned short systemFontTexture[] = { ... 0x5089,0x474E,0x0A0D,0x5089,0x474E,0x0A0D,0x5089, 0x474E,0x0A0D,0x5089,0x474E,0x474E,0x0A0D,0x5089, 0x474E,0x0A0D,0x5089,0x474E,0x474E,0x0A0D,0x5089, ... } Can I create PNG file using this data? If yes, then HOW? ...

How to detect if a Cocoa application is 32 bit or 64bit ?

How to detect if a Cocoa application is 32 bit or 64bit ? ...

Using CoreData with an object?

Hi there, this is a beginner's question: Every tutorial I've seen on CoreData focusses on database-backed storage. They all start out with drawing an object model with relationships and whatnot. But my app will be like a simple drawing app, think Illustrator light or OmniGraffle. I have an object in memory for the page and then severa...

Undefined mysql functions using mySql5 + php5 + apache2 installed by macports under mac os x

I've installed mySql5 using macports and did manage to run the mysql server. but from some reason all mySql related functions like mysql_connect return an error message saying "a call to undefined function...." under php5. Here is partial mysqlnd section taken from the phpinfo report: mysqlnd enabled Version mysqlnd 5.0.5-dev - 081106...

Prevent Email From Being Sent via Applescript

I've got the following AppleScript (below). I'm attempting to confirm the sending of an email. This AppleScript is already successfully hooked up to an "outbox rule" (using Mail Act-On) in Mail.app, and I've verified that it runs when it is supposed to (at the time of sending). The ultimate goal is to pop a dialog to the user, asking if...