It is currently March 29th, 2024, 2:17 am

Special Characters in LUA

Discuss the use of Lua in Script measures.
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Special Characters in LUA

Post by jsmorley »

Yes:

Code: Select all

Mode to open the file in.
Can be a combination of the following:
  0 = Read mode (default)
  1 = Write mode (append to end of file)
  2 = Write mode (erase previous contents)
  8 = Create directory structure if it doesn't exist (See Remarks).
  16 = Force binary mode (See Remarks).
  32 = Use Unicode UTF16 Little Endian reading and writing mode. Reading does not override existing BOM.
  64 = Use Unicode UTF16 Big Endian reading and writing mode. Reading does not override existing BOM.
  128 = Use Unicode UTF8 (with BOM) reading and writing mode. Reading does not override existing BOM.
  256 = Use Unicode UTF8 (without BOM) reading and writing mode.
  16384 = When opening for reading and no BOM is present, use full file UTF8 detection.
The default read/write mode with no modification is ANSI.
User avatar
thatsIch
Posts: 446
Joined: August 7th, 2012, 9:18 pm

Re: Special Characters in LUA

Post by thatsIch »

Pretty Good so far ^^

User avatar
MerlinTheRed
Rainmeter Sage
Posts: 889
Joined: September 6th, 2011, 6:34 am

Re: Special Characters in LUA

Post by MerlinTheRed »

Looking pretty nice! Might try something like that for deviantART feeds too sometime (last added Rainmeter skins perhaps)?

Jetzt krieg ich Hunger. Obwohl, süße Mayonnaise-Törtchen? Bäh.
Have more fun creating skins with Sublime Text 2 and the Rainmeter Package!
User avatar
thatsIch
Posts: 446
Joined: August 7th, 2012, 9:18 pm

Re: Special Characters in LUA

Post by thatsIch »

MerlinTheRed wrote:Looking pretty nice! Might try something like that for deviantART feeds too sometime (last added Rainmeter skins perhaps)?

Jetzt krieg ich Hunger. Obwohl, süße Mayonnaise-Törtchen? Bäh.
I wrote the feed thingy here just for my girlfriend, so she can cook more for me :D
can do something easily, the feedreader supports at the moment 900 feeds dynamically
you only need to enter your feeds in [Variables]-Section

like

Code: Select all

Feed123 = this.here.is.a.feed.link
Key123 = name.of.feed
but needs some tuning,
I'm not satisfied with the product yet.