These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Need to send keystrokes to pdf document (auto scroll)

fighterjet
Registered: May 1 2009
Posts: 6

Hello,
I need to send keystrokes to pdf file (like Ctrl+Shift+H+2) upon opening (to get auto scrolling), is it possible to somehow send them from inside the document via embedded javascript code?
I found several similar topics - but no answer!
Maybe there is other way to make it scroll like after Ctrl+Shift+H+2?
Thanks!

gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4308
You can use the 'app.execMenuItem('AutoScroll');' to enable the auto scroll menu item as a cocument level script.

George Kaiser

fighterjet
Registered: May 1 2009
Posts: 6
Thank you very much, gkaiseril!
Could you please advise how to do it codewise - I am trying to use it as a javascript code in the javascript window but it doesn't work that way.
Mine before was something like this:
// ---> start code
function StartFS() {
// force to full screen
app.fs.isFullScreen = true;
// set to loop after last page
app.fs.loop = true;
// set time delay
// use timer
app.fs.useTimer = true;
// set time delay in seconds
app.fs.timeDelay = 10;
return;
} // end function

StartFS();
// ---> end code
How should it look to scroll slowly and to continuously loop?
Thanks again!!!
rainbow2009
Registered: May 4 2009
Posts: 1
[url=http://pret-auto.org][color=#DEDFDF][u]pret auto[/u][/color][/url]
I must be the stupidest person in the world. I cannot get this to work.