Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 19:54

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[AutoIt3] Wie " in Variable einfügen ?

Discussion on [AutoIt3] Wie " in Variable einfügen ? within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
greenst0rm's Avatar
 
elite*gold: 0
The Black Market: 305/0/0
Join Date: Dec 2009
Posts: 3,616
Received Thanks: 484
[AutoIt3] Wie " in Variable einfügen ?

ich will ein ", also ein Gänsefüßchen in eine Variable einfügen.
In PHP gibt es da ein Zeichen das man vor das Anführungszeichen setzt, damit es vom Compiler zum String mitgenommen wird. So wäre der PHP Code:
$variable = "\"da steht ein gänsefüßchen";
echo $variable;
das würde dann
Quote:
"da steht ein gänsefüßchen
erzeugen.

Aber ich weiss nicht welches Zeichen ich in AutoIt dafür nehmen muss.
hier noch die Codezeile um die es in meinen Script geht, evtl kann man das ganze ja auch anders lösen:
$link = _StringBetween ($sHTML, "http://www.metin2.de/user/authenticated/", ">")
greenst0rm is offline  
Old 07/29/2011, 21:30   #2
 
elite*gold: 0
Join Date: Mar 2011
Posts: 8,645
Received Thanks: 3,454
Die "doppelten" gänsefüßchen weden von ' überdeckt dann nimmst du einfach die '
Freddy​ is offline  
Thanks
1 User
Old 07/29/2011, 22:05   #3
 
Ludder231's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 880
Received Thanks: 113
in einem beispiel so: 'class="fliess10px-gelb">'

Steht oft im zusammenhang, wenn man mit Quelltexten arbeitet....
Ludder231 is offline  
Thanks
1 User
Old 07/29/2011, 22:41   #4
 
greenst0rm's Avatar
 
elite*gold: 0
The Black Market: 305/0/0
Join Date: Dec 2009
Posts: 3,616
Received Thanks: 484
danke, so funktioniert es
greenst0rm is offline  
Old 07/30/2011, 03:29   #5
 
elite*gold: 120
Join Date: Mar 2007
Posts: 392
Received Thanks: 406
oder 2x ", d.h. "" bsp $var = "muh""kuh"
Pblx is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Cost of accessing a casted variable vs. assigning the casted variable? (C#)
01/05/2011 - CO2 Programming - 5 Replies
I know that in unmanaged C++, casting is at compile-time, so it's better to avoid the assignment and simply access it for all instances. However, in C#, I have no idea since I'm pretty new to it.
Variable für "OK-Klicks" (AutoIT ;) )
12/26/2010 - AutoIt - 6 Replies
Hi @ all, €2: Ach eig meinte: Gibt es eine Möglichkeit zB 10 - (OK-Klicks) als Variable zu verfassen? Also das (OK-Klicks)?
Überprüfen ob Variable Eine Variable ist
10/16/2010 - AutoIt - 26 Replies
Hey leute ich wollte fragen ob/wie man überprüfen kann ob eine Variable eine Variable ist z.b. so $k = 1 $i = $k if $i = VARIABLE Then msgbox(0,'$i ist eine variable!!','') endif PS:Wp releast man nochma TuT (z.b. für metin2??)
Problem error: Subscript used whit non-Array variable "
08/26/2010 - Last Chaos - 1 Replies
hey leute, seitdem mein laptop ein windows update gemacht hat funktioniert der ultra bot nicht. es dann kommt immer die fehlermeldung " error: Subscript used whit non-Array variable " vor diesem update ging der bot noch.
[Request]AutoIt3 Capture mouse position in a variable?
01/17/2008 - Tutorials - 1 Replies
I'm trying to make a small simple to use botting program and I noticed the mouse click command needs coordinates. I looked thru the list of functions etc. Couldent find a way to store your current mouse position into a variable of X and Y **Or something like that** so I figured I would come to the forum and ask if anyone knows a way how?



All times are GMT +1. The time now is 19:56.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.