Re: XojoScript
Jean-Luc Arnaud <jean-luc-E/[email protected]> Mon, 26 Mar 2018 16:19:27 +0200
| Newsgroups | gmane.comp.lang.realbasic.user |
|---|---|
| Organization | Centre Direct du Multimédia |
| Message-ID | <[email protected]> |
Unfortunately, does not work because CopyFile_DriveCleanup32 (64) and CopyFiles_KeyCopy32 (64) are CopyFiles Build Steps, not real scripts. I achieve my goal using DoShellCommand and a cp shell command. But I'm sure there is (at least I think there should be) a way using CopyFiles Build Steps. Thanks for helping. Jean-Luc Arnaud Le 26/03/2018 à 13:43, Jean-Pierre DOUCET a écrit : > May be add ".xojo_script" after the name of your external script and > it will work (providing that your script is inthe Scripts folder, > either next to the IDE or next to your project file) > >> Le 26 mars 2018 à 12:52, Jean-Luc Arnaud <jean-luc-E/[email protected] >> <mailto:jean-luc-E/[email protected]>> a écrit : >> >> Many thanks, Jean-Pierre. >> >> I was actually looking for IDE Scripting information (I wrote my >> message to quickly...). However your info will be very useful. Thanks! >> >> I'm trying to code for a build step copying some files/folder after >> App build, based on 32 or 64 bits build. >> >> Here is my script: >> >> If CurrentbuildTarget=19 Then >> RunScript("CopyFile_DriveCleanup64") >> RunScript("CopyFiles_KeyCopy64") >> ElseIf CurrentBuildTarget=3 Then >> RunScript("CopyFile_DriveCleanup32") >> RunScript("CopyFiles_KeyCopy32") >> End If >> >> CopyFile_DriveCleanup32 (64) and CopyFiles_KeyCopy32 (64) are >> CopyFiles scripts, tested and working. >> >> This script does not work. Would you know why, by chance? >> >> Jean-Luc Arnaud >> >> Le 26/03/2018 à 11:20, Jean-Pierre DOUCET a écrit : >>> see for example : >>> http://developer.xojo.com/xojoscript >>> and the webinar : >>> http://developer.xojo.com/webinar-xojoscript >>> or the Mark Zeedar last xDev March/April 2018 : "Scripting stock >>> prices" as a well documented exemple. >>> >>> >>>> Le 26 mars 2018 à 11:08, Jean-Luc Arnaud <jean-luc-E/[email protected] >>>> <mailto:jean-luc-E/[email protected]>> a écrit : >>>> >>>> Hi all, >>>> >>>> Where could I find a king of XojoScript User's Guide, or any >>>> information source about XojoScript? >>>> >>>> TIA >>>> >>>> -- >>>> Jean-Luc Arnaud >>>> > > > JPD > > > > >