Search found 208 matches
- Sat Mar 08, 2008 11:26 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Put URL
- Replies: 2
- Views: 2529
Put URL
I have questions about using put URL to write to txt file locally will it create a folder if I extend the file path, the same way it creates the file if it doesn't exist? What is the proper way to put in the file path, I've seen several ways when searching for info. I was thinking of using: put fld ...
- Wed Feb 27, 2008 6:37 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Have only used one stach so far.
- Replies: 5
- Views: 4248
Hmm had not thought about just using a stack outside the executable to save. thanks for that Richard. One question, what folder is specialFolderPath(26). The CSIDL link given in documentation doesn't exist anymore. (This is probably the reason it no longer exists in MSDN "The CSIDL system is support...
- Tue Feb 26, 2008 12:50 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Have only used one stach so far.
- Replies: 5
- Views: 4248
Thank you BvG I was going to ask if you can get data from the substack if it is not visible, but I can see that you can. I just have one last question on this. I am going to program it so the fields in the substack save to a file. Since I am going to leve this substack as non visible should I put th...
- Mon Feb 25, 2008 10:08 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Have only used one stach so far.
- Replies: 5
- Views: 4248
Have only used one stach so far.
I've only been using one stack for programs up to now, and now find that I want to put some preference info into a substack. in the new stack will be fields that have URL's Handlers in the original stack need to get these URL's. I'm a little confused with how to do this. Do I have to change the hand...
- Sat Feb 23, 2008 7:28 am
- Forum: Announcements
- Topic: libS3
- Replies: 7
- Views: 7322
- Thu Feb 14, 2008 11:00 pm
- Forum: Windows
- Topic: couple of win standalone questions.
- Replies: 2
- Views: 3782
couple of win standalone questions.
I'm thinking of read/writing to a text file in order to give my program save ability (only will have to save a list of URLs). I know the troubles with user rights and Program Files folder in Vista, so I was thinking of creating and writing to the file in Application Data, in My Documents folder (I k...
- Sat Feb 09, 2008 10:08 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Windows traits
- Replies: 8
- Views: 5274
Keyless, Earlier I wrote: "if there is a file <filename> then". You can also use "if not (there is a file <filename>) then". Obviously, instead of filename, you can also use the complete filepath. Mark Yeah I went back to that. This is what I ended up using: repeat for each line NPath in FilePathLi...
- Sat Feb 09, 2008 5:48 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Windows traits
- Replies: 8
- Views: 5274
Hi Keyless, This might help: http://thread.gmane.org/gmane.comp.ide.revolution.user/104604/focus=104611 Best, Mark I'm actually quite happy with the way revcopyfile works, I just don't want to overwrite existing files. Seems to me I'd have the same issue using a different copy method like the one d...
- Sat Feb 09, 2008 1:03 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Windows traits
- Replies: 8
- Views: 5274
Ok I've learned a lot trying to troubleshoot this. Here is what revCopyFile passes to cmd prompt: C:\WINDOWS\system32\cmd.exe /C copy "C:\Documents and Settings\Compaq_Owner\Desktop\001.jpg" "\Documents and Settings\Compaq_Owner\Desktop\HERE\001.jpg" So it is in fact doing the same as I would do wit...
- Fri Feb 08, 2008 6:38 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Windows traits
- Replies: 8
- Views: 5274
@ Mark 1) because I display the url in my program and allow the user to edit it manually. The wrong slash makes such editing confusing for the user and can lead to an error. 2) Perhaps you are not familiar with the Windows Copy shell command. It is designed so that files don't get copied over by oth...
- Fri Feb 08, 2008 5:54 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Windows traits
- Replies: 8
- Views: 5274
Windows traits
A couple of things have me worried as I work on my first program, aimed at Windows OS. 1. When I use Answer Folder and store results in afield the slashes are backwards from how they shold be in Windows [C:/Documents and Settings/HP_Administrator/Desktop/Stuff] should be [C:\Documents and Settings\H...
- Tue Feb 05, 2008 4:36 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: moving files to different folders based on extension
- Replies: 2
- Views: 2933
you most likely want to look at the itemdelimiter. Adjust the following for your needs put "c:/documents/" into thePath repeat for each line theLine in fList set the itemdelimiter to "." if item -1 of theLine is among the lines of field "documents" then set the itemdelimiter to "/" rename file theL...
- Mon Feb 04, 2008 8:03 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: moving files to different folders based on extension
- Replies: 2
- Views: 2933
moving files to different folders based on extension
{this is for Windows} For a program I am writing need to be able to seporate files in a folder into 2 different folders In my program I have user select a folder and it put files into fList. now I want to move certain files (based on user defined extensions) into one folder (call it Folder A) and ot...