Jump to content

viptnn

Members
  • Posts

    14
  • Joined

  • Last visited

Everything posted by viptnn

  1. I need to select radio 3 of question 13, has anybody know how to auto select <div class="dvquestion" id="questionitem-1" style="display:none"> <h3 class="text-orange">Question 1 </h3> <p><div>Who is Mr Bean?<br></div></p> <div class="lb_question"> <label><input type="radio" name="anwswer_13" value="1"> <span onclick="return selectCard(this);">Super man</span></label><br> <label><input type="radio" name="anwswer_13" value="2"> <span onclick="return selectCard(this);">Policeman</span></label><br> <label><input type="radio" name="anwswer_13" value="3"> <span onclick="return selectCard(this);">Actor</span></label><br> </div>
  2. No, i didn't i study only Autoit code :(, if you could pls help me, i dont want my program slower than VBA code
  3. i known that way but i need to give an example for you to understand _Word_DocFindReplace($oDoc,"word1","one") It take 0.5 second, very fast alright? but if we loop to 100-1000 time, it take 50-500 second too long if we compare with vba script
  4. Thank Jos, pls show the suggestions, i ll try myself
  5. i looked but no func can replace multi word at same time, i have a lot of word need to replace so i want replace all as fast as well
  6. i could to pay you if you have time to help me complete my program.
  7. I have a document of 100 pages. i need to replace a lot of characters and words For example ∂,∆, π, lee ≈ with 'de', 'trang', 'P', 'loo' accordingly. _Word_DocFindReplace($oDoc, "∂", "de") can do ok, but replace single word and take too long time. How i can i search multiple letters(or even words) and replace it? Please help. I found VBA code maybe do work, if could pls translate to autoit thanks. Sub MultiReplace() Dim StrFind As String, StrRepl As String Dim i As Long StrFind = "∂,∆,π,lee " StrRepl = "de,trang,P,loo" Set RngTxt = Selection.Range For i = 0 To UBound(Split(StrFind, ",")) Selection.HomeKey wdStory Selection.Find.ClearFormatting With Selection.Find .ClearFormatting .Replacement.ClearFormatting .Text = Split(StrFind, ",")(i) .Replacement.Text = Split(StrRepl, ",")(i) .Format = False .MatchWholeWord = True .MatchAllWordForms = False .MatchWildcards = False .Execute Replace:=wdReplaceAll End With Next i End Sub
  8. any body who can code this form for me? i have a gift from paypal for who can do that, thanks a lot!
  9. My program need sql database to contain more data, i got "SQLite GreenCan_demo BLOB in Listview 1.0.0.4" but it can't work well. I saved customer information into sqlite database. I need search box like this, anyone can help me? , thank u so much!
  10. Its look like very easy, i can do with second case. Thank you so much Dim $oDoc = $oWord.ActiveDocument With $oDoc.Tables.Item(1).Cell(1, 1).Range .Text = "Name" .ParagraphFormat.Alignment = "Word.WdParagraphAlignment.wdAlignParagraphRight" EndWith
  11. Autoit is the first language i study, so please teach me how to translate VBA to autoit. Me.Application.ActiveDocument.Tables.Item(1).Rows.Add()With Me.Tables.Item(1).Cell(1, 1).Range .Text = "Name" .ParagraphFormat.Alignment = Word.WdParagraphAlignment.wdAlignParagraphRight End With
  12. anyone know how to edit available table at word: add row or fill data to cell. I have searched but not found
  13. has any ideas to set printer print on both side? some document i need single, some i need duplex, i don't want set default setting.
  14. i used word.au3 udf but can't print on both sides with command _Word_DocPrint any one know how to do that? thanks
×
×
  • Create New...