🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: adobe.scripting.indesign
5 messages
5 total messages Started by Malcolm Wooden Wed, 04 Mar 2009 11:29
Scripting using RealBasic
#800
Author: Malcolm Wooden
Date: Wed, 04 Mar 2009 11:29
1 lines
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
#812
Author: Olav_Kvern
Date: Wed, 04 Mar 2009 17:45
7 lines
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
#834
Author: Ralf_Funke
Date: Thu, 05 Mar 2009 12:54
6 lines
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
#835
Author: Malcolm Wooden
Date: Thu, 05 Mar 2009 13:06
5 lines
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
#839
Author: Ralf_Funke
Date: Thu, 05 Mar 2009 14:09
3 lines
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