Jump to content

tobject

Active Members
  • Posts

    122
  • Joined

  • Last visited

tobject's Achievements

Adventurer

Adventurer (3/7)

0

Reputation

  1. Hey all. Need some help automating MS Word dictation service. It needs to keep going and if it's stops to activate it again If it loses focus it stops dictation service Activation/click is weird. It activated 3rd button from the ribbon so I moved Dictate to 3rd position on 1nd page Sometimes it's Instance1 and sometimes its instance2 I suspect it might be some default button for the ribbon or something [CLASS:NetUIHWND; INSTANCE:1] Thanks in advance p.s. I do launch MS Word manually for now. I know I can launch it from COM call $WordWindow=WinActivate("Document1 - Word","Microsoft Word Docum") ;WinSetOnTop($WordWindow, "", 1) ControlFocus("", "", "[CLASS:NetUIHWND; INSTANCE:2]") Send("{DOWN}") ; Navigate Send("{ENTER}") ; Select $Dictation=ControlClick("", "", "[CLASS:NetUIHWND; INSTANCE:2]", "left", 1) while True     ;$iCount = ControlCommand($Dictation, "", "[CLASS:NetUIHWND; INSTANCE:1]", "IsEnabled")     ;onsoleWrite($iCount )      If Not WinActive($WordWindow) Then          WinActivate($WordWindow)          $Dictation=ControlClick("", "", "[CLASS:NetUIHWND; INSTANCE:1]", "left", 1)      EndIf     sleep(1000) WEnd
  2. I used to write a Music editor as part of my CS university thesis. Had to do daily trips to conservatory. We did pretty advanced stuff with music theory algorithms. Need to dust off my old Pascal source code and see if I can port it someday
  3. I'm just amazed how many unhelpful and judgmental people are here For those who needed translation, the question was "WHO would like to help me to make Google .Net API compatible with Autoit" Thanks CarlMontgomery, I'll check it out
  4. can this be used for a portfolio of stocks to decide which stock to remove and which to add to minimize losses or maximize gains?
  5. I really think you can't read. Where did I ask about your opinion? I want to use Google API with Autoit and I don't have C# installed or I'd already done it myself. Doh!
  6. Hi folks I need some help with Visual Studio & Google Data API Trying to make Google Data API COM compatible but I only have VB.Net and that sucker is C# So here's what you need to do 1. Download & Install Google Data API http://code.google.com/p/google-gdata/downloads/list 2. Recompile C# source in VS2010 with switches -Make assemly COM-visible -Register for COM interop 3. After that see if COM objects are created for each Google.GData.AccessControl.DLL Google.GData.Analytics.dll Google.GData.Apps.dll Google.GData.Blogger.dll Google.GData.Calendar.dll Google.GData.Calendar.tlb Google.GData.Client.dll Google.GData.CodeSearch.dll Google.GData.Contacts.dll Google.GData.Documents.dll Google.GData.Extensions.dll Google.GData.GoogleBase.dll Google.GData.Health.dll Google.GData.Photos.dll Google.GData.Spreadsheets.dll Google.GData.YouTube.dll 4. if COM is working Upload those recompiled DLLs here so we can use them with AutoIt
  7. just replace <PUTBUTTONIDHERE> with your real buttonID #include <ButtonConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("PayMeNow", 463, 153, 192, 114) $btnPayMe = GUICtrlCreateButton("Pay Me Now", 168, 48, 75, 25, $WS_GROUP) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $btnPayMe ShellExecute("https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&currency_code=USD&hosted_button_id=<PUTBUTTONIDHERE>"); EndSwitch WEnd
  8. Is there an option to automatically backup au3 source code while I'm editing in SciTE? How do I do that?
  9. Thanks, mate, but I'll stick to my bible
  10. This litte script gets you all Craigslist sites #include <Array.au3> #include <INET.au3> $CraigCitiesURL="http://www.craigslist.org/about/sites"; $Source=_INetGetSource($CraigCitiesURL) $Source=StringRegExpReplace($Source,"<div class=""footer"">([\s\S]*?)</div>",""); $ArrCraigSites=StringRegExp($Source,"<a href=""(h[\s\S]*?)"">",3); _ArrayDisplay($ArrCraigSites)
  11. Not my COM object, so I really should not. Doc says String Show me some examples and I try and see if it works
  12. yep, same but I do think it has something to do with strings as parameters
  13. I have overloaded function inside COM object (according to documentation) $oMyComObj=ObjCreate("Blah-blah") $oMyComObj.MyFunction(1234) $oMyComObj.MyFunction("gogreen") ================================ MyFunction (Int64) MyFunction (String) When I pass integer, function works when I pass string Autoit gives me "The requested action with this object has failed.:" MyFunction("gogreen")^Error How does COM object handles overload? additional parameters?
×
×
  • Create New...