So there it goes, i have no idea why i can't make it quick. I tried to do it many times before.
All i need is simple script witch looks for file in the same folder as executable, and if it finds it - change some words in it:
The file continent looks like that:
...
Name = BoQsc
Name = Fenix
Name ...
Search found 12 matches
- Sun Jul 13, 2014 11:55 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Find text file inside folder and replace string in it
- Replies: 2
- Views: 2494
- Sat Dec 07, 2013 9:37 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Ask file "selected filter" expression.
- Replies: 6
- Views: 5661
Re: Ask file "selected filter" expression.
Ah, you want the filename to populate with "script.sk" and if the user changes the file extension type to "text (*.txt)" then you want the filename to change to "script.txt" right?
As far as I know, this is impossible.
Exactly! Too bad but i think the same... Is it even possible to see any way to ...
As far as I know, this is impossible.
Exactly! Too bad but i think the same... Is it even possible to see any way to ...
- Fri Dec 06, 2013 7:45 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Ask file "selected filter" expression.
- Replies: 6
- Views: 5661
Re: Ask file "selected filter" expression.
Hi boqsc,
sorry, don't understand what you are looking for!?
Best
Klaus
No problem. It's mainly my fault.
On Windows ask file "What to save?:" with "My_File_Default_Name" with filter "Skript script,*.sk,JPEG,*.jpg,zip,*.zip" The file type will be pre-populated with Skript script (*.sk) and ...
sorry, don't understand what you are looking for!?
Best
Klaus
No problem. It's mainly my fault.
On Windows ask file "What to save?:" with "My_File_Default_Name" with filter "Skript script,*.sk,JPEG,*.jpg,zip,*.zip" The file type will be pre-populated with Skript script (*.sk) and ...
- Fri Dec 06, 2013 4:12 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Ask file "selected filter" expression.
- Replies: 6
- Views: 5661
Ask file "selected filter" expression.
So after some hours of searching around forum and google i decided to make a thread here.
The simple thing i want to do is just change file name extension depending on selected file filter (.exe, .zip, etc) while saving it with ask dialog script.
However, have stuck here for a while, so any help ...
The simple thing i want to do is just change file name extension depending on selected file filter (.exe, .zip, etc) while saving it with ask dialog script.
However, have stuck here for a while, so any help ...
- Sat Nov 23, 2013 5:56 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Maximize to fit screen.
- Replies: 14
- Views: 9281
Re: Maximize to fit screen.
Oh, well. Thats strange. It can be my problem before, that i set some properties that fixes the size of the stack. However it seems to work.Simon wrote:Hi boqsc,
Just take the stack you have there and build it as a standalone. You don't need any code in it.
Simon
Realy big Thanx to everyone.
- Sat Nov 23, 2013 5:54 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Customize "blinking text cursor" inside field.
- Replies: 2
- Views: 2666
Customize "blinking text cursor" inside field.
So here we go. I decided to code custom notepad. After some time, i saw a realy annoying thing - small blinking cursor inside my text field that i started to hate. So the question is:
Is it possible to change color, size, blinking speed of that blinking text cursor. And maybe replace it with picture ...
Is it possible to change color, size, blinking speed of that blinking text cursor. And maybe replace it with picture ...
- Fri Nov 22, 2013 10:56 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Maximize to fit screen.
- Replies: 14
- Views: 9281
Re: Maximize to fit screen.
No it's not, maybe you can post the project test file that you use? (*.livecode *.REV)Simon wrote:Have you tried building your stack as a standalone?
Works like you want here.
Simon
And maybe the working exe file?
- Fri Nov 22, 2013 10:48 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Maximize to fit screen.
- Replies: 14
- Views: 9281
Re: Maximize to fit screen.
Ah,
Now I see what you mean by "not the way I want". It is how it is done, not, er, how it is done.
i don't think there is a message sent when the maximize button is pressed, but there is a message "resizeStack", that is sent when the stack is, er, resized.
So if this is the only way that this ...
Now I see what you mean by "not the way I want". It is how it is done, not, er, how it is done.
i don't think there is a message sent when the maximize button is pressed, but there is a message "resizeStack", that is sent when the stack is, er, resized.
So if this is the only way that this ...
- Fri Nov 22, 2013 10:33 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Maximize to fit screen.
- Replies: 14
- Views: 9281
Re: Maximize to fit screen.
Hi boqsc,
Are you using dual monitors?
Simon
No, i'm using laptop with resolution: 1366x768
Is this problem only with the low-resolution monitors or something, it looks like it's old bug of the livecode how i read before and it's still not fixed if i'm right.
I'm searching for the solution ...
Are you using dual monitors?
Simon
No, i'm using laptop with resolution: 1366x768
Is this problem only with the low-resolution monitors or something, it looks like it's old bug of the livecode how i read before and it's still not fixed if i'm right.
I'm searching for the solution ...
- Fri Nov 22, 2013 10:21 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Maximize to fit screen.
- Replies: 14
- Views: 9281
Re: Maximize to fit screen.
As i said, it's not what i'm looking for.
Look, all i want to do is just make stack fit screen after i press maximize button witch is in the title bar by not hiding the title bar of the stack.
The maximize button in the tool bar i'm talking about: Attachment [The maximize button of the stack.]
By ...
Look, all i want to do is just make stack fit screen after i press maximize button witch is in the title bar by not hiding the title bar of the stack.
The maximize button in the tool bar i'm talking about: Attachment [The maximize button of the stack.]
By ...
- Fri Nov 22, 2013 9:49 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Maximize to fit screen.
- Replies: 14
- Views: 9281
Re: Maximize to fit screen.
Hi,
Can you set the rect of your stack to the screenRect?
Craig Newman
Thanx for answer, but its realy not what i need.
i need fully maximize stack, when i press maximize button in the title bar. What i get, when i press instead of it, you can see above.
I think i need a handler witch will ...
Can you set the rect of your stack to the screenRect?
Craig Newman
Thanx for answer, but its realy not what i need.
i need fully maximize stack, when i press maximize button in the title bar. What i get, when i press instead of it, you can see above.
I think i need a handler witch will ...
- Mon Nov 11, 2013 5:30 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Maximize to fit screen.
- Replies: 14
- Views: 9281
Maximize to fit screen.
Why do the stack only maximize by half of the screen? (The height of the stack is much lower than my screen, but the max-height of the stack is much bigger (6666)) Is there any way to make full sized maximization?