Search found 19 matches
- Mon Nov 02, 2015 4:49 pm
- Forum: LiveCode Builder
- Topic: Widget Support?
- Replies: 3
- Views: 4364
Re: Widget Support?
Thanks, Peter! I figured the normal sections might be a bit too general for my specific question, specifically, how can I adjust the margins on an svgPath widget object? For example, consider the following iconPath: M1000 700h-200c0 44 -36 76 -36 76s-52 24 -64 24h-400c-18 0 -53 -12 -72 -34c-31 -36 -...
- Thu Oct 29, 2015 10:51 pm
- Forum: LiveCode Builder
- Topic: Widget Support?
- Replies: 3
- Views: 4364
Widget Support?
Where is the appropriate place to seek support on consuming widgets, rather than creating them?
- Hans
- Hans
- Thu Jun 25, 2015 6:03 pm
- Forum: Talking LiveCode
- Topic: <climits> Equivalent?
- Replies: 3
- Views: 3511
<climits> Equivalent?
I recently had the need for both INT_MAX and INT_MIN in Livecode - what solutions are you guys using to accomplish this behavior? I need to be able to reliably run mathematical operations (min, max, comparators, etc) on pairs of numbers, and when numbers get too large, you start to get very strange ...
- Sat Jun 07, 2014 12:59 am
- Forum: Linux
- Topic: Headless installation?
- Replies: 2
- Views: 4116
Headless installation?
I'm trying to get a LiveCode standalone with a UI (that I don't care about) running on a virtualized, headless Linux server, but I'm not having much luck. I've determined that if I can get the IDE installed, the standalone will work fine. My server instance may only use one of the following options:...
- Wed Mar 13, 2013 4:04 pm
- Forum: Windows
- Topic: Create alias with parameters
- Replies: 3
- Views: 4102
Re: Create alias with parameters
Thanks, Simon! I'll give that a shot.
- Wed Mar 13, 2013 1:08 am
- Forum: Windows
- Topic: Create alias with parameters
- Replies: 3
- Views: 4102
Create alias with parameters
Hi guys, Just wondering if any of you have been able to use 'create alias' to create an alias that includes a parameter? For example: set the directory to specialFolderPath("Desktop") create alias "MyApp.lnk" to file "MyApp.exe" This code will create an alias on the desktop for my executable, which ...
- Fri Jan 20, 2012 5:05 pm
- Forum: Talking LiveCode
- Topic: Validating Username/password on Mac?
- Replies: 2
- Views: 2697
Re: Validating Username/password on Mac?
Mark,
Thanks for the suggestion. I really just needed to execute a shell command with admin privileges, so your solution seems ideal.
Thanks for the suggestion. I really just needed to execute a shell command with admin privileges, so your solution seems ideal.
- Fri Jan 20, 2012 1:58 am
- Forum: Talking LiveCode
- Topic: Validating Username/password on Mac?
- Replies: 2
- Views: 2697
Validating Username/password on Mac?
I am looking for a way to validate a given username/password pair on Mac OS X. My first thought was to approach it using shell. I am currently using: echo <password> | sudo -S ls -a and then checking to see if the result includes "..", but this is obviously not ideal. Even worse, it only allows me t...
- Thu May 26, 2011 8:07 pm
- Forum: Talking LiveCode
- Topic: Disengaging screensavers from script?
- Replies: 11
- Views: 8280
Re: Disengaging screensavers from script?
Thanks for the tip! I'm not sure how I missed that. I am going to see if I can find a solution that doesn't require WScript objects first so I can continue to use the 'do as' method, but if I don't have any luck, I'll definitely go with the local vbs execution method.
Thanks again!
Thanks again!
- Thu May 26, 2011 5:11 pm
- Forum: Talking LiveCode
- Topic: Disengaging screensavers from script?
- Replies: 11
- Views: 8280
Re: Disengaging screensavers from script?
The best I can suggest is this: http://blogs.technet.com/b/heyscriptingguy/archive/2006/06/19/how-can-i-write-a-script-that-prevents-the-screensaver-from-starting.aspx After reading the article, it seemed as if these lines are what actually wake the computer: Set objIE = CreateObject("InternetExplo...
- Thu May 26, 2011 4:09 pm
- Forum: Talking LiveCode
- Topic: Disengaging screensavers from script?
- Replies: 11
- Views: 8280
Re: Disengaging screensavers from script?
Yeah, I realize what I'm trying to do is not an ideal solution. I'm not as worried about the password prompt, as that would imply that they have a mouse and/or a keyboard attached. However, many of our users are running our software as a kiosk without any form of (traditional) input attached. If the...
- Thu May 26, 2011 1:02 am
- Forum: Talking LiveCode
- Topic: Disengaging screensavers from script?
- Replies: 11
- Views: 8280
Re: Disengaging screensavers from script?
I'm still struggling with the VBScript implementation. From what I can tell, I need to use the following command: SendMessage(HWND_BROADCAST, WM_SYSCOMMAND, SC_MONITORPOWER, (LPARAM) 1); However, because I have no experience with VBScript at all, I'm not even sure if that's a valid command. Do I nee...
- Wed May 25, 2011 11:41 pm
- Forum: Talking LiveCode
- Topic: Disengaging screensavers from script?
- Replies: 11
- Views: 8280
Re: Disengaging screensavers from script?
Yes, as far as I can tell, everything is correct. I have a beep just above the "do as ..." line, so I know it's getting to it, but it's not actually exiting the screensaver. I am triggering the screensaver using the Test button the Desktop & Screen Saver prefpane. Are you doing the same, or using Ho...
- Wed May 25, 2011 11:13 pm
- Forum: Talking LiveCode
- Topic: Disengaging screensavers from script?
- Replies: 11
- Views: 8280
Re: Disengaging screensavers from script?
I'm actually having trouble getting this to work on 10.6.7. Which version are you running the example on?
- Wed May 25, 2011 7:43 pm
- Forum: Talking LiveCode
- Topic: Disengaging screensavers from script?
- Replies: 11
- Views: 8280
Re: Disengaging screensavers from script?
Excellent, thanks!