KenNichols Posted May 13, 2009 Share Posted May 13, 2009 I have searched the forums and can't find anything even close to this. I just need to open a PDF and add text to the fields already in place. CODEFunc Submit() GUISetCursor(15) Opt("SendKeyDelay", 150) Opt("WinTitleMatchMode", 2);1=start, 2=subStr, 3=exact, 4=advanced, -1 to -4=Nocase $Total = GUICtrlRead($lblTotal) $Drivers = GUICtrlRead($lblDrivers) $Tab = "{TAB}" $Space = "{SPACE}" ShellExecute("New Equipment Move.pdf") WinWaitActive("New Equipment Move.pdf", 5) If WinActive("New Equipment Move.pdf") Then ; Disable mouse and keyboard BlockInput(1) ; Sends text Sleep(200) Send("{TAB}") Send("1") Send("{TAB}") Send("1") Send("{TAB}") Send(@MON & "/" & @MDAY & "/" & @YEAR) Sleep(100) Send("{TAB 21}") If $Drivers < 2 Then Send($Space) Else Send($Tab) EndIf Sleep(100) If $Drivers > 1 Then Send($Space) Else Send($Tab) EndIf Send("{TAB 5}") Send($Total) ; Enable mouse and keyboard BlockInput(0) GUISetCursor(2) EndIf EndFunc ;==>Submit [topic="21048"]New to AutoIt? Check out AutoIt 1-2-3![/topic] Need to make a GUI? You NEED KODA FormDesigner! Link to comment Share on other sites More sharing options...
KenNichols Posted May 13, 2009 Author Share Posted May 13, 2009 All PC's that will be running this app have Adobe Acrobat Standard 8 installed if that helps! [topic="21048"]New to AutoIt? Check out AutoIt 1-2-3![/topic] Need to make a GUI? You NEED KODA FormDesigner! Link to comment Share on other sites More sharing options...
rajeshontheweb Posted May 13, 2009 Share Posted May 13, 2009 i wud think there are a quite a few form fillers. i havent used much, though. i mostly use pdftk for my pdf requirements and for pdf creation i use pdfcreator . http://www.accesspdf.com/pdftk/ Started late is much better than having never started it!!!!Failure is another step towards success. I've been messing around with: Adding Entry to 'Hosts'File Information Lister (Logger)Yet Another AutoIT Error Handler Yet Another AutoIT Error Handler & Debugger Control your App's TaskBar Button YCurrency Ticker (Latest Release : 16 Apr 2009)_WinInetInternetCheckConnection UDF Symantec Definitions Lister UDF _GetLocalIPAddresses UDF UDF to get Special Folder Information WMI_NetworkAdapterConfiguration2Array WMI_CDRomDriveCapabilities _ScriptExists - Check if your au3 script is running!! Uninstaller UDF Get Version for your application (at script level or compiled stage) Uninstaller Pro - faster alternative to windows application removal applet Link to comment Share on other sites More sharing options...
KenNichols Posted May 13, 2009 Author Share Posted May 13, 2009 i wud think there are a quite a few form fillers. i havent used much, though. i mostly use pdftk for my pdf requirements and for pdf creation i use pdfcreator . http://www.accesspdf.com/pdftk/THANK YOU! Looks like .xdp is my answer Thanks! [topic="21048"]New to AutoIt? Check out AutoIt 1-2-3![/topic] Need to make a GUI? You NEED KODA FormDesigner! Link to comment Share on other sites More sharing options...
Mcgruff30 Posted August 21, 2009 Share Posted August 21, 2009 THANK YOU! Looks like .xdp is my answer Thanks!Hey,I'm a newbie here and am trying to fill in the fields of a PDF and I came across this post. Can you explain how you are accessing the .xdp data so I can wrap my head around it?Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now