Jump to content

svennie

Active Members
  • Posts

    66
  • Joined

  • Last visited

Recent Profile Visitors

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

svennie's Achievements

Wayfarer

Wayfarer (2/7)

0

Reputation

  1. Hi all, This might be a very dumb question, but I just can't figure out how to get it working. I start out creating a button: $Button = GUICtrlCreateButton("My button",0,0)oÝ÷ Ø Ýiû§rب«­¢+ÙչѥÙÑ ±±½½¸ ¤( ±±½½¹Q¥À ÀÌØí ÕÑѽ¸°ÅÕ½Ðí!±±¼ÅÕ½Ðì°U% ÑɱI ÀÌØí ÕÑѽ¸¤¤)¹Õ¹ìôôÐíÑ¥ÙÑ ±±½½¸oÝ÷ Ø Ý¡÷(º»¶jYh¢tâ¥û§rب«­¢+ÙÕ¹ ±±½½¹Q¥À ÀÌØí ±±½½¹YÈÄ°ÀÌØí ±±½½¹YÈÈ°ÀÌØí ±±½½¹YÈ̤(U% ÑɱMÑQ¥À ÀÌØí ±±½½¹YÈÄ°ÀÌØí ±±½½¹YÈÈ°ÀÌØí ±±½½¹YÈÌ°À°Ì¤)¹Õ¹ìôôÐí ±±½½¹Q¥ÀoÝ÷ Ø Ý¶®º+jëh×6==> Variable used without being declared.: BalloonTip($Button, "Hello", GUICtrlRead($Button)) BalloonTip(^ ERROR How can I get this working? Thanks, Sven
  2. To make everything more clear: You choose your AU3 file, for example that file containts: Then you choose one of the TXT files that are attached (assuming that you downloaded them to your computer).This file contains: Then the program basically combines them to this: It's just a very simple combiner that he called a locker. testingtest, feel free to add to the first post. Hope I helped ~ Sven
  3. Maybe you want to add my 2 UDF's: Media UDF INet Adv UDF But they are probably to simple, you can decide it.
  4. I've not been on the community for a long time but i'm back . I've seen now that there where alots of good replies but also problems with _MediaSave function. It seems that Emperor's code will let it work and updated the UDF with it. Emperor, thanks!
  5. Hi, If you would like to use Mozilla instead of IE for ActiveX, try out this . You can download the ActiveX control here. It seems to also be included in newer versions of Mozilla or something, however it seems to not be included in Firefox. So just get it there. Here's the example: #include <GUIConstants.au3> $oIE = ObjCreate("Mozilla.Browser.1") GUICreate ( "Embedded Web control Test", 640, 580,(@DesktopWidth-640)/2, (@DesktopHeight-580)/2 , $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS) $GUIActiveX = GUICtrlCreateObj ( $oIE, 10, 40 , 600 , 360 ) $GUI_Button_Back = GuiCtrlCreateButton ("Back", 10, 420, 100, 30) $GUI_Button_Forward = GuiCtrlCreateButton ("Forward", 120, 420, 100, 30) $GUI_Button_Home = GuiCtrlCreateButton ("Home", 230, 420, 100, 30) $GUI_Button_Stop = GuiCtrlCreateButton ("Stop", 330, 420, 100, 30) GUISetState() $oIE.navigate("http://www.autoitscript.com") While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case $msg = $GUI_Button_Home $oIE.navigate("http://www.autoitscript.com") Case $msg = $GUI_Button_Back $oIE.GoBack Case $msg = $GUI_Button_Forward $oIE.GoForward Case $msg = $GUI_Button_Stop $oIE.Stop EndSelect Wend GUIDelete () Exit It uses exactly the same API as IE so just read the IE ActiveX descriptions . The ActiveX control doesnt require the whole Mozilla browser. And it will also not install it... And its the Mozilla browser, not Firefox . (get Mozilla here) And this can help with auto-installing the ActiveX Control: Hope this helps some people. Good luck! I don't know if this should be here, it's more like a tutorial on using that thing , sorry if this is the wrong place. And the ActiveX control is not my work, so don't ask my things about the ActiveX control itself. Get the source here.
  6. Yeah! Searching this for a long time , i will try it out when i am back at home. Thanks !
  7. There is no trojan at all in AutoIt, you see that no virusscanner found it except Kaspersky. Probaly ther was written an trojan in the AutoIt programmaning language some time and they added THAT SCRIPT THAT INCLUDES THOSE ACTIONS to the detection list. Problem is that all AutoIt Exe's start with the same bytes, somewhere in the middle you will find you code. Since a virusscanner looks at the first bytes it detects all the AutoIt apps instead of only the trojan. Some of those members here send a report to these virusscanners that this was wrong, and after they done some check removed it from the check list. Except Kaspersky, so if any Kaspersky user is out here... Maybe you can do a report that AutoIt is'nt a trojan. - Sven
  8. Here you go: $Handle=_MediaOpen("file.mp3") _MediaPlay($Handle,0,0,0,0,0,0,1)
  9. Not tested it, but try to replace sleep(100) with this: While 1 $Recv = TCPRecv($socket,1024) If $Recv <> "" Then ExitLoop WEnd
  10. Yeah, if you need help to convert it post it in the support forum.If you just want to post it this is a AutoIt forum. But when you still post it (what isnt right) please add to your post that it is not a AutoIt script but a (...) script.
  11. I have created that a while ago. It is also a fake one created with the GUICtrlCreate functions. But it is a nice fake version. I will search it on my PC and post it soon.
  12. No, that is not what i mean.It just must pause the script until something is received from te server.
  13. Like when i send a message "hello" to a server using TCPSend it have to wait until something was sent and then go further receiving and sending. I already tried this: While 1 If TCPRecv($f_Connect,1024) <> "" Then ExitLoop WEndAnd this: Do Until TCPRecv($f_Connect,1024) <> ""And some other ways. It's sure it responses. Since when i use Sleep(1000) it just receive it. Example of what i am doing: - Send "hello" - Wait until response received and ignore it (not immediatly return, because then a message will be send when it's still responsing on my message before) - Send "hello again" - Wait until response received ... etc (same as above) - Send "code" - Wait until response, receive it fully and then he cacluates what to do with it etc. So wait until response is the problem .
  14. Do you mean WAV instead of WMA?If so: And if you really mean WMA please say :">
×
×
  • Create New...