AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

plaats alle leuke VBscripts hier

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Utilities & Resources
View previous topic :: View next topic  
Author Message
kuike



Joined: 26 Mar 2006
Posts: 15

PostPosted: Tue Mar 28, 2006 4:43 pm    Post subject: plaats alle leuke VBscripts hier Reply with quote

plaats al jullie scripts hier met de bedoeling wat ze doen
Back to top
View user's profile Send private message Send e-mail
kuike



Joined: 26 Mar 2006
Posts: 15

PostPosted: Tue Mar 28, 2006 4:43 pm    Post subject: Autotalker Reply with quote

Dit is een Autotalker.
Hij vraagd eerst of je m wil gebruiken.
Dan vraagd ie wat je wil typen.
Dan vraagd ie hoevaak.
Ik gebruik m zelf voor een onlinespel: runescape maar je kan hem ook voor andere spellen gebruiken.
Je kan de waarde van sleep verandere zodat ie sneller het woord stuurt.
je kan er ook een datum op zetten zodat ie maar een aantal dagen doet.
Als je er dan een datum in wil dan moet je het er gewoon boven aan zetten en dan kan je gewoon de datum verandere.

datum
Code:
If Date > CDate("22-04-2006") then X = msgbox ("Deze Autotalker® is verlopen.", 1024, "Autotalker® ")
If Date > CDate("22-04-2006") Then Wscript.Quit


De Autotalker
Code:
vraag=inputbox ("Wil je nu de Autotalker® gaan gebruiken     [y/n]??","Autotalker®")
If (vraag ) = "n" Then: Wscript.Quit
If (vraag) = "y" Then: a=inputbox("Typ dan hier je zin:", "Autotalker®")
If (a) = Cancel Then Wscript.Quit

Dim a
Dim text
Dim o

h=inputbox ("Hoevaak moet het worden getypt?", "Autotalker®")
text = h
If (h) = Cancel Then Wscript.Quit
Set WshShell = WScript.CreateObject ("WScript.Shell")
For o = 1 To text

 
WshShell.SendKeys +a
WScript.Sleep 2500
WshShell.SendKeys "{ENTER}"
Next
Back to top
View user's profile Send private message Send e-mail
Guest






PostPosted: Tue Mar 28, 2006 5:04 pm    Post subject: Reply with quote

nothing in here you couldn't do with AHK...

why are you posting this anyway?
Back to top
peejay



Joined: 04 Mar 2005
Posts: 40
Location: Netherlands

PostPosted: Tue Mar 28, 2006 5:45 pm    Post subject: Reply with quote

It is nice to read Dutch here for a change (for me, anyway Very Happy). And no, it wasn't me!

The title translates as "Place all your nice VBscripts here" (well, maybe you all guessed that).
Maybe the author was confused!?
_________________
The Gods smile upon you. Beware - it is probably because they know what is going to happen to you next, and find it amusing. To them, anyway. --- Discworld Horrorscope: http://www.weirdnes.force9.co.uk/stars3.html
Back to top
View user's profile Send private message
Greg



Joined: 22 Dec 2005
Posts: 246

PostPosted: Tue Mar 28, 2006 5:48 pm    Post subject: Reply with quote

I don't understand how "datum" is considered a nice script. If the date is some hard coded date, then prints something about that date. Just incase you forgot?
Back to top
View user's profile Send private message
PhiLho



Joined: 27 Dec 2005
Posts: 6721
Location: France (near Paris)

PostPosted: Tue Mar 28, 2006 6:24 pm    Post subject: Reply with quote

peejay wrote:
Maybe the author was confused!?

Doubly confused: this is an English forum, and specific about the AutoHotkey language...
Is this spam?
_________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2")
Back to top
View user's profile Send private message Visit poster's website
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Tue Mar 28, 2006 6:32 pm    Post subject: Reply with quote

Since the Scripts forum is intended for AHK scripts (not VBscript or other languages), I've moved this topic to Utilities & Resources.
Back to top
View user's profile Send private message Send e-mail
peejay



Joined: 04 Mar 2005
Posts: 40
Location: Netherlands

PostPosted: Wed Mar 29, 2006 5:11 pm    Post subject: Reply with quote

Greg wrote:
I don't understand how "datum" is considered a nice script. If the date is some hard coded date, then prints something about that date. Just incase you forgot?
Well,
Quote:
je kan er ook een datum op zetten zodat ie maar een aantal dagen doet.
translates as
"You can also set a date, so it will only work for a limited number of days."

But it would have helped if the author had written in English...
_________________
The Gods smile upon you. Beware - it is probably because they know what is going to happen to you next, and find it amusing. To them, anyway. --- Discworld Horrorscope: http://www.weirdnes.force9.co.uk/stars3.html
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Utilities & Resources All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group