Rick Harrison wrote:
> Hi Richard,
>
> The result says:
>
> can't rename file (20)
>
> I see that you are using a “move file” in your example.
> The dictionary doesn’t show an example for moving a file.
>
> I tried the following example to see what would happen:
>
> move file
Hi Richard,
The result says:
can't rename file (20)
I see that you are using a “move file” in your example.
The dictionary doesn’t show an example for moving a file.
I tried the following example to see what would happen:
move file OldImagePathAndFileName to tFileName
if the result is not
Rick Harrison wrote:
I was trying to use rename file
on the Server in a .lc script
to rename a file. It doesn’t
seem to work at all. Can
someone please let me know
if it works on an LC Server?
It should. Try checking the result immediately after, and if not empty
call sysError() for the OS
Hi there,
I was trying to use rename file
on the Server in a .lc script
to rename a file. It doesn’t
seem to work at all. Can
someone please let me know
if it works on an LC Server?
Thanks,
Rick
___
use-livecode mailing list
Sooo... having shared my Database Setup card with another user, which is an
sqlYoga wrapper if you will for connecting to mySQL and sqLite databases, I'm
thinking about posting this in some fashion so that others can have a look,
refine it, skin it etc. Is there such a thing for end user stuff
Okay, restoring prefs from yesterday worked. Major panic averted.
But there is something very wrong with a clean startup.
On 5/8/17 4:13 PM, J. Landman Gay via use-livecode wrote:
Panos, I need to get this running. I've tried launching dp5 with the
same results. If I restore my old prefs, I
Panos, I need to get this running. I've tried launching dp5 with the
same results. If I restore my old prefs, I can't set breakpoints but I
do get the IDE to load. If I let LC make new prefs, I get no IDE at all
and my only option is to quit.
On 5/8/17 3:55 PM, panagiotis merakos via
Does anyone have a copy of the
interface guide for C that was made
years ago for metacard or any other
info that allows you to access c in
any way at all?
thanks,
JB
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this
Restarted again and LC proceeded to the welcome screen. I clicked "open
existing project" and my stack loaded. There are no menus, no tool
palette, basically the IDE didn't load.
On 5/8/17 4:03 PM, J. Landman Gay via use-livecode wrote:
Thanks, I hadn't thought of that. I tried. LC now
Thanks, I hadn't thought of that. I tried. LC now freezes with the logo
window displayed and a small blank stack at the top left of the monitor
(looks like a livecodescript trying to open.) So, can't launch now.
On 5/8/17 3:55 PM, panagiotis merakos via use-livecode wrote:
Have you tried
Have you tried deleting your Prefs?
On Mon, May 8, 2017 at 9:49 PM, J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:
> Suddenly I have lost the ability to set breakpoints. Red-dot breakpoints
> are dimmed as though the script has not been compiled (it has, several
>
Suddenly I have lost the ability to set breakpoints. Red-dot breakpoints
are dimmed as though the script has not been compiled (it has, several
times.) Hard-coded "breakpoint" commands to not trigger either. I am not
able to debug.
Things were going along well until I allowed remote
I got it working with Glen’s code
but I needed to compile my code
from the terminal with gcc instead
of compiling it in Xcode.
I really appreciate your help and every-
ones help who replied. It is all useful
information.
Thank you!
JB
> On May 8, 2017, at 1:32 PM, Mike Bonner via use-livecode
If you are in terminal, and in the folder where your executable is, and you
type
./yourexecutablename arg1 arg2
does it do what you expect? (note the preceding dot . which means to start
at the working directory)
If the file is set to executable by you, it should work. If you type the
command
Thank you Mark!
On 5/8/2017 3:46 PM, Mark Waddingham via use-livecode wrote:
> The paintcompression global property is rle by default (at least in 6.7.x) -
> in the ide it gets set to png.
>
> So try setting it to png on startup of your standalone.
>
> Warmest regards,
>
> Mark
>
> Sent from my
The paintcompression global property is rle by default (at least in 6.7.x) - in
the ide it gets set to png.
So try setting it to png on startup of your standalone.
Warmest regards,
Mark
Sent from my iPhone
> On 8 May 2017, at 20:00, Paul Dupuis via use-livecode
>
Using LC 6.7.11 (yes, I know, an old version!)
I have image data in the variable tImageData and the image's width and
height in tSize and I want to copy the image to the clipboard. The
following code works perfectly EVERY time in the IDE
create inv image "pdfCopyTemp"
set the
Hi Mike,
Thank you for the info.
The dictionary for Shell states it needs to work
from the Terminal to work correctly with Shell so
I have been doing everything from the Terminal at
this point. I was trying to figure out how to write
it properly in the Terminal so I could use similar
code with
Seems to me, if its the compiled version, you shouldn't need to use "open"
at all.
a simple
get shell("path/to/executable argument1 argument2")
If I understand what I read about "open" enough, it expects a file, that
will be opened in another app, like in Marks example. (whatever.c opens
xcode)
That is a typo.
In fact I tried every way and every
place within the open script and if
it is written different the code is not
executed and I get and error.
JB
> On May 8, 2017, at 10:57 AM, Mark Wieder via use-livecode
> wrote:
>
> On 05/08/2017 10:36 AM, JB
On 05/08/2017 10:36 AM, JB via use-livecode wrote:
The file executes properly and the message is printed
showing I did not enter any arguments even though I
did try to and then it prints the file name and path like
I told it to from argv[0].
JB
In your original post you said "-args". The
Here is the code;
#include
int main (int argc, char *argv[])
{
if (argc < 2)
printf ("You didn't enter any arguments.\n");
else
printf ("Your argument at position 1 is: %s\n", argv[1]);
printf ("\nYour file path is:\n%s\n\n", argv[0]);
return 0;
}
JB
Hi Mark,
Thanks for the reply and info.
The file is actually named Hello and it is
a c program compiled with xcode.
It takes the argc value and if it is less than 2
returns a message a parameter was not added.
If it is 2 then it prints the value of argv[1] which
would be the first argument
On 2017-05-07 03:46, JB via use-livecode wrote:
To use a shell command it needs to work from
the terminal. I am using OS X 10.11.6 and if
I try to open a Xcode c build named my_file I
type in the terminal,
open my_file
and the file my_file will open.
What is 'my_file'?
The terminal
Sounds great. Yes please Bob...
On 8 May 2017 at 16:21, Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:
> sqlYoga is awesome. The learning curve is a bit steep at first, but once
> you get it, it's great. I wrote functions and a database setup interface
> that makes it all
Thanks Bob.
I did that before I sent the message and searched
a lot on the web. It looks to me like I am entering
everything properly. I will not that the file takes a
full path and I did not show a full path but I always
used a full path. Maybe I will try compiling with
gcc sometime to see if
try man open in the terminal. That should tell you what the arguments to the
open command are.
Bob S
> On May 6, 2017, at 18:46 , JB via use-livecode
> wrote:
>
> To use a shell command it needs to work from
> the terminal. I am using OS X 10.11.6 and if
>
sqlYoga is awesome. The learning curve is a bit steep at first, but once you
get it, it's great. I wrote functions and a database setup interface that makes
it all fairly transparent to use. I can share if you like.
Bob S
> On May 7, 2017, at 13:55 , Kaveh Bazargan via use-livecode
>
Note also that datagrids will only display the data for columns that have been
defined in the datagrid properties. You can have all sorts of data in the
dgData of the datagrid that is invisible to the user. I do this all the time,
storing whole database records, but displaying only the
Hi Richard,
You are correct. I should probably move this to the new section "Other
LiveCode News"
Thanks for spotting it.
Best regards,
Panos
--
On Mon, May 8, 2017 at 3:46 PM, Richard Gaskin via use-livecode <
use-livecode@lists.runrev.com> wrote:
> panagiotis merakos wrote:
> > Read about
Every time you state the problem you are trying to solve, I catch myself saying
"This is not how I would do it." Array values are not searchable, which makes
it unsuitable for searching. Fields can be searched easily enough, datagrids
without too much more trouble are searchable, and databases
panagiotis merakos wrote:
> Read about new developments in LiveCode open source and the open
> source community in today's edition of the "This Week in LiveCode"
> newsletter!
>
> Read issue #81 here: https://goo.gl/oWGt3h
Thanks for the update, Panos.
That page includes:
Updates in
Hi all,
Read about new developments in LiveCode open source and the open source
community in today's edition of the "This Week in LiveCode" newsletter!
Read issue #81 here: https://goo.gl/oWGt3h
This is a weekly newsletter about LiveCode, focussing on what's been
going on in and around
Jim
You are a Godsend - I never knew of the metadata - I have a whole lot of
refactoring to do.
I was using the "hidden" tab fields trick but this is way better
This is going to make so much stuff so easy - and so much easier to debug
Thanks again
Lagi
On 8 May 2017 at 09:34, Tiemo Hollmann
Thank you all for your nice ideas
Tiemo
-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von
J. Landman Gay via use-livecode
Gesendet: Samstag, 6. Mai 2017 22:15
An: How to use LiveCode
Cc: J. Landman
35 matches
Mail list logo