-
1. Re: Standalone application for mac like with .net VB
Harbs. Mar 16, 2011 8:59 AM (in response to mmargeta)You can co what you describe using AppleScript.
If you want to port over your existing app, you might want to check out REALBasic, but it'll probably take some duct tape to integrate that into InDesign...
Harbs
-
2. Re: Standalone application for mac like with .net VB
Muppet Mark-QAl63s Mar 16, 2011 12:00 PM (in response to mmargeta)Find your Apple OSX install disks… Locate and run 'developer tools' installer… Lots of samples included… Create your project in Xcode have AppleScript communicate with ID and you should be off… I was out of my depth 5 minutes later… but hey ho…
-
3. Re: Standalone application for mac like with .net VB
mmargeta Mar 16, 2011 11:18 PM (in response to Muppet Mark-QAl63s)I was affraid that this would be the answer.
I was thinking about something similar to writing with Visual Studio... when you add reference to InDesign you can write script directly among all other stuff that you need (database connection, select data from DB etc.) with Xcode-Applescript is somehow... different. Don't get me wrong - I'm not alluding here to mac-windows competition and I'm not cheering for anybody. Actually, I love working on mac, but I think this is much easier to achieve on windows. Maybe that's why Adobe in scripting guide didn't give any example for Xcode-Applescript architecture (for Applescript did, of course). But maybe just one example in scripting guide would be enough to show how to do it properly.
What about JAVA? Are there any examples for it? I don't know would I choose it if there is an option, just wondering if it is possible.
-
4. Re: Standalone application for mac like with .net VB
John Hawkinson Mar 17, 2011 12:51 AM (in response to mmargeta)You are right that there is a gap here. The expectation is, I guess, that you'll develop your Applescript in the Script Editor (or other tools like Script Debugger, etc.) and then move it into Xcode wholesale.
Java? Do you mean Javascript? I'm not aware of any InDesign bindings for Java, but there certainly is lots of documentation about Javascript. I'm sure you could do it with Apple Events, but that's just like Applescript.
-
5. Re: Standalone application for mac like with .net VB
liedzeit Mar 17, 2011 3:42 AM (in response to mmargeta)Like Harbs said check out RealBasic. It will be perfect for your needs. An alternative is Adobe Air. I did cross platform applications with both but prefer RealBasic. Integration with ID is quite easy. If you would need any help just ask...
Ralf
-
6. Re: Standalone application for mac like with .net VB
mmargeta Mar 17, 2011 10:35 AM (in response to liedzeit)TNX to all of you... now I'm certain that there is no other way. I have REALbasic-2008-3 and I tried to do something and also in Xcode but maybe just don't feel comfortable like in VS yet. Just was wondering is this the right way.
Thanks again.
Marko
-
7. Re: Standalone application for mac like with .net VB
Harbs. Mar 17, 2011 11:18 AM (in response to mmargeta)This might help you...
http://rorohiko.blogspot.com/2007/10/lightning-brain-podcast-click-here-to.html
Harbs



