Prev: ElapTime strangeness
Next: Who wants an iPad?
From: Dirk (Belgium) on 5 Feb 2010 03:30 John Martens wrote: > Dirk, > > Did you close VO before running the script ? > If not appGetFirst() will return false. > > John > > > Op 4-2-2010 12:04, Dirk (Belgium) schreef: > > Joachim Bieler wrote: > > > > > Hello Dirk, > > > > > > I'm sorry, but repoSCRIPT exist in german only. What question do > > > you have? > > > > > > Joachim > > > > > > > Joachim, > > > > Sorry for this late reaction. > > > > I have VO 2830 and also reposcript version 1.5.1.4 > > > > I have installed clean. > > Now I open "beispiel3.vos" > > > > Then I run this script. > > This script does not generate any output. > > The function appGetFirst() returns false !!! > > Because I do not understand the help file, > > I need some help from you. > > > > (beispiel2.vos is generating a good output). > > > > > > Thanks for any answer. > > > > Dirk > > John, OK, tested and working. But 2 questions: a) But how can reposcript decide which project to open ??? b) Is there an existing script of removing the debug flag and recompile the complete project. Dirk --
From: John Martens on 5 Feb 2010 08:37 Dirk, This can make repoScript decide what project to use: prjSelect(cProjekt) The debug flag I do not know but I loop though all the modules, export them, delete them and after this is done I import one after another with appImport(aBestanden[iIndexnr,1]) and then compile with appCompile() If you want I could send you my script. I use this to rebuild a project. In another script I make a .PRG file from my VO app where I users are in, select the right app and then compile so I can genetare a specific EXE per user where certain parameters are linked in. With InnoSetup I then build a user-specific installer that is uploaded to a FTP server. After all of this I send the user the link to the installer on the FTP server. In this way it ia a one button click to send a new version to a user. Cheers, John Op 5-2-2010 9:30, Dirk (Belgium) schreef: > John Martens wrote: > >> Dirk, >> >> Did you close VO before running the script ? >> If not appGetFirst() will return false. >> >> John >> >> >> Op 4-2-2010 12:04, Dirk (Belgium) schreef: >>> Joachim Bieler wrote: >>> >>>> Hello Dirk, >>>> >>>> I'm sorry, but repoSCRIPT exist in german only. What question do >>>> you have? >>>> >>>> Joachim >>>> >>> >>> Joachim, >>> >>> Sorry for this late reaction. >>> >>> I have VO 2830 and also reposcript version 1.5.1.4 >>> >>> I have installed clean. >>> Now I open "beispiel3.vos" >>> >>> Then I run this script. >>> This script does not generate any output. >>> The function appGetFirst() returns false !!! >>> Because I do not understand the help file, >>> I need some help from you. >>> >>> (beispiel2.vos is generating a good output). >>> >>> >>> Thanks for any answer. >>> >>> Dirk >>> > > John, > > OK, tested and working. > > But 2 questions: > > a) But how can reposcript decide which project to open ??? > > b) Is there an existing script of removing the debug flag and recompile > the complete project. > > > Dirk >
From: Joachim Bieler on 8 Feb 2010 02:35 Dirk, with prjSelect() you can activate a project. With prjGetName() you can determine the Name of the current project. To clear all debug flags use the following script: prjDebugClear() prjCompile() Regards Joachim Bieler Am 05.02.2010 09:30, schrieb Dirk (Belgium): > John Martens wrote: > >> Dirk, >> >> Did you close VO before running the script ? >> If not appGetFirst() will return false. >> >> John >> >> >> Op 4-2-2010 12:04, Dirk (Belgium) schreef: >>> Joachim Bieler wrote: >>> >>>> Hello Dirk, >>>> >>>> I'm sorry, but repoSCRIPT exist in german only. What question do >>>> you have? >>>> >>>> Joachim >>>> >>> >>> Joachim, >>> >>> Sorry for this late reaction. >>> >>> I have VO 2830 and also reposcript version 1.5.1.4 >>> >>> I have installed clean. >>> Now I open "beispiel3.vos" >>> >>> Then I run this script. >>> This script does not generate any output. >>> The function appGetFirst() returns false !!! >>> Because I do not understand the help file, >>> I need some help from you. >>> >>> (beispiel2.vos is generating a good output). >>> >>> >>> Thanks for any answer. >>> >>> Dirk >>> > > John, > > OK, tested and working. > > But 2 questions: > > a) But how can reposcript decide which project to open ??? > > b) Is there an existing script of removing the debug flag and recompile > the complete project. > > > Dirk >
From: Dirk (Belgium) on 8 Feb 2010 03:50 Joachim Bieler wrote: > Dirk, > > with prjSelect() you can activate a project. With prjGetName() you > can determine the Name of the current project. > > To clear all debug flags use the following script: > > prjDebugClear() > prjCompile() > > Regards > Joachim Bieler > > > > Am 05.02.2010 09:30, schrieb Dirk (Belgium): > > John Martens wrote: > > > > > Dirk, > > > > > > Did you close VO before running the script ? > > > If not appGetFirst() will return false. > > > > > > John > > > > > > > > > Op 4-2-2010 12:04, Dirk (Belgium) schreef: > > > > Joachim Bieler wrote: > > > > > > > > > Hello Dirk, > > > > > > > > > > I'm sorry, but repoSCRIPT exist in german only. What question > > > > > do you have? > > > > > > > > > > Joachim > > > > > > > > > > > > > Joachim, > > > > > > > > Sorry for this late reaction. > > > > > > > > I have VO 2830 and also reposcript version 1.5.1.4 > > > > > > > > I have installed clean. > > > > Now I open "beispiel3.vos" > > > > > > > > Then I run this script. > > > > This script does not generate any output. > > > > The function appGetFirst() returns false !!! > > > > Because I do not understand the help file, > > > > I need some help from you. > > > > > > > > (beispiel2.vos is generating a good output). > > > > > > > > > > > > Thanks for any answer. > > > > > > > > Dirk > > > > > > > > John, > > > > OK, tested and working. > > > > But 2 questions: > > > > a) But how can reposcript decide which project to open ??? > > > > b) Is there an existing script of removing the debug flag and > > recompile the complete project. > > > > > > Dirk > > Joachim, It is that simpil ? Very, very, very much thanks, It take me now you a few clicks. In the past, at the end of every day, it take me more then 100 clicks. Thanks a lot, Dirk --
From: John Martens on 8 Feb 2010 07:00
Jochim, If you committ a project after prjDebugClear() then the settings are also cleard in VO and if not the settings are changed for the compile but are still there when you open the project in VO ? John Op 8-2-2010 8:35, Joachim Bieler schreef: > Dirk, > > with prjSelect() you can activate a project. With prjGetName() you can > determine the Name of the current project. > > To clear all debug flags use the following script: > > prjDebugClear() > prjCompile() > > Regards > Joachim Bieler > > > > Am 05.02.2010 09:30, schrieb Dirk (Belgium): >> John Martens wrote: >> >>> Dirk, >>> >>> Did you close VO before running the script ? >>> If not appGetFirst() will return false. >>> >>> John >>> >>> >>> Op 4-2-2010 12:04, Dirk (Belgium) schreef: >>>> Joachim Bieler wrote: >>>> >>>>> Hello Dirk, >>>>> >>>>> I'm sorry, but repoSCRIPT exist in german only. What question do >>>>> you have? >>>>> >>>>> Joachim >>>>> >>>> >>>> Joachim, >>>> >>>> Sorry for this late reaction. >>>> >>>> I have VO 2830 and also reposcript version 1.5.1.4 >>>> >>>> I have installed clean. >>>> Now I open "beispiel3.vos" >>>> >>>> Then I run this script. >>>> This script does not generate any output. >>>> The function appGetFirst() returns false !!! >>>> Because I do not understand the help file, >>>> I need some help from you. >>>> >>>> (beispiel2.vos is generating a good output). >>>> >>>> >>>> Thanks for any answer. >>>> >>>> Dirk >>>> >> >> John, >> >> OK, tested and working. >> >> But 2 questions: >> >> a) But how can reposcript decide which project to open ??? >> >> b) Is there an existing script of removing the debug flag and recompile >> the complete project. >> >> >> Dirk >> |