Thread View: adobe.scripting.indesign
5 messages
5 total messages
Started by Malcolm Wooden
Wed, 04 Mar 2009 11:29
Scripting using RealBasic
Author: Malcolm Wooden
Date: Wed, 04 Mar 2009 11:29
Date: Wed, 04 Mar 2009 11:29
1 lines
681 bytes
681 bytes
Has anyone tried scripting in RealBasic on Windows? I am trying to Open a document and set the size for the TextFrame but it just won't have it.
Re: Scripting using RealBasic
Author: Olav_Kvern
Date: Wed, 04 Mar 2009 17:45
Date: Wed, 04 Mar 2009 17:45
7 lines
843 bytes
843 bytes
Hi Malcolm, I've never used RealBasic in Windows, and haven't used it on the Mac OS for years, but it should work. I would imagine that you'd start by adding a reference to the InDesign COM library to your project--just as in VB--have you done that? Thanks, Ole
Re: Scripting using RealBasic
Author: Ralf_Funke
Date: Thu, 05 Mar 2009 12:54
Date: Thu, 05 Mar 2009 12:54
6 lines
887 bytes
887 bytes
I always just create a parameter file in Realbasic then call an InDesign Script that reads in the parameter file and does it stuffs. This way I create complete InDesign issues.
myIndesign=new Oleobject("Indesign.Application")
myIndesign.DoScript(f.AbsolutePath,1246973031)
Ralf
Re: Scripting using RealBasic
Author: Malcolm Wooden
Date: Thu, 05 Mar 2009 13:06
Date: Thu, 05 Mar 2009 13:06
5 lines
749 bytes
749 bytes
Ralf What do you write the InDesign Script in that's at f.AbsolutePath? Java, VB or are you using AppleScript on a Mac? Malcolm
Re: Scripting using RealBasic
Author: Ralf_Funke
Date: Thu, 05 Mar 2009 14:09
Date: Thu, 05 Mar 2009 14:09
3 lines
810 bytes
810 bytes
I always use JavaScript. If you need a different language change the scripting language parameter. (You need to look it up in the documentation.) Ralf
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads