Search the Community
Showing results for tags 'obj'.
Found 4 results
Hello again, i have a code that changes username to favorite, my problem is how to use ObjEvent() function to catch errors, i've red Help File and Forum's Topics but i can't understand too much😐 Here is a code (I've copied this codes from a user of AutoIt Forum): $sOldUser = "Administrator" $sNewUser = "Admin" $oUser = ObjGet("WinNT://" & @ComputerName & "/" & $sOldUser & ",user") $oComputer = ObjGet("WinNT://" & @ComputerName) $oNewUser = $oComputer.MoveHere($oUser.ADsPath, $sNewUser) Thanks for your care, I'm new to AutoIt and days should be passed with my coding and practicing to don't bother you :)❤
I have 0 exp. with Objects whether in AutoIt or any other programming languages So I want to know the basic Concepts of "Objects", Please provide me some resources explaining Objects... Thanks In Advance, TD P.S I checked the AutoItX Documentation, but I didn't found the information which I needed
Hi guys. I want to open a .pptx presentation as a .pps (without change the extension) Local $obj = ObjCreate("PowerPoint.Application") Local $PresInterface = $obj.Presentations Local $objPres = $PresInterface.Open(@ScriptDir & "\Presentacion.pptx") $objPres.SlideShowSettings.Run() $obj.visible = 0 ; Waiting for user to close the window Sleep(8000) $obj.Quit() Exit I want to hide the powerpoint application before it has opened the presentation in fullscreen. But the .visible=false dosn't work whereas MSDN says it's possible. We intercepted a COM Error ! err.description is: Application.Visible : Invalid request. Hiding the application window is not allowed. err.windescription: err.number is: 80020009 Have you got an idea why it's not allowed? Another possibility which do the same thing : On msdn forum, i found this (VB): http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/e0c6bde2-ed02-42e1-87ed-36d56297fdea/ appPPT.Presentations.Open filename, WithWindow:=False But can't manage to code this with AutoIt: Local $objPres = $PresInterface.Open(@ScriptDir & "\Presentacion.pps","WithWindow:=false") Someone has an idea? Thx a lot in advance, Tim
I can't find solution to check if object have variable or not, i have 2 variables in object, i use: $oIE = _IECreate('D:\Dropbox\Projects\au3\IE_Builder\test.html') $oInputs = _IETagNameGetCollection($oIE, "form") For $oInput In $oInputs $d = $oInput.name If $d = 0 then ConsoleWrite("Form: " & $d & @CRLF) Next And result is: Form: 0 Form: d3e8f5e3ba12 I have tried many solutions, but no one works.... pls help. i can't separate this variables..