acehotshot Posted July 7, 2005 Posted July 7, 2005 Hi there, I am really new to all these but got to write a script which can automatically perform some task with the printer with just an enter bottom. how should i go about doing it... someone please help. thanks a million...
blindwig Posted July 7, 2005 Posted July 7, 2005 Go to the Help File: Start -> Programs -> AutoIt v3 -> AutoIt Help File look at the tutorials: AutoIt -> Tutorials Try them, write them, make them work. Look up the commands they use, and the related commands. Look at the example provided with the commands. Start writing your own script. Ask questions when you get stuck. My UDF Threads:Pseudo-Hash: Binary Trees, Flat TablesFiles: Filter by Attribute, Tree List, Recursive Find, Recursive Folders Size, exported to XMLArrays: Nested, Pull Common Elements, Display 2dSystem: Expand Environment Strings, List Drives, List USB DrivesMisc: Multi-Layer Progress Bars, Binary FlagsStrings: Find Char(s) in String, Find String in SetOther UDF Threads I Participated:Base64 Conversions
quaizywabbit Posted July 7, 2005 Posted July 7, 2005 you can also use the search function on this forum...try searching for 'print' or 'printer' [u]Do more with pre-existing apps![/u]ANYGUIv2.8
acehotshot Posted July 7, 2005 Author Posted July 7, 2005 how do i run microsoft office word 2003 like the notepad? thanks a million
blindwig Posted July 7, 2005 Posted July 7, 2005 how do i run microsoft office word 2003 like the notepad?thanks a million<{POST_SNAPBACK}>Use the Run() command to launch programs My UDF Threads:Pseudo-Hash: Binary Trees, Flat TablesFiles: Filter by Attribute, Tree List, Recursive Find, Recursive Folders Size, exported to XMLArrays: Nested, Pull Common Elements, Display 2dSystem: Expand Environment Strings, List Drives, List USB DrivesMisc: Multi-Layer Progress Bars, Binary FlagsStrings: Find Char(s) in String, Find String in SetOther UDF Threads I Participated:Base64 Conversions
acehotshot Posted July 7, 2005 Author Posted July 7, 2005 Use the Run() command to launch programs<{POST_SNAPBACK}>thanks
acehotshot Posted July 7, 2005 Author Posted July 7, 2005 HI there, i could not find the full name of the executable (EXE, BAT, COM, or PIF) to run on microsoft office words... Is it something like this...[Run("crumpler.doc", "", @SW_MAXIMIZE)]? thanks
nobby Posted July 7, 2005 Posted July 7, 2005 Office 2003 c:\program files\Microsoft Office\office11\winword.exe Office XP c:\program files\Microsoft Office\office10\winword.exe CheersNobby
acehotshot Posted July 7, 2005 Author Posted July 7, 2005 thanks!!! Had been searching for it the whole afternoon!
acehotshot Posted July 7, 2005 Author Posted July 7, 2005 Am I going it correctly? "Run("WINWORD.EXE", "", @SW_MAXIMIZE)" i get this error...:"C:\Program Files\AutoIt3\Examples\Helpfile\Run.au3 (1) : ==> Unable to execute the external program.: Run("WINWORD.EXE", "", @SW_MAXIMIZE) The system cannot find the file specified."
nobby Posted July 7, 2005 Posted July 7, 2005 run(@ProgramFilesDir & "\microsoft office\office11\winword.exe","",@SW_MAXIMIZE) Or run("c:\program files\microsoft office\office11\winword.exe","",@SW_MAXIMIZE) CheersNobby
acehotshot Posted July 7, 2005 Author Posted July 7, 2005 Anther Qn, if I want to run a certain saved file, wat should i do? I cannot point it to the folder where the file is saved directly right... it there any other command that i can use? thanks
nobby Posted July 7, 2005 Posted July 7, 2005 run(@ProgramFilesDir & "\microsoft office\office11\winword.exe c:\data\word.doc","",@SW_MAXIMIZE) CheersNobby
acehotshot Posted July 7, 2005 Author Posted July 7, 2005 run(@ProgramFilesDir & "\microsoft office\office11\winword.exe c:\data\word.doc","",@SW_MAXIMIZE)<{POST_SNAPBACK}>how do i actually use macro like @ProgramFilesDir. I could not more information in the help file...someone please help!Thanks!
JSThePatriot Posted July 7, 2005 Posted July 7, 2005 Do a search on the helpfile for macro. It will pull everything you need to know up. Also, you can just look at the Contents tab, and the Macro Reference is right above the Function Reference. If you have more specific questions please ask them after reading that section. JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more)
acehotshot Posted July 8, 2005 Author Posted July 8, 2005 Do a search on the helpfile for macro. It will pull everything you need to know up.Also, you can just look at the Contents tab, and the Macro Reference is right above the Function Reference.If you have more specific questions please ask them after reading that section.JS<{POST_SNAPBACK}>thanks!!!
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