mac

how to create drag and drop mac installer?

I have made my java application's jar file and now want to create drag and drop installer for it.Also I want to know that how to create shortcut for Applications folder for the same purpose. how can I do this? ...

How to add the java application to the mac installer

HI Any one can get the idea to create the APP file to make my application to install in macos Thnaks in advance ...

Decrease the upload/download speed

I am doing networking project, My current broadband internet speed is 2Mbps my application is working correctly. I need to test my application status 512Mbps or any other speed. How to decrease the speed of internet, Is there any way to increase/decrease the speed by making changes in local machine. Thanks. ...

Programatically setting the dock:name Java Mac OS X JVM property

Is there a programatic alternative to setting the dock:name Java Mac OS X property by doing java -Xdock:name="My App Name" -jar myapp.jar , or is this the only way to set the dock:name property? ...

Can't call Silverlight from JavaScript in Firefox Mac

I'm creating a Silverlight control using Silverlight.js like so: var properties = { width: '640px', height: '480px', background: 'black', version: '2.0.0.0' }; var events = { onError: function() { alert('eek!'); }, onLoad: function(sender, args) { sender.content.Page.foo(); } }; Silverlight.createObject( ...

Editable CATextLayer?

I have several CATextLayers. When I doubleclick one of them, I want to be able to edit it's string. Think of text as it's handled in Keynote or many other apps. Any ideas? I thought of putting an editable textfield right in front of the layer and then dismiss it on enter, but I didn't get far. :-( I target Mac OS X 10.5 with Objective-...

Where is ~/.config/MonoDevelop/ for MonoDevelop

I'm using Mac Snow Lepord and can't find "~/.config/MonoDevelop/" for the life of me. I have MonoDevelop (v2.2.2) up and running already, but when I tried to set up a template the IDE started having problems. Namely, whenever I went to Monodevelop -> preferences-> Code Templates I would get an error saying "Argument cannont be null". I...

How to compile C program with multiple files in Xcode

Hi, I am on a Mac running Mac OS X 10.6.3 and Xcode 3.2.1 64-Bit and I was wondering if it was possible to compile a C program with multiple .c files in Xcode. Thanks in advance! ...

What can you do with AppleScript?

Everything I know about AppleScript I taught myself and was wondering if I missed any cool features. I know you can make the computer talk to and control applications but is there anything else it can do or is it time to move on to a new language? ...

NSBitmapImageRep data Format as application icon image??

i have a char* array of data that was in RGBA and then moved to ARGB Bottom line is the set application image looks totally messed up and i cant put my finger on why? //create a bitmap representation of the image data. //The data is expected to be unsigned char** NSBitmapImageRep *bitmap = [[NSBitmapImageRep alloc] ini...

How to convert an Info.plist file from mac os project to iphone project?

I am developing an app for the iPhone OS devices, and am using a third-party engine which is not well documented but I've made great progress with it anyway. The problem: The engine's developer strongly urges extending from the existing template projects bundled with the engine, but the engine's Info.plist files are Mac OSX project Inf...

Making a Mac double-clickable application in NetBeans

I have recently moved to a MacBook Pro, which has meant leaving my beloved JBuilder 2005 behind. Since there is no such thing any more (AFAIK) as a free JBuilder, I'm having to choose a new IDE. I can't live with the code-formatting of Eclipse (yes, I know, it can be customised up the wazoo, but the fact that it will NOT respect my ins...

Get currently selected item in Mac UI

I want to get the currently selected item (text, image, etc) and display in my Cocoa app's window when a keyboard shortcut is hit. Droplr has functionality like this, for example. How do I go about doing this? For example, I want it to return "(text, image, etc)" as text when that text selected on the screen like this: http://drp.ly/JAd...

add a start up item via command line (mac)

How can I add a start up item via command line on a mac? From googling, I know you have to edit ~/Library/Preferences/com.apple.loginitems.plist using defaults write com.apple.loginitems [key] [value] but i'm not sure exactly which things to edit. ...

Creating a png with specific rgb values (mac)

I'm using a Mac. When I try creating a png with specific rgb values (i.e. 128,0,0), this is fine (I've tried using both GIMP and photoshop). Now when I open the png file, the color looks slightly different. And when I use the DigitalColor Meter, the rgb values don't match anymore (the 128,0,0 file became 106,7,0). What's going on? Than...

Flash Game Help

What do I need to download to make flash games and how much does it cost? Also will I be able to use a mac to do this? ...

GCC 4.2 Build error

Hi, i am building a C project with Xcode and when ever i build it it gives me this error: ld: duplicate symbol _detectLinux in /Users/markszymanski/Desktop/Programming/C/iTermOS/build/iTermOS.build/Debug/iTermOS.build/Objects-normal/i386/linuxDetect.o and /Users/markszymanski/Desktop/Programming/C/iTermOS/build/iTermOS.build/Debug/iTer...

how to start growl via the command line

I have a bash script that uses growlnotify to send notifications. However, growlnotify doesn't work if Growl isn't already running, and it won't auto start Growl if it needs it, either. So I want to be able to check if Growl is running, and then start it if it isn't. I'm thinking of doing something like: g=$(ps -e | grep Growl | grep -v...

How do I get a Mac ".command" file to automatically quit after running a shell script?

In my shell script, my last lines are: ... echo "$l" done done exit I have Terminal preference set to "When the shell exits: Close the window". In all other cases, when I type "exit" or "logout", in Terminal, the window closes, but for this ".command" file (I can double-click on my shell script file, and the script runs), instead of...

TextMate - must-have Bundles and Plugins for web dev

Just curious what experienced Textmate users can't live without in the program. I just ran the trial and bought the program so I'm trying to get a sense of how others might setup their development environment for web development. Also, based on the fact that I just bought the program, I am going to guess that TM2 will come out next week...