2 Replies Latest reply: Apr 27, 2011 9:23 AM by Toni Kautto RSS

    InputBox on Ajax Client?

      The macro below works well on desktop client, but does not work on the AJAX client. Anyway to get an input prompt on the Ajax client?

       

      sub saveBookMark

      q = ActiveDocument.GetApplication.InputBox("Enter Save Name:")

      if len(q) <> 0 then ' OK clicked
      ActiveDocument.CreateUserBookmark q, , , true, "Created " & weekdayName(Weekday(Date)) & " " & Now
      end if

      end sub