Thread View: adobe.scripting.indesign
2 messages
2 total messages
Started by Nagavij
Mon, 02 Feb 2009 19:16
Login into K4
Author: Nagavij
Date: Mon, 02 Feb 2009 19:16
Date: Mon, 02 Feb 2009 19:16
23 lines
1024 bytes
1024 bytes
Hi
I tried this procedure of Logging into K4 using scripting. then i get an error which says Base Plugin isnt installed properly or is disabled
<http://www.adobeforums.com/webx/.59b4ec72/0>
I modified it to
#targetengine "session"
main();
function main(){
var myEventListener = app.addEventListener("beforeNew", K4Login, false);
}
function K4Login()
{
app.k4LogIn("Admin","test@123");
}
app.documents.add();
I need to login into k4 using startup scripts. Is there any chance?
Thanks
Re: Login into K4
Author: Ralf_Funke
Date: Tue, 03 Feb 2009 08:57
Date: Tue, 03 Feb 2009 08:57
14 lines
1127 bytes
1127 bytes
I tried for quite some time but without success. It seems that the K4 plug-ins are not yet loaded when the events fire.
What I finally did is this:
I have an AppleScript in my start objects of the computer that just creates a document and closes it again.
activate �Adobe Indesign CS3″
tell application �Adobe InDesign CS3″
set temp to make document with properties {showing window:false}
close temp saving no
end tell
Then an afterNew Script similar to yours in startup of InDesign logs in. Not the most elegant way but working.
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