You aren't, but for the sake of demonstration, and so as to not confuse the
target audience by making them think that merge is part of the principle being
demonstrated, i used literals.
Bob
On May 23, 2011, at 4:21 PM, Mike Bonner wrote:
> I must be the only one who uses 'the shortfilepath'
I must be the only one who uses 'the shortfilepath' to avoid all this?
Though while we're at it, this works too.
put merge("[[quote]]C:\Documents and Settings\myprofile\Desktop\My App
Name.exe[[quote]]") into theFilePath
On Mon, May 23, 2011 at 5:15 PM, Bob Sneidar wrote:
> Aye. It's the ole R
Aye. It's the ole Readability vs. Compactness conundrum.
Bob
On May 23, 2011, at 3:27 PM, Roger Eller wrote:
> or... to keep it as a one liner...
>
> put quote & "C:\Documents and Settings\myprofile\Desktop\My App Name.exe" &
> quote into theFilePath
>
> ˜Roger
>
>
> On Mon, May 23, 2011 a
or... to keep it as a one liner...
put quote & "C:\Documents and Settings\myprofile\Desktop\My App Name.exe" &
quote into theFilePath
˜Roger
On Mon, May 23, 2011 at 6:19 PM, Bob Sneidar wrote:
> I may or may not have responded to this, but you cannot simply enclose the
> program name in quote
I may or may not have responded to this, but you cannot simply enclose the
program name in quotes for the argument to the shell command, because Livecode
will simply interpret whatever is between the quotes and send that.
Instead, put the path to the app or file you want to work with into a var
On Monday, May 23, 2011 04:27:38 PM Graham Samuel wrote:
> I tried "My spacious program.exe" since I couldn't see how to introduce a
> further level of quotes.
Maybe it just won't work, but did you try to use the single quote char ' ? I
don't know if this is valid under
Windows, but " and ' are
Try
"my\ spacious\ program.exe"
On Mon, May 23, 2011 at 3:27 PM, Graham Samuel wrote:
> Again thanks to all who replied. I'm trying to do the things that Mike and
> Ken have suggested, but meanwhile for Björnke, I am not sure what escape
> involves in Windows - I assume there is an escape charac
Again thanks to all who replied. I'm trying to do the things that Mike and Ken
have suggested, but meanwhile for Björnke, I am not sure what escape involves
in Windows - I assume there is an escape character or character pair... and as
to quoting in file names, where Mike had
"firefox.exe"
(i
If you slightly change kens script to this
*Set ProcessSet
=GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2").ExecQuery("Select
* from Win32_Process")*
*
*
*tList = ""*
*For each Process in ProcessSet*
* if Process.ExecutablePath <> "" Then*
* tList = tList & Process.Na
Ah k, nvm. The impersonation stuff designates access level.
On Sun, May 22, 2011 at 1:14 PM, Mike Bonner wrote:
> I don't understand Ken Rays script, will have to look things up.
>
> I don't know for sure, but I suspect a standard backslash is used to escape
> chars in vb scripts so if you had a
I don't understand Ken Rays script, will have to look things up.
I don't know for sure, but I suspect a standard backslash is used to escape
chars in vb scripts so if you had an executable named "fred schmed.exe" to
make it work it would be "fred\ schmed.exe"
Also, if you have a path with spaces
> It would be helpful of course if I could see the process list in the PC - then
> I could launch the prog from outside my LC app and just look at the list to
> see what Windows calls it, but I don't know how to do that on XP since
> 'tasklist' isn't recognised and I don't know how to display thi
you need to quote or escape spaces. That was suggested and people succesfully
tested it on their own setup.
What exactly did you try to quote the filenames, or escape the spaces?
On 22 May 2011, at 19:51, Graham Samuel wrote:
> Excuse me for repeating myself, but I put the essentials of this me
Excuse me for repeating myself, but I put the essentials of this message to the
list already under another subject heading - this one reflects what I'm really
trying to find out.
Mike Bonner has been helping me on this list with a little VB script that
launches a Windows program from within a L
14 matches
Mail list logo