Search found 32 matches
- Thu Nov 30, 2017 9:11 am
- Forum: General programming
- Topic: Error loading @FILE preprocessor
- Replies: 9
- Views: 8268
Re: Error loading @FILE preprocessor
Try reading this post. Thank you, SamuraiCrow. This is probably the right track. I changed my code to read: ;moai.CreateApp(FileToString("myFile.xml")) @FILE 1, "myFile.xml" moai.CreateApp(ReadString(1, FileLength(1))) This does however give me the following error: Error in line...
- Wed Nov 29, 2017 4:11 pm
- Forum: General programming
- Topic: Error loading @FILE preprocessor
- Replies: 9
- Views: 8268
Re: Error loading @FILE preprocessor
Yes, I know it works without using the id.Tipsi wrote:The command FileToString() works without id.
My reason for using the pre processor command is to include the xml-file in the .exe file when compiling it.
- Wed Nov 29, 2017 12:23 pm
- Forum: General programming
- Topic: Error loading @FILE preprocessor
- Replies: 9
- Views: 8268
Error loading @FILE preprocessor
@FILE 1, "myFile.xml" ... moai.CreateApp(FileToString(1)) This code does not seem to work for me. Any idea why? I load and utilize files with ease using ie. @BRUSH, but with this I get: Error in line 178 (myApp.hws): Cannot read file 1 ! The filename is correct and it is located next to t...
- Wed Nov 29, 2017 12:17 pm
- Forum: General programming
- Topic: Open up a Finder/Explorer window
- Replies: 9
- Views: 7630
Re: Open up a Finder/Explorer window
Follow up question:
This works fine in Windows, but I compiled it for MacOS and tried it, and it doesn't seem to work with Finder?
This works fine in Windows, but I compiled it for MacOS and tried it, and it doesn't seem to work with Finder?
- Wed Nov 29, 2017 9:47 am
- Forum: General programming
- Topic: Open up a Finder/Explorer window
- Replies: 9
- Views: 7630
Re: Open up a Finder/Explorer window
Exactly what I was looking for. Works like a dream.You should try OpenURL() command with the path that you want to explore
I actually found this command but didn't bother to test it as I assosiate URL's with the Internet. I was schooled.
- Mon Nov 27, 2017 2:01 pm
- Forum: General programming
- Topic: Open up a Finder/Explorer window
- Replies: 9
- Views: 7630
Open up a Finder/Explorer window
Hi!
Does anyone have any idea on how I would go about opening a Finder/Explorer window at a specific path from within Hollywood?
I can't seem to find the correct function for this.
Thanks!
Does anyone have any idea on how I would go about opening a Finder/Explorer window at a specific path from within Hollywood?
I can't seem to find the correct function for this.
Thanks!
- Tue Oct 31, 2017 9:09 am
- Forum: RapaGUI
- Topic: Trouble getting values from listview
- Replies: 2
- Views: 3820
Re: Trouble getting values from listview
Ahhh.. That's great. Thanks. I think I learned something fundamental just now
- Tue Oct 31, 2017 9:03 am
- Forum: General programming
- Topic: MacOS IDE
- Replies: 19
- Views: 16525
Re: MacOS IDE
Seems like Lua/Javascript all work in Coda2, but obviously you can't right click a command for help or launch the code via Hollywood.app or any of that goodness. On another note.. When you right click on a file in Finder and select Open with Hollywood.app, where does the debug output end up? I tried...
- Fri Oct 27, 2017 1:56 pm
- Forum: RapaGUI
- Topic: Trouble getting values from listview
- Replies: 2
- Views: 3820
Trouble getting values from listview
Hi! I'm trying to fetch a couple of values from a listview. The listview has two columns: "fermentable" and "grams". I have entered two test rows: Row 0: "Fermentable1", "123" Row 2: "Fermentable2", "234" Using a button I made I want to wri...
- Wed Oct 25, 2017 9:02 am
- Forum: General programming
- Topic: MacOS IDE
- Replies: 19
- Views: 16525
Re: MacOS IDE
So Java is pretty close to the Hollywood syntax? I use Lua in TextMate, but it's not perfect.sashapont wrote:i set java in menu text->syntax mode
E