Jump to content

happytc

Active Members
  • Posts

    119
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

happytc's Achievements

Adventurer

Adventurer (3/7)

0

Reputation

  1. @ Valik @ 滚你妈的蛋,你个婊子养的。“我要是你我早没有脸活了”、“我可是不象你一样无耻”、“我要是你我就跳楼” “狐假虎威”“狼狈为*”“兔死狐悲”“小肚鸡肠”,也叫做讽刺吧! “我不骂人,我骂不是人的人”、“恶有恶报,不是不报,时辰未到”、“骂我就等于骂自己”
  2. @Valik: if you didnot add those otiose sentences. why could somebody modify my post? is there server vulnerability?
  3. medincst followed this thread by a link about Viagra aphrodisiac, then I only said: what a fucking thing . why did you want to ban me ? who removed that link? who added following sentences?
  4. Who writed following sentences, not me! Valik: did you writed it ? I'm a dumbass and like to quote spam so the mods have to do extra work and edit my posts as well as chastise me for being so stupid. A winner is me!
  5. What a fucking thing! I'm a dumbass and like to quote spam so the mods have to do extra work and edit my posts as well as chastise me for being so stupid. A winner is me!
  6. Basically, au3 Code only has a main thread, how affinify?
  7. Ok, on the other hand, could I assign only one core process to run au3 code?
  8. Yesterday I got a computer with 6 core processor(Intel 6-Core Gulftown i7 990x). Then I want to know there is an initiative way to assign two or more core processor to use by au3? <h3 class="r"></h3>
  9. This method only got an incomplete set of results from some CMDs needing more time and more return chars, like :Systeminfo,
  10. I have writed a UDF for Updown control! try following code: #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <UpdownConstants.au3> #include "_GUICtrlUpdown.au3" $Form1 = GUICreate("Test UpDown", 288, 284,-1,-1) $Input1 = GUICtrlCreateInput("", 92, 116, 57, 21, BitOR($GUI_SS_DEFAULT_INPUT,$ES_RIGHT)) $Input2= GUICtrlCreateInput("0", 155, 116, 15, 21) $Updown = GUICtrlCreateUpdown($Input2,$UDS_ARROWKEYS) Local $aUDACCEL[1][2] = [[0, 1]] _GUICtrlUpdown_SetAccel($Updown, $aUDACCEL) ;Now It's constant:1 for increase and decrease GUISetState(@SW_SHOW) GUICtrlSetState ( $Input2, $GUI_FOCUS ) $Actual=100 _Display_It() While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit case $input2 $Actual=Number(GUICtrlRead($input1)) + (Number(GUICtrlRead($input2))*0.01) _Display_It() GUICtrlSetData($input2, 0) EndSwitch WEnd Func _Display_It() GUICtrlSetData($input1, StringFormat("%#.2f $", $Actual)) EndFunc_GUICtrlUpdown.au3
  11. Try this: $Num = 1 For $i = 0 To 100 $Num += 0.1 ConsoleWrite($Num & @CRLF) Next
  12. So good work! One question: how do you compile AutoItObject.au3 to DLL file? (In the Function of _File_AutoItObject_dll(), how do you get $string?)
  13. Those ID in your link were your waistcoat!
  14. #include <IE.au3> $oIE = _IECreateEmbedded() $hGui = GUICreate('Test',800,600) GUICtrlCreateObj($oIE,0,0,800,600) _IENavigate($oIE,"http://www.autoitscript.com/forum/forum/2-general-help-and-support/") GUISetState(@SW_SHOW, $hGui) _HideScroll($oIE) Do Until Sleep(10) * GUIGetMsg()==-3 Func _HideScroll($Temp_Object) Local $hText = 'var temp_h1 = document.body.clientHeight;'& _ 'var temp_h2 = document.documentElement.clientHeight;'& _ 'var isXhtml = (temp_h2<=temp_h1&&temp_h2!=0)?true:false;'& _ 'var htmlbody = isXhtml?document.documentElement:document.body;'& _ 'htmlbody.style.overflow = "hidden";' $Temp_Object.document.parentwindow.execscript($hText,"javascript") EndFunc
  15. It's hardy to use. Maybe you don't define so many hotkey. Using visualization to do it!
×
×
  • Create New...