theguy0000 Posted October 24, 2006 Author Share Posted October 24, 2006 New Function's i'm working on: Func WebObjCreate($Obj, Global $ObjName, $nEnd = 0) Local $out If $nEnd = 0 then $out &="<script Type=Text/Javascript Language=Javascript>" $out &="var "&$ObjName&" = ActiveXObj("&$Obj&")" ConsoleWrite($out) EndIf If $nEnd = <> 0 Then $out &="<script Type=Text/Javascript Language=Javascript>" $out &="var "&$ObjName&" = NewActiveXObj("&$Obj&")" $out &="</script>" EndIf EndFunc oÝ÷ ج¶X¤xæã ·µëhr·µà¶+ÞæãyËlxÚ½«®*mjëh×6 Func WebObjFunction($ObjName, $Function) Local $out $out &=$ObjName&"."&$Function&"("&$Func&")" ConsoleWrite($out) EndFunc Use that to close the script. If you want to use functions, leave $nEnd to 0, so you can use them. Then just end it with WebObjEnd NOTE:Not testedinstead of EndIf If $nEnd = <> 0 Then just use Else and there is no reason for the & in the function func, just use =, not &= other than that, they look good. Although, they should be tested, not sure what objects to create though... and about the documentation, I do a agree now, I understand. Either way, I made my functions a lot better. Maybe I will make an installer... The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN Link to comment Share on other sites More sharing options...
NELyon Posted October 24, 2006 Share Posted October 24, 2006 I know for a fact SAPI.SpVoice works. Link to comment Share on other sites More sharing options...
theguy0000 Posted October 24, 2006 Author Share Posted October 24, 2006 I'll add you obj functions, make some docs and examples on them, see if i can get those txt docs compiled, and I'll make a quick installer for those who want it. The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN Link to comment Share on other sites More sharing options...
theguy0000 Posted October 24, 2006 Author Share Posted October 24, 2006 ok one question. How come on the first part of the create func, it says ActiveXObj, but on the second part it says NewActiveXObj? The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN Link to comment Share on other sites More sharing options...
NELyon Posted October 24, 2006 Share Posted October 24, 2006 Oh that was a typo. Just remove the "New". I had accidentally forgot the javascript syntax. Link to comment Share on other sites More sharing options...
theguy0000 Posted October 24, 2006 Author Share Posted October 24, 2006 shouldn't the create func also consolewrite in the second part (if $end <> 0)? The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN Link to comment Share on other sites More sharing options...
theguy0000 Posted October 24, 2006 Author Share Posted October 24, 2006 (edited) hope you don't mind if I cleaned it up...alot lol I still used the same way you used, just made it much cleaner. But you might want to check it because I'm not sure I have the javascript syntax just right, haven't workd in js for a long time... Func WebObjCreate($sObj, $sObjName, $fEnd = 0) Local $out='<script language="javascript" type="text/javascript">' $out &= 'var '&$sObjName&' = ActiveXObj ('&$sObj&');' If $fEnd Then $out &= '</script>' echo ($out) EndFunc actually, I think I'll remove $fEnd altogether, just always end the block, and start a new block when using a function. Then, no WebObjEnd is even needed. Edited October 24, 2006 by theguy0000 The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN Link to comment Share on other sites More sharing options...
FuryCell Posted October 27, 2006 Share Posted October 27, 2006 (edited) I have been fooling around with this for a little while and it is simply amazing. It is amazing how far AutoIt has come in the past few years. Maybe a mod can sticky this? Edited October 27, 2006 by SolidSnake HKTunes:Softpedia | GoogleCodeLyricToy:Softpedia | GoogleCodeRCTunes:Softpedia | GoogleCodeMichtaToolsProgrammer n. - An ingenious device that turns caffeine into code. Link to comment Share on other sites More sharing options...
theguy0000 Posted October 27, 2006 Author Share Posted October 27, 2006 I have been fooling around with this for a little while and it is simply amazing. It is amazing how far AutoIt has come in the past few years. Maybe a mod can sticky this?thank you and yes a sticky would be cool The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN Link to comment Share on other sites More sharing options...
theguy0000 Posted October 27, 2006 Author Share Posted October 27, 2006 any chance of a sticky? do any mods read this topic? The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN Link to comment Share on other sites More sharing options...
theguy0000 Posted January 21, 2007 Author Share Posted January 21, 2007 20 January 2007Added RSS Capabilities. You can now easily create your own RSS Feeds! See first post for code and usage. The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN Link to comment Share on other sites More sharing options...
nasars Posted February 12, 2007 Share Posted February 12, 2007 Nice addition. Can any one make portable autoit for U3 smart drive installation Link to comment Share on other sites More sharing options...
theguy0000 Posted February 12, 2007 Author Share Posted February 12, 2007 Nice addition. Can any one make portable autoit for U3 smart drive installationI'm pretty sure there was a detailed conversation about that in the Chat forum awhile ago, and I'm pretty sure that you're hijacking my thread too. Or at least posting way off topic.and welcome to the forums. The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN Link to comment Share on other sites More sharing options...
Apzo Posted February 12, 2007 Share Posted February 12, 2007 Again, excellent post. Abyss Web Server is a good WS, but it comes with its installer. Do you know another web server that could start off-the-box ? Or just a text config ? Thanks. Apzo. All the pop3 functions.Rsync your files on your USB key (or anywhere else) Link to comment Share on other sites More sharing options...
ptrex Posted February 12, 2007 Share Posted February 12, 2007 @ApzoOfcourse I know one USBWebserverGo to download and download the English version.Enjoy !!ptrex Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New Link to comment Share on other sites More sharing options...
spyrorocks Posted February 13, 2007 Share Posted February 13, 2007 I would like to see the ability to execute autoit scripts like abyss on apache. [center] My Projects: Online AutoIt Compiler - AutoForum - AutoGuestbook - AutoIt Web-based Auto Installer - Pure AutoIt Zipping Functions - ConfuseGen - MindReader - P2PChat[/center] Link to comment Share on other sites More sharing options...
theguy0000 Posted February 13, 2007 Author Share Posted February 13, 2007 (edited) I would like to see the ability to execute autoit scripts like abyss on apache.I'm pretty sure that's much more difficult. but maybe not. I'll look into it. Edited February 13, 2007 by theguy0000 The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN Link to comment Share on other sites More sharing options...
spyrorocks Posted February 14, 2007 Share Posted February 14, 2007 It is. me and dttvb have tried a few times, always unsuccesfull. [center] My Projects: Online AutoIt Compiler - AutoForum - AutoGuestbook - AutoIt Web-based Auto Installer - Pure AutoIt Zipping Functions - ConfuseGen - MindReader - P2PChat[/center] Link to comment Share on other sites More sharing options...
theguy0000 Posted March 13, 2007 Author Share Posted March 13, 2007 (edited) Update 3-12-07Added $iVarType to _Get ( )...see first postif you want to have vars that have no vale, and you had likescript.auw?myvaryou could use:_Get ("myvar", 1) and it would return True Edited March 13, 2007 by theguy0000 The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN Link to comment Share on other sites More sharing options...
kev51773 Posted March 13, 2007 Share Posted March 13, 2007 Best thread ever. Thanks to all involved in getting this working. I can now quickly and easily create 240x240 web pages to control anything I wish using my pocketpc. 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