Search found 6 matches

by orducom1
Fri May 17, 2013 10:56 am
Forum: Feature Proposals
Topic: Networking layer feature requests
Replies: 7
Views: 4967

Re: Networking layer feature requests

Hello Edgore,

Until we have a clean something in order to connect on LDAP protocol in LC, could you post your "do-it-yourself" so we could play around with?

Thx by advance :)
by orducom1
Tue May 07, 2013 11:25 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: how do I test an existing object
Replies: 4
Views: 3390

Re: how do I test an existing object

it works !

many thx Klaus :)
by orducom1
Mon May 06, 2013 6:09 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: how do I test an existing object
Replies: 4
Views: 3390

how do I test an existing object

hi guys ! How can I test if file exist ? I want to test if file exist like a VBS file system method such as FS.FileExists(PathFile) (or FS.FolderExists(PathFolder) ) which return true or false as the case. I don't find a similar method in liveCode and I can not to believe it :shock: Thanks by advanc...
by orducom1
Fri Apr 26, 2013 7:26 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: how to retrieve the script path ?
Replies: 4
Views: 3168

Re: how to retrieve the script path ?

Great ! It's run !!!

Code: Select all

on mouseUp
   answer appPath()
end mouseUp

function appPath
   set the itemDelimiter to slash
   get the effective filename of this stack
   set the defaultFolder to item 1 to -2 of it
   return defaultFolder
end appPath
Many thx Simon ;)
by orducom1
Thu Apr 25, 2013 10:48 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: how to retrieve the script path ?
Replies: 4
Views: 3168

Re: how to retrieve the script path ?

Thx Simon for your quick answer
I try it tomorow ... It's midnight in France ;)
by orducom1
Thu Apr 25, 2013 10:11 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: how to retrieve the script path ?
Replies: 4
Views: 3168

how to retrieve the script path ?

Hi folks, I wish retrieve the path of my file.livecode in a global variable with a function. When I worked with vbscript, I had a property of wscript object which allowed to retrieve the path of the script, like this : Path = Left(WScript.ScriptFullName, InStr(WScript.ScriptFullName, WScript.ScriptN...