This content has been marked as final. Show 10 replies
You can use BuddyAPI to send the keystrokes you want:
or you can simply send the Impressario command to bring up the find box:
> I found this link in the forums, but for some reason Adobe didn't
> included the key code for "ctrl"...they did for "f"!!!!!
That's checked for with "the controlDown". You'd have to send the key
combination ctrl+F to the projector, using something like the buddyAPI xtra.
Forget that approach.
Just ask INM how to invoke the find text dialog from Lingo.
I asked INM a week ago, but they haven't reply yet.
Buddy API works...but, how can I get the focus out of the "search" input member to the PDF member (where the ctrl+f command works). It only works after the user clicks on the PDF member. If the are still on the "search" text box, it adds the letter "f" to the text box.
Does the code I posted work? it is straight from the Impressario help file:
I think I got it...
on mouseUp me
baSendKeys( "^f" )
any issues you think this might create?...It seems to work fine.
> on mouseUp me
> the keyboardFocusSprite=7
> baSendKeys( "^f" )
> any issues you think this might create?...It seems to work fine.
I'd use the code Mike posted if I were you - if the projector loses focus
for some reason, things could go wrong and confuse the user. And it would be
/really/ hard to track down what was going wrong.
Sorry Mike, i should've mention that.
I get an error. it says:
Script error: Variable used before assigned a value
Sorry, I was misspelling "sprite" (spirte), it does works now....
You need to replace the word "spriteNum" with the sprite number of the
Got it. Thanks Mike!