View Full Version : ayuda
harriet
10-31-2008, 12:58 PM
Hola a todos:
Perdonar por dirigirme a vosotros en español , pero no hacerlo en ingles.
Mi problema es el siguiente:
Estoy intentando hacer un formulario para mi trabajo , en el que voy incluyendo una serie de datos ..
En primer lugar combierto el texto del campo que relleno en una variable llamada maquina:
maquina = Input.GetText("Input1");
Asi con todos los campos
El problema esta a la hora de generar el texto.
Lo que no se es como incluir esta variable en el documento de texto
Al boton de generar el texto le asigno el scrip:
TextFile.WriteFromString
Pero no se:
como incluir la variable maquina en el texto
como insertar una nueva linea
Antes lo hice con el AutoPlay Media Studio 4.0 y con mi XP funcionaba ferfectamente , pero en el Vista no . Por eso lo estoy intentando hacer con esta version del programa
Me gustaria que alguien me ayudase
ShadowUK
10-31-2008, 01:01 PM
This forum is english-only, Please repost your message in english.
longedge
10-31-2008, 01:30 PM
Welcome to the forum Harriet. As ShadowUK says we are expected to only use English here. If you don't speak any, can I suggest that you try Google Translate which gave me the following translation of your post. Not perfect but -
"Hello everyone:
Forgiven by addressing you in Spanish, but not in English.
My problem is:
I'm trying to make a form for my job, which I am going to include a series of data ..
First combierto the text of the field filler in a variable called machine:
Input.GetText machine = ( "Input1");
So with all fields
The problem is to generate the text.
What is not is how to include this variable in the text document
Button to generate the text you attach the Scrip:
TextFile.WriteFromString
But do not:
1. include the variable machine in the text
2. as inserting a new line
Before I did with the AutoPlay Media Studio 4.0 and my XP operating ferfectamente, but not in Vista. That's why I'm trying to do with this version of the program
I would like someone to help me"
If I understand then you are asking how to join pieces of text together which is know as concatenation. So for example you get the text from the Input as a variable maquina. If you had another variable for example maquina2 and wanted to join them together then -
result = maquina.." is bigger than "..maquina2
would do it. The " " marks allow you to add specific text.
presidente
11-01-2008, 11:41 AM
Hola harriet,
creo aqui casi no hay personas que pueden responderte en espanol.
Para resolver tu problema:
TextFile.WriteFromString("C:\\MyFile.txt", "Eso es el texto de harriet, con la variable "..maquina.." que ella quiere escribir en un fichero. Ahora ella necesita una linea nueva aqui.\r\nAquí la tiene.", false);
Espero que te ayudo.
Bruce
11-01-2008, 11:47 AM
Welcome to the forum Harriet. As ShadowUK says we are expected to only use English here. If you don't speak any, can I suggest that you try Google Translate.
http://translate.google.com/translate_t#
English please. :yes
presidente
11-01-2008, 12:17 PM
This translations made by machines are a problem.
They don´t know what you want to say and they changes everytime - more or less - the sense.
kankan
11-03-2008, 06:40 PM
HOLA PARA HACER ESO ES SENCILLO EN EL BOTON PONES ESTO
TextFile.WriteFromString("C:\\tutexto.txt",maquina, false);
ya simple y facil
http://www.flow.wen9.net
Josué Alba
11-06-2008, 01:36 PM
Hola a todos:
Perdonar por dirigirme a vosotros en español , pero no hacerlo en ingles.
Mi problema es el siguiente:
Estoy intentando hacer un formulario para mi trabajo , en el que voy incluyendo una serie de datos ..
En primer lugar combierto el texto del campo que relleno en una variable llamada maquina:
maquina = Input.GetText("Input1");
Asi con todos los campos
El problema esta a la hora de generar el texto.
Lo que no se es como incluir esta variable en el documento de texto
Al boton de generar el texto le asigno el scrip:
TextFile.WriteFromString
Pero no se:
como incluir la variable maquina en el texto
como insertar una nueva linea
Antes lo hice con el AutoPlay Media Studio 4.0 y con mi XP funcionaba ferfectamente , pero en el Vista no . Por eso lo estoy intentando hacer con esta version del programa
Me gustaria que alguien me ayudase
Well firstiful is sad that this community have people that answer to a help issue with something like. THIS IS ENGLISH-ONLY GET AWAY AND LEARN IT BEFORE COMMING TO ASK FOR ANY HELP. So I´m gonna offer myself to help IN SPANISH 'cause I can speak both.
Hola amigo. Antes que nada perdon por el baboso que dice que aca no se ayuda a personas de habla hispana.
La cosa es facil mira, para agregar una variable solo tienes que poner el nombre de la variabale (en tu caso maquina) sin comillas en el campo que deses ocupar.
En tu caso seria algo asi (lo tomo del ejemplo anterior y te explico)
TextFile.WriteFromString(""C:\\archivo.txt",Eso es el texto de harriet, con la variable "..maquina.." que ella quiere escribir en un fichero. Ahora ella necesita una linea nueva aqui.\r\nAquí la tiene.", false);
Esta funcion escribe un archivo de texto desde un string.
El primer parametro ("C:\\archivo.txt") indica la direccion y nombre del archivo donde lo va a guardar.
Si quisieras que se guardara en la carpeta de windows por ejemplo seria algo asi
_WindowsFolder.."\\archivo.txt"
Donde _WindowsFolder es la carpeta windows del sistema, y recuerda que para concatenar (unir dos strings) siempre se usa .. despues las dos \\ porque si pones una no funciona ya que \ es una tecla de escape y es necesario ponerlo dos veces para indicar que quieres usar la \. Luego solo el nombre de archivo.
Luego el segundo parametro pones el texto que desees. Si quisieras unir dos variables, variable1 = "hola" y variable2 = "que tal?" el modo adecuado seria.
variable1.. " " ..variable2
que te daria por resultado: Hola que tal?
Si quisieras poner la variable nombre = "Jorge" en medio y terminar con la pregunta, como estas? pones:
variable1.. " " ..nombre.. " " ..variable2 .. " como estas?"
Para poner una nueva linea pones "\n", para retorno de carro "\r", para tabulador "\t" donde la \ es la tecla de escape como mencionaba antes.
Espero serte de ayuda como sea puedes mandarme un PM y me agregas al msn y te ayudo en lo que se te ofresca.
rexzooly
11-06-2008, 06:04 PM
Well firstiful is sad that this community have people that answer to a help issue with something like. THIS IS ENGLISH-ONLY GET AWAY AND LEARN IT BEFORE COMMING TO ASK FOR ANY HELP. So I´m gonna offer myself to help IN SPANISH 'cause I can speak both.
Hola amigo. Antes que nada perdon por el baboso que dice que aca no se ayuda a personas de habla hispana.
La cosa es facil mira, para agregar una variable solo tienes que poner el nombre de la variabale (en tu caso maquina) sin comillas en el campo que deses ocupar.
En tu caso seria algo asi (lo tomo del ejemplo anterior y te explico)
TextFile.WriteFromString(""C:\\archivo.txt",Eso es el texto de harriet, con la variable "..maquina.." que ella quiere escribir en un fichero. Ahora ella necesita una linea nueva aqui.\r\nAquí la tiene.", false);
Esta funcion escribe un archivo de texto desde un string.
El primer parametro ("C:\\archivo.txt") indica la direccion y nombre del archivo donde lo va a guardar.
Si quisieras que se guardara en la carpeta de windows por ejemplo seria algo asi
_WindowsFolder.."\\archivo.txt"
Donde _WindowsFolder es la carpeta windows del sistema, y recuerda que para concatenar (unir dos strings) siempre se usa .. despues las dos \\ porque si pones una no funciona ya que \ es una tecla de escape y es necesario ponerlo dos veces para indicar que quieres usar la \. Luego solo el nombre de archivo.
Luego el segundo parametro pones el texto que desees. Si quisieras unir dos variables, variable1 = "hola" y variable2 = "que tal?" el modo adecuado seria.
variable1.. " " ..variable2
que te daria por resultado: Hola que tal?
Si quisieras poner la variable nombre = "Jorge" en medio y terminar con la pregunta, como estas? pones:
variable1.. " " ..nombre.. " " ..variable2 .. " como estas?"
Para poner una nueva linea pones "\n", para retorno de carro "\r", para tabulador "\t" donde la \ es la tecla de escape como mencionaba antes.
Espero serte de ayuda como sea puedes mandarme un PM y me agregas al msn y te ayudo en lo que se te ofresca.
The simply asked for them to translate and also gave them the google link to do so, so please don't say no one wants to help but english is more worldwide so please when we asked for someone as simple as that don't make use out to be bad.
Josué Alba
11-06-2008, 08:37 PM
This forum is english-only, Please repost your message in english.
He did. I was not talking about anyone else
mwreyf1
11-06-2008, 08:54 PM
If you feel compelled to respond to non-english posts then do so by sending a PRIVATE MESSAGE.
That way you are not VIOLATING forum policy.
It's that simple.
Where is a MODERATOR when you need one?
presidente
11-07-2008, 03:20 PM
A translation made by google never will content 100% of the sense of the original text in spain.
I understand that this forum is in english, but the first intention of this forum is to help, or not?
OK, english is international. But I can´t understand why the most people who speak english like native language, are not able to understand other languages.
Why the rest of the world don´t have problems to speak three or four languages?
I think, it´s better for a product if the support is given not only in english.
Shreaming for the Moderator because of "Violation of the forum policy" (not english post) remembers me of the people called "Blockwart" looking that nobody was hearing english radio in the times of uncle Adolf H.
So don´t call the modertor and be pride that in this forum, people can obtain help in a lot of languages.
mwreyf1
11-07-2008, 04:03 PM
Did you not see the suggestion to do a Private Message?
What is so wrong with that.
Does the user not get help as requested.
Some here are just being difficult and trying to sidestep the forum RULES.
The RULES are not for us to decide which to break and which not to break.
FOLLOW THE RULES...
Josué Alba
11-07-2008, 09:13 PM
If you feel compelled to respond to non-english posts then do so by sending a PRIVATE MESSAGE.
That way you are not VIOLATING forum policy.
It's that simple.
Where is a MODERATOR when you need one?
Forum Rules
Registration to this forum is free! We do insist that you abide by the rules and policies detailed below. If you agree to the terms, please check the 'I agree' checkbox and press the 'Register' button below. If you would like to cancel the registration, click here to return to the forums index.
While the administrators and moderators of this forum will attempt to remove or edit any generally objectionable material as quickly as possible, it is impossible to review every message. Therefore you acknowledge that all posts made to these forums express the views and opinions of the author and not the administrators, moderators or webmaster (except for posts by these people) and hence will not be held liable.
You agree not to post any copyrighted, abusive, obscene, vulgar, slanderous, hateful, threatening, sexually-oriented or any other material that may violate any applicable laws. Doing so may lead to you being immediately and permanently banned (and your service provider being informed). The IP address of all posts is recorded to aid in enforcing these conditions. Any material, information or idea you transmit to or post on this site by any means will be treated as non-proprietary, and may be used by Indigo Rose Software Design Corporation or its owners for any purpose whatsoever, including, but not limited to, developing, manufacturing and marketing products. You agree that the webmaster, administrator and moderators of this forum have the right to remove, edit, move or close any topic at any time should they see fit. As a user you agree to any information you have entered above being stored in a database. While this information will not be disclosed to any third party without your consent the webmaster, administrator and moderators cannot be held responsible for any hacking attempt that may lead to the data being compromised.
This forum system uses cookies to store information on your local computer. These cookies do not contain any of the information you have entered above; they serve only to improve your viewing pleasure. The e-mail address is used only for confirming your registration details and password (and for sending new passwords should you forget your current one and the occassional system bulletin). It will not be given or sold to any third party. We hate spam too!
I can't find the part where says something about English only forums. Would you be so nice to point it for me?
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.