New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus • Advice and insight from world-class Apple enthusiasts • Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

cross-platform application


Post Reply New Thread Subscribe

 
Thread Tools
campagnolo_1

 
Member Since: Oct 10, 2011
Posts: 2
campagnolo_1 is on a distinguished road

campagnolo_1 is offline
Greetings,

new to the forum and to programming on Mac. I'm trying to figure out what language I should use to create a small application (a sizing calculator for garments) that will work in Windows and OsX. I'm pretty decent with Java and use a program called Autohotkey a lot for PC. Unfortunately Autohotkey doesn't work with Mac.
Does anybody have any suggestions on what language would be favorable to use so I would only have to write the script once?

Thanks for the advice,

Chris
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 17,757
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is offline
You have quite a few options. You can use one of the "big" scripting languages (Ruby, Perl, Python) and one of the various toolkits if you need cross platform support. You can also use .NET - there is the official runtime for Windows and Mono for the Mac. And, of course, there's Java.

If it's just a calculator, you could also make a webpage and use JS to do the calculations.

Is this going to be a UI or is this command line based? Do you plan to distribute it to others?

Important Links: Community Guidelines : Use the reputation system if you've been helped.
M-F Blog :: Write for the blog
Writing a Quality Post
QUOTE Thanks
campagnolo_1

 
Member Since: Oct 10, 2011
Posts: 2
campagnolo_1 is on a distinguished road

campagnolo_1 is offline
vansmith,

thank you for your reply!
The program is going to be a GUI where people can choose from different measurements and then the script will calculate their appropriate clothing size (Small, Medium....). I'm planning on distributing it and also make a version available on our website.
I thought about using Java since I have the most experience with it, but don't know if it will work on both OSs, meaning whether I need to be looking out for certain things to make it work.
If it would be of any help I can post some of the autohotkey code.

Cheers,

Chris
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 17,757
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is offline
Java will wrk fine across both platforms - it is fully supported by Windows and OS X (not to mention Linux as well). If you're familiar with it, stick with it since it can be easily packaged into a jar file for distribution.

Important Links: Community Guidelines : Use the reputation system if you've been helped.
M-F Blog :: Write for the blog
Writing a Quality Post
QUOTE Thanks
Mark FX

 
Mark FX's Avatar
 
Member Since: Aug 13, 2011
Location: West Sussex, UK
Posts: 167
Mark FX has a spectacular aura about

Mark FX is offline
Another option to consider would be Real Basic, it is a cross platform language as is fairly easy to learn, although it is different to java.

Real Software: Programming language, Web Development, Software Development Tool

Like vansmith said, if you no Java you might as well stick with it.

Regards Mark
QUOTE Thanks

Post Reply New Thread Subscribe


« file .bat for mac | xcode installer plugin to package dmg inside the .mpkg »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
A Switchers guide to recommended free Apps to download to your new Mac the8thark Switcher Hangout 67 03-19-2013 10:48 AM
Application Quitting at Launch (1/3) MacUserTrey OS X - Apps and Games 3 12-12-2010 08:47 PM
Starcraft II cross platform multiplayer? DarkestSoul X21 OS X - Apps and Games 2 05-06-2010 08:59 AM
Testing application unde Mac OS ljube OS X - Apps and Games 0 11-17-2006 09:18 AM
Application has to be transferred in a .sit Aikinai Switcher Hangout 4 10-18-2005 10:19 PM

All times are GMT -4. The time now is 04:24 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?