Re: [Gambas-user] Blanks in filename and path, problems with shell

2010-05-30 Thread Benoît Minisini
> I just make each file name encapsulated with ' eg if i would like to > use > > /home/steven/My Documents/some.txt > > as a location I would do > > path = "'/home/steven/My Documents/some.txt'" > > and the > the shell cmd will work correctly like this > > cmd = "gedit " & path > shell cmd ..

Re: [Gambas-user] Blanks in filename and path, problems with shell

2010-05-30 Thread Steven James Drinnan
I just make each file name encapsulated with ' eg if i would like to use /home/steven/My Documents/some.txt as a location I would do path = "'/home/steven/My Documents/some.txt'" and the the shell cmd will work correctly like this cmd = "gedit " & path shell cmd remember shell is just

Re: [Gambas-user] Blanks in filename and path, problems with shell

2010-05-27 Thread Jorge Carrión
Gregor: Here you have the pdf manipulator in multilingual version: Spanish and English. Please tell me if it works in English, I can't test it yet. Regards El 27 de mayo de 2010 09:52, Jorge Carrión escribió: > Gregor: > Don't waste your time trans

Re: [Gambas-user] Blanks in filename and path, problems with shell

2010-05-27 Thread Jorge Carrión
Gregor: Don't waste your time translating it. I've made the translation to English yesterday. I upload it this evening to my domain and you will should download without problems. (If you want translate to german o russian I'm afraid that you have by your own...) 2010/5/26 Charlie Reinl > Am Mitt

Re: [Gambas-user] Blanks in filename and path, problems with shell

2010-05-26 Thread gregor
Hi charlie, I found it, set Spanish as default language. I translate something to german, when I start the application I get the german translation, but how i get the spanish orginal text? Have I add a spanish translation, or for what language will the untranslated text used? I try to change t

Re: [Gambas-user] Blanks in filename and path, problems with shell

2010-05-26 Thread Charlie Reinl
Am Mittwoch, den 26.05.2010, 19:46 +0200 schrieb gre...@aeppelbroe.de: > Hi Jorge, > > I got it, maybe I ask my wife for help, she speak spanish a little bit. > Maybee she have time to translate,... in german and russian,... > > But your projekt isn't set as multilanguage project, > > Gregor >

Re: [Gambas-user] Blanks in filename and path, problems with shell

2010-05-26 Thread Jorge Carrión
Excuse me. I've found the solution for my last question in the link "wiki Encyclopaedia" of the gambas page... Regards El 26 de mayo de 2010 20:25, Jorge Carrión escribió: > Yes, sorry, but I made it for my job and the only language used there is > spanish. > If there is something interested i

Re: [Gambas-user] Blanks in filename and path, problems with shell

2010-05-26 Thread Jorge Carrión
Yes, sorry, but I made it for my job and the only language used there is spanish. If there is something interested in it, I can make it multilenguage. By the way. I remember that there is a web page where upload gambas project for the community. Can someone tell me the web address? I find a link to

Re: [Gambas-user] Blanks in filename and path, problems with shell

2010-05-26 Thread gregor
Hi Jorge, I got it, maybe I ask my wife for help, she speak spanish a little bit. Maybee she have time to translate,... in german and russian,... But your projekt isn't set as multilanguage project, Gregor -- _

Re: [Gambas-user] Blanks in filename and path, problems with shell

2010-05-26 Thread Jorge Carrión
Hi Gregor. Pehaps you want take a look to this aplication . It's a little interface for pdftk that I made for my job. It not explore all pdftk posibilities, but only the most used (It is in spanish language, sorry). In the code I've solved what you are a

Re: [Gambas-user] Blanks in filename and path, problems with shell

2010-05-26 Thread gregor
> Try SHELL Quote.Shell("command_here") OK this do the same as REPLACE(STRING," ",CHR(92)&" ") but i can't do Quote.shell("pdftk input pdf.pdf background bg.pdf output out put .pdf") in that case I got 'pdftk\ input\ pdf.pdf\ background\ bg.pdf\ output\ out\ put.pdf' So the function is a littl

Re: [Gambas-user] Blanks in filename and path, problems with shell

2010-05-26 Thread Stefano Palmeri
Il mercoledì 26 maggio 2010 09:03:42 gregor ha scritto: > Hi, > > I create a little GUI to merge several pdfs with a background. > The syntx for pdftk is 'pdftk [inputpath/inputfile] background > [backgroundfile] output [outputpath/outputfile]' > > With no blanks in [*] there is no problems, with b

[Gambas-user] Blanks in filename and path, problems with shell

2010-05-26 Thread gregor
Hi, I create a little GUI to merge several pdfs with a background. The syntx for pdftk is 'pdftk [inputpath/inputfile] background [backgroundfile] output [outputpath/outputfile]' With no blanks in [*] there is no problems, with blanks the shell need a quote for the blank. No I use the variant '