Oh, and you might check "the result" right after you set the filename and see if it says "could not open image" which probably indicates a problem with the path in your code.
On Thu, Feb 26, 2015 at 10:17 AM, Mike Bonner <bonnm...@gmail.com> wrote: > Oh true, it just returns the same filepath that it was given on osx and > linux. However, now i'm wondering, linux and osx are case sensitive, if > you're on one of those, are you sure you're not having a case issue? > > On Thu, Feb 26, 2015 at 10:14 AM, Klaus major-k <kl...@major-k.de> wrote: > >> >> > Am 26.02.2015 um 18:11 schrieb Mike Bonner <bonnm...@gmail.com>: >> > >> > Not sure it has anything to do with it, but you might try to-- set the >> > filename of image "myimage" to the shortfilepath of "path/to >> the/file.png" >> > which will turn it into a non spaced, 8.3 style path. But I see klaus >> has >> > added a response, so i'm sure correct answer is forthcoming as soon as I >> > update my screen. :D (either way, the shortfilepath conversion is >> helpful >> > in so many places, especially when using shell() ) >> >> Hint: shortfilepath() is WIndows only! >> >> -- >> Klaus Major >> http://www.major-k.de >> kl...@major-k.de >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode@lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode