mac

mac look n feel on other platforms?

I'm just curious whether there is a gui framework that alloys you to use a mac look n feel on other platforms. presumably frameworks that use native APIs wouldn't be helpful (eg wxwidgets). qt uses native API partially for mac look n feel, so that isn't useful. what about swing? ...

plist bundle version values

I want to set the Bundle Version in my plist. However, it appears that the value that is actually LOOKED at by finder to put the version when you look at more info is "bundle versions string, short" Editing this, however, requires opening the plist file, rather than just editing the "version" in the target settings. Is there a way to ei...

Printing an NSTableView

Hi all, I'm trying to print an NSTableView, but most of the table keeps getting cut out. My question is twofold: How can I get it to resize to fit one page? How can I get it to print landscape? If there's a better way to do it, without using the print: function, then I'm happy to receive those suggestions too! (The Table is binded t...

How to install EasyGUI on Mac OS X 10.6 (Snow Leopard)?

I would like to install EasyGUI on Mac OS X 10.6, but am running into trouble. Has anyone successfully done this? If so, what explicit set of steps did you follow? Thank you. ...

Building a GUI Form Using Pascal

Hello, I'm emulating a old Macintosh(IIci) and using CodeWarrior 1 Gold 68k, but how I can design a Form on it only by using code? Thanks. ...

Launchd job running every minute

I am attempting to write a launchd script that runs once a day, on weekdays only. But once I load the script, it runs every minute instead of just on-schedule. This happens whether I load the script as myself or as superuser: launchctl load ~/Library/LaunchAgents/org.myname.foojob or sudo launchctl load /Library/LaunchDaemons/org.myna...

Pbl xcode C++ typedef struct toto toto

Hi everyone, I am working on a C++ project on macOS X 10.6.2 with xcode. I tried to compile my code on windows and do not have any problem, I guess Linux is working but I don't have one with me right now. My problem is xcode do not accept this kind of instruction : struct direction { double x; double y; double z; double t; }; typede...

How can I get a Silverlight app to close on a Mac?

I have an out of browser application running in Silverlight. It functions how I want it to when running in Windows. However, it has very strange behavior on a mac. When closing a window on a mac only the window closes the application continues running. Is there some way to get the Silverlight application to close on a mac when the windo...

Problem with Ant's AnsiColorLogger in Snow Leopard

I have Ant configured to use the AnsiColorLogger. In Mac OS 10.5, everything was fine. Since upgrading to Snow Leopard, the AnsiColorLoggger no longer works. I see the Ant output (uncolorized) for a second then it just disappears. Has anyone else gotten this working in Snow Leopard? Other ANSI colors are working fine in Terminal.app...

Which Languages I Can Use To Develop On a Mac OS 7 Machine?

Hello, I'm emulating a Macintosh IIci running Mac OS 7.5.5 on it, but now I want to know, In which languages I can develop on it and where to get they? ...

Hello World Error

Hello, I'm learning AppleScript and my first program is a Hello World(of course!): display dialog "Hello World" But when I try to run this I got the error: The result of a numeric operation was too large. Why this? How I can solve it? ...

What is the best tool for creating user guides with screenshots on a Mac?

Following what started here . http://stackoverflow.com/questions/141769/what-is-the-best-tool-for-creating-user-guides-with-screenshots-on-windows i need to create a user guide and quickstart for a rails app i will deliver in just a couple of days, need something quick, good, and if possibly free. of course leopard and snow leopard abl...

How to run java application bundled to .app on Mac OS X in 32 bit mode?

I have written a java application on win vista, it uses Bonjour and works fine. When I run it on Mac OS X 10.5.8 with all updates installed as a .jar file it runs perfectly too. But when I create a bundle using Jar Bundler it fails with "Uncaught exception in main method: java.lang.UnsatisfiedLinkError: /usr/lib/java/libjdns_sd.jnilib: ...

How can I know if the user is in Exposé mode?

Is there a way to find out if the user is in the Exposé mode? (i.e., all windows are being shown.) Thank you. ...

'ManagementClass' does not exist in the namespace 'System.Management'

Hi i'm using this method for get the mac address public string GetMACAddress() { System.Management.ManagementClass mc = default(System.Management.ManagementClass); ManagementObject mo = default(ManagementObject); mc = new ManagementClass("Win32_NetworkAdapterConfiguration"); ManagementObjectCollection moc = mc.GetInstan...

Why do I get a warning after I say "git commit ."

Hi, I get the error below after I run "git commit ." CSApprox needs gui support - not loading. See :help |csapprox-+gui| for possible workarounds. Error detected while processing /Users/{username}/.vim/plugin/syntastic.vim: line 94: E319: Sorry, the command is not available in this version: sign define SyntasticError text=>> texthl...

cross platform issues in webpages

Hello, I am developing some basic html pages, i am setting colors of text usimg color code #e7eddf it seems fine in windows but seems different in mac. Can you explain me why its happening and also suggest me some work around for that?? I am using firefox on both the mac and windows ...

Problems with Java Utility App on Mac OS 10.6

I have problems with my java utility application on Mac OS. When I try to start it I get 26.11.09 10:00:04 [0x0-0x29029].com.apple.java.JavaPreferences[984] [JavaAppLauncher Error] CallStaticVoidMethod() threw an exception 26.11.09 10:00:04 [0x0-0x29029].com.apple.java.JavaPreferences[984] Exception in thread "main" java.lang.NullPoi...

How to receive drag and drop from Apple Address book in Qt 4.4 on Mac OS X 10.5/10.6

I am trying to trap drag and drop events from the standard Apple address book app to my Qt app. This code works fine with Qt 4.4. on Mac OS X 10.4: void MyView::contentsDropEvent( QDropEvent* e ) { QList<QUrl> urls = e->mimeData()->urls(); ... I can then use the URL to get the vCard. Marvellous. But from Mac OS X 10.5 the ap...

How to interpret trackpad pinch gestures to zoom IKImageBrowserView

I have an IKImageBrowserView that I want to be able to pinch-zoom using a multi-touch trackpad on a recent Mac laptop. The Cocoa Event Handling Guide, in the section Handling Gesture Events says: The magnification accessor method returns a floating-point (CGFloat) value representing a factor of magnification ..and goes on to show ...