Fullname/username/displayname on Windows?

2011-04-11 Thread William de Smet
Hi there, I use $username to get the user login name on a Windows server. This however is mostly not someone's full name. Is there a variable that I can use to get the full name? This is also the shown above the Start menu. Thanks. Greetings, William - Verstuurd vanaf mijn iPhone!

Re: Fullname/username/displayname on Windows?

2011-04-11 Thread Mike Bonner
I can think of a couple possibilities, since you can get the username then you can do a shell(net user username) and it will return a bunch of stuff that youc an parse for Full Name. I haven't checked it, but on the chance there IS a fullname system var you can do shell(set) and it will return a

Re: LockLocation of a group

2011-04-11 Thread Pete
Thanks, that's a good tip. Pete Molly's Revenge http://www.mollysrevenge.com On Sun, Apr 10, 2011 at 8:42 PM, J. Landman Gay jac...@hyperactivesw.comwrote: On 4/10/11 10:32 PM, Pete wrote: Interesting. I closed the card and re-opened it and the group did resize as you suggested. I

stacks within a stack file

2011-04-11 Thread stephen barncard
I've tried various ways and I know there must be one but I can't seem to find it. I know how to determine the *name* of the *stack file* that's holding a loaded stack, but if one knows the *stack file name*, how does one get the name of the stacks within? Does the whole stack have to be loaded

Re: stacks within a stack file

2011-04-11 Thread Richard Gaskin
stephen barncard wrote: I know how to determine the *name* of the *stack file* that's holding a loaded stack, but if one knows the *stack file name*, how does one get the name of the stacks within? get the substacks of stack MyMainStack Does the whole stack have to be loaded first or is

Re: stacks within a stack file

2011-04-11 Thread J. Landman Gay
On 4/11/11 4:20 PM, stephen barncard wrote: got it -- tnx richard. put /Users/Desktop/stackfile,rev into sf put the mainstack of stack sf into tStacks put the substacks of stack sf into tSubStacks LiveCode will resolve the path as a stack if you specify stack, so you could combine it all

Error in Windows standalone

2011-04-11 Thread Paul Foraker
I've built a little app that is generating a script error on Windows 7, but not on XP or Mac. On Win 7, the app generates this error message: Executing at 2:58:29 PM Type Object card id 1002 Lineput 'Object' tab the short name of tObject cr after tErrorString HintpreOpenCard I don't

Re: Error in Windows standalone

2011-04-11 Thread Mike Bonner
Might look at http://forums.runrev.com/viewtopic.php?f=18t=1694 and see if it applies. Also noticed you mentioned a database in your post, if you're trying to access a database from your stack, you can't do anything relating to it in your preopenstack handler. The external won't be loaded yet

Re: Error in Windows standalone

2011-04-11 Thread Mike Bonner
Here is the comment from the rev dictionary that explains. Got it from the very last comment for revopendatabase. * * *revOpenDatabase, like all the revDB commands and functions is implemented in a separate library called an External, rather than in the Revolution core engine. * * * *The database

Re: Error in Windows standalone

2011-04-11 Thread Pete
preOpenCard works for db access, not sure about other externals. Pete Molly's Revenge http://www.mollysrevenge.com On Mon, Apr 11, 2011 at 4:00 PM, Mike Bonner bonnm...@gmail.com wrote: Might look at http://forums.runrev.com/viewtopic.php?f=18t=1694 and see if it applies. Also noticed

Re: Error in Windows standalone

2011-04-11 Thread Andrew Kluthe
I had this happen on windows 7 when it opened cards with datagrids. The datagrid library was not being included in the stand alone. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Error-in-Windows-standalone-tp3443299p3443496.html Sent from the Revolution - User

Re: Error in Windows standalone

2011-04-11 Thread Paul Foraker
Seems like if it were the case that the datagrid library did not get included, it would also fail on Win XP, no? It works fine there and on Mac. On Mon, Apr 11, 2011 at 6:11 PM, Andrew Kluthe and...@rjdfarm.com wrote: I had this happen on windows 7 when it opened cards with datagrids. The

Re: Error in Windows standalone

2011-04-11 Thread J. Landman Gay
On 4/11/11 8:53 PM, Paul Foraker wrote: Seems like if it were the case that the datagrid library did not get included, it would also fail on Win XP, no? It works fine there and on Mac. You'd think so. Did you send exactly the same copy to XP and Win7 users? It was just mentioned on the dev

Re: Error in Windows standalone

2011-04-11 Thread J. Landman Gay
On 4/11/11 5:27 PM, Paul Foraker wrote: I've built a little app that is generating a script error on Windows 7, but not on XP or Mac. On Win 7, the app generates this error message: Executing at 2:58:29 PM Type Object card id 1002 Lineput 'Object' tab the short name of tObject cr after

iOS and revBrowser

2011-04-11 Thread Jim Sims
Anyone using revBrowser with iOS? Have you had problems doing so or does all seem fine? sims ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: