Paulie Posted June 3, 2006 Share Posted June 3, 2006 If i wanted to view a powerpoint presentation after running an .au3 compiled to .exe, how would i do it without like the powerpoint startup screen and stuff, just play the slide show, and that was it, how would i do that? ty Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted June 3, 2006 Moderators Share Posted June 3, 2006 (edited) If i wanted to view a powerpoint presentation after running an .au3 compiled to .exe, how would i do it without like the powerpoint startup screen and stuff, just play the slide show, and that was it,how would i do that?tyI'm not sure if he ever posted anything on it, but you might do a search for LxP+PowerPoint. He was big into PowerPoint, and quite active on the forum, with a wealth of knowledge, before school/teaching took over his time.Not really an answer, but maybe some help if he did.Edit:The second one, Jdeb gives an example of how to show:http://www.autoitscript.com/forum/index.ph...8&hl=PowerPointhttp://www.autoitscript.com/forum/index.ph...2&hl=PowerPoint Edited June 3, 2006 by SmOke_N Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Paulie Posted June 4, 2006 Author Share Posted June 4, 2006 Thanks Smoke, Those links gave me an idea, however, me and my no0biness with command lines and special ways to run prgrams and whatever it is that JDeb was talking about was WAY beyond my understanding, :"> it was so beyond me, that I was unsure as to how to mod it to work with my ppt, all my stab-in-the-dark guesses return errors, and i dunno how to do this problem is, I need it to run the ppt directly in show form, (preferably) without the 3 min loading time of the ppt program itself. I do not know where on the comp the user is going to have the files, but i know the .exe and the .ppt are in the same place, so i think i'll need to figure out how to use "@ScriptDir" in the running of the ppt I need direction ty Link to comment Share on other sites More sharing options...
nfwu Posted June 4, 2006 Share Posted June 4, 2006 Very Simple Question. 1st you have to save the ppt presentation as a pps file. (File>Save As... From File Type select Powerpoint Slideshow) Then you can just double-click the pps file you just created! #) TwitterOut of date stuff:Scripts: Sudoku Solver | Webserver | 3D library (Pure AutoIt) | Wood's GadgetsUDFs: _WoodUniqueID() | _DialogEditIni() | _Console*() | _GetIPConfigData() | _URLEncode/Decode() Link to comment Share on other sites More sharing options...
Paulie Posted June 5, 2006 Author Share Posted June 5, 2006 (edited) Very Simple Question.1st you have to save the ppt presentation as a pps file.(File>Save As... From File Type select Powerpoint Slideshow)Then you can just double-click the pps file you just created!#)Thanks! Now i understand the difference between ppt and ppsNow i just need to figure out how to make it auto run when you click the button on the popup GUI or press the space bar Hotkey Edited June 5, 2006 by Paulie Link to comment Share on other sites More sharing options...
Paulie Posted June 5, 2006 Author Share Posted June 5, 2006 *Bump* Could someone please help me I just need to know how to make a script (or modify smoke's examples) to fit my code with my ppt/pps presentation, and so the file will run as long as in the script dir PLEASE help me This project is due tommarow(sp) ty Link to comment Share on other sites More sharing options...
nfwu Posted June 5, 2006 Share Posted June 5, 2006 Could you post both presentation and AutoIt scripts here and I'll see what I can do. #) TwitterOut of date stuff:Scripts: Sudoku Solver | Webserver | 3D library (Pure AutoIt) | Wood's GadgetsUDFs: _WoodUniqueID() | _DialogEditIni() | _Console*() | _GetIPConfigData() | _URLEncode/Decode() Link to comment Share on other sites More sharing options...
Paulie Posted June 5, 2006 Author Share Posted June 5, 2006 (edited) Could you post both presentation and AutoIt scripts here and I'll see what I can do. #)okay, heres autoit code CODE #include <GUIConstants.au3> ;---Hotkeys--- Hotkeyset("{ESC}", "Force_Quit") Hotkeyset("{SPACE}", "Skip_intro") ;---Variables--- Global $button_[4], $label_[4], $Intro_label_[4], $left, $top_[4], $number, $i, $n,$intro_button_[1] ;---Intro Gui build--- WinMinimizeAll() $intro = GuiCreate("", @DesktopWidth+5, @DesktopHeight, -1,-1, $WS_POPUP, $WS_EX_TOPMOST) GUISetBkColor(0x00000) GUISetState() IntroWords(1, 100, 0, 250, 10, 250, 550, 200, "The Tragedy of...", 50, 500, "Signature", 0xff0000) IntroWords(2, 225, 0, 175, 10, 175, 1000, 400, "Romeo and Juliet", 100, 500, "Signature", 0xFFFFFF) IntroWords(3, 600, 1024, 425, -10, 425, 500, 50, "Created By: Paul Sandels", 20, 500, "Signature", 0xFFFFFF) $Intro_button_[0] = GuiCtrlCreatebutton("Press ""Space"" to Begin", 500, 700, 200, 30) GuiSetState() ;---Display/detect--- While 1 $message = GUIGetMsg() If $message = $GUI_EVENT_CLOSE then exitloop If $message = $Intro_button_[0] then Skip_intro() Wend ;---Fuctions--- Func IntroWords($round, $top, $left, $limit, $steps, $lessthan, $width, $height, $label, $size, $weight, $font, $color) $Intro_label_[$round] = GUICtrlCreateLabel($label, $left, $top, $width, $height) GUICtrlSetFont( -1, $size, $weight, 0, $font) GuiCtrlSetcolor(-1, $color) For $left = $left to $limit step $steps Sleep(75) Sleep(10) GUICtrlSetPos($Intro_label_[$round], $left, $top, $width, $height) Sleep(10) Next Sleep(500) EndFunc Func Force_Quit() Exit 0 EndFunc Func Skip_intro() GUISetState(@SW_HIDE) Run(@comSpec & " /c start @Scriptdir & "R&JPaulSandels.ppt"", "", @SW_HIDE) Endfunc Powerpoint (Whole thing in one slide) Edited June 5, 2006 by Paulie Link to comment Share on other sites More sharing options...
exodius Posted June 5, 2006 Share Posted June 5, 2006 (edited) This may be too late to help... but you could look into the PowerPoint Presentation Viewer.It's considerably lighter-weight than the full program. And I just tested it and if you run it as PPTVIEW.exe "YourPowerPointPres.ppt" then it will open it up and launch you straight to it Edited June 5, 2006 by exodius 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