Re: How to launch an application (like "word" from a stack?

2010-06-19 Thread Andre.Bisseret


Le 19 juin 10 à 12:40, Peter Brigham MD a écrit :


On Jun 18, 2010, at 4:31 PM, J. Landman Gay wrote:


Peter Brigham MD wrote:
Yes, I forgot about the "show all file extensions" preference. I  
have it off, but when I turn it on and look in my Applications  
folder in the Finder, all of the other apps now have ".app"  
appended, but "Microsoft Word" doesn't. Neither does Powerpoint or  
Excel.

And when I try
 answer file "Pick an app:"; put it into a;put a
I get, eg, "/Applications/Calculator.app" no matter what the  
Finder settings are but I also get "/Applications/Microsoft Office  
2004/Microsoft Word" no matter what the Finder settings are as well.

???


Sounds like you have version of Office that's so old, the apps  
aren't OS X bundles. I didn't think those would run any more. If  
you right-click on Word and you don't see "Show package contents"  
in the menu, then it isn't a bundle.


Ah, that's what's happening. Thanks for clearing up the little  
mystery. There are so many times when I think, "That's funny, I  
wonder why it's like that" about something -- especially computers  
-- and usually I have to move on without my curiosity being  
satisfied. Every little tidbit like this helps me delude myself that  
I actually am beginning to understand a little


-- Peter

Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig

"There has been an alarming increase in the number of things I know
nothing about."


Then, I think you are more and more knowledgeable ;-))

I am a retired researcher and all along my working time I experienced  
the same. As soon I learned something new about a subject, I  
experienced the same increase in the number of things I was not  
knowing about it


Thanks a lot for your contribution to this thread

André




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: How to launch an application (like "word" from a stack?

2010-06-19 Thread Peter Brigham MD

On Jun 18, 2010, at 4:31 PM, J. Landman Gay wrote:


Peter Brigham MD wrote:
Yes, I forgot about the "show all file extensions" preference. I  
have it off, but when I turn it on and look in my Applications  
folder in the Finder, all of the other apps now have ".app"  
appended, but "Microsoft Word" doesn't. Neither does Powerpoint or  
Excel.

And when I try
  answer file "Pick an app:"; put it into a;put a
I get, eg, "/Applications/Calculator.app" no matter what the Finder  
settings are but I also get "/Applications/Microsoft Office 2004/ 
Microsoft Word" no matter what the Finder settings are as well.

???


Sounds like you have version of Office that's so old, the apps  
aren't OS X bundles. I didn't think those would run any more. If you  
right-click on Word and you don't see "Show package contents" in the  
menu, then it isn't a bundle.


Ah, that's what's happening. Thanks for clearing up the little  
mystery. There are so many times when I think, "That's funny, I wonder  
why it's like that" about something -- especially computers -- and  
usually I have to move on without my curiosity being satisfied. Every  
little tidbit like this helps me delude myself that I actually am  
beginning to understand a little


-- Peter

Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig

"There has been an alarming increase in the number of things I know
nothing about."


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: How to launch an application (like "word" from a stack?

2010-06-19 Thread Andre.Bisseret

Ah! yes I understand now! My old handler was

 launch "/Applications/Microsoft Office 2004/Microsoft Word"
That used to work!

Trying to use it again, as my current version of Office is 2008, I  
just replaced 2004 with 2008 which was not working (whence my first  
post on this subject).


OK! seems clear to me now

Thank you much Jacque

André


Le 18 juin 10 à 22:31, J. Landman Gay a écrit :


Peter Brigham MD wrote:
Yes, I forgot about the "show all file extensions" preference. I  
have it off, but when I turn it on and look in my Applications  
folder in the Finder, all of the other apps now have ".app"  
appended, but "Microsoft Word" doesn't. Neither does Powerpoint or  
Excel.

And when I try
  answer file "Pick an app:"; put it into a;put a
I get, eg, "/Applications/Calculator.app" no matter what the Finder  
settings are but I also get "/Applications/Microsoft Office 2004/ 
Microsoft Word" no matter what the Finder settings are as well.

???


Sounds like you have version of Office that's so old, the apps  
aren't OS X bundles. I didn't think those would run any more. If you  
right-click on Word and you don't see "Show package contents" in the  
menu, then it isn't a bundle.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: How to launch an application (like "word" from a stack?

2010-06-19 Thread Andre.Bisseret

Bonjour Peter,
Le 18 juin 10 à 14:46, Peter Brigham MD a écrit :

Hmm... On my system (MacBook, OSX 10.5.8, Rev Studio 4.0.0-gm-1,  
build 950) the following works fine:

  launch "/Applications/Microsoft Office 2008/Microsoft Word"
whereas
  launch "/Applications/Microsoft Office 2008/Microsoft Word.app"
does not work.
I have the same system (Mac OSX 10.5.8) and Rev Enterprise 4.0-gm-1 (I  
tried also several other version: 2.8.1, 3.5 gm-1 and 4.5-dp-3)
Always getting the inverse result (works with .app, doesn't work  
without .app) bizarre isn't it!


In the Finder on my Mac, the MSWord application does not have the  
".app" suffix, so I would have been surprised if using "/Microsoft  
Word.app" had worked, since it doesn't correspond to an identifiable  
file on my drive.

Jacque is right (as usual ;-)):

Using the recent suggestion from Bernd on this thread:
---
select the file/application you want to address in the finder, command- 
C or copy it and paste it into the

Rev field/script to get the full path pasted.
---
I get the same path with the suffix ".app" in any case: either  
choosing "extensions hidden" or "shown" in the finder prefs.


Now, seems unlikely it be a difference between Enterprise and Studio?

Well, wait and see ;-))

Best regards

André


But you're correct that
  launch "/Applications/Microsoft Office 2008/Microsoft Word/"
also works, though strictly speaking it should be ungrammatical in  
RevTalk.


Is this a Mac vs Windows thing? A Leopard vs Snow Leopard thing? A  
Rev 4.0 vs 4.5 thing?


-- Peter

Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig


On Jun 18, 2010, at 4:30 AM, Andre.Bisseret wrote:



Le 17 juin 10 à 15:22, Peter Brigham MD a écrit :

I suspect the problem was more related to the final slash in your  
original script, so a folder was specified rather than a file.  
Does it work using ".../Microsoft Word" without the ".app" but  
also without the final slash?


-- Peter


Bonjour Peter,

No, it does not work without ".app", either with the final slash or  
without it.


launch "/Applications/Microsoft Office 2008/Microsoft Word/" --  
does not work
launch "/Applications/Microsoft Office 2008/Microsoft Word" -- does  
not work


while it works as soon as one adds the ".app", with or without a  
final slash:


launch "/Applications/Microsoft Office 2008/Microsoft Word.app" --  
works
launch "/Applications/Microsoft Office 2008/Microsoft Word.app/" --  
works


Thank you much for your reply and suggestion

Best regards from Grenoble

André



Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig


On Jun 17, 2010, at 8:27 AM, Andre.Bisseret wrote:


Danke shön! Bernd for your prompt reply
Klaus was the winner ;-))) with the same suggestion

works fine now with .app

Guten nachmittag!

André


Le 17 juin 10 à 13:49, BNig a écrit :



André,

on mouseUp
launch "/Applications/Microsoft Office 2008/Microsoft Word.app"
if the result is not empty then answer the result
end mouseUp

works for me.
regards
Bernd
-- View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/How-to-launch-an-application-like-word-from-a-stack-tp2258617p2258653.html
Sent from the Revolution - User mailing list archive at  
Nabble.com.

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: How to launch an application (like "word" from a stack?

2010-06-19 Thread Andre.Bisseret
Ah! yeeesss! completly forgot that! while reminds me that I used the  
first one a couple of times in my scripts ;-o)))


I did not know the second one (to run)
Very worthwhile to know this 2 commands and their difference

Thanks a lot Emmett, I much appreciate your contribution

Best regards from Grenoble

André

Le 18 juin 10 à 15:54, Emmett Gray a écrit :

On Thu, 17 Jun 2010 13:16:49 +0200, "Andre.Bisseret" > wrote asking this.


An elegant way is to use AppleScript, which avoids having to know  
the path:


do "tell application " & quote &  "Microsoft Word" & quote & " to  
activate" as AppleScript


opens it and makes it frontmost, or

do "tell application " & quote &  "Microsoft Word" & quote & " to  
run" as AppleScript


opens it an keeps it in the background.

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: How to launch an application (like "word" from a stack?

2010-06-18 Thread J. Landman Gay

Peter Brigham MD wrote:
Yes, I forgot about the "show all file extensions" preference. I have it 
off, but when I turn it on and look in my Applications folder in the 
Finder, all of the other apps now have ".app" appended, but "Microsoft 
Word" doesn't. Neither does Powerpoint or Excel.


And when I try
   answer file "Pick an app:"; put it into a;put a
I get, eg, "/Applications/Calculator.app" no matter what the Finder 
settings are but I also get "/Applications/Microsoft Office 
2004/Microsoft Word" no matter what the Finder settings are as well.


???


Sounds like you have version of Office that's so old, the apps aren't OS 
X bundles. I didn't think those would run any more. If you right-click 
on Word and you don't see "Show package contents" in the menu, then it 
isn't a bundle.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: How to launch an application (like "word" from a stack?

2010-06-18 Thread Peter Brigham MD
Yes, I forgot about the "show all file extensions" preference. I have  
it off, but when I turn it on and look in my Applications folder in  
the Finder, all of the other apps now have ".app" appended, but  
"Microsoft Word" doesn't. Neither does Powerpoint or Excel.


And when I try
   answer file "Pick an app:"; put it into a;put a
I get, eg, "/Applications/Calculator.app" no matter what the Finder  
settings are but I also get "/Applications/Microsoft Office 2004/ 
Microsoft Word" no matter what the Finder settings are as well.


???

-- Peter

Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig


On Jun 18, 2010, at 12:17 PM, J. Landman Gay wrote:


Peter Brigham MD wrote:
Hmm... On my system (MacBook, OSX 10.5.8, Rev Studio 4.0.0-gm-1,  
build 950) the following works fine:

  launch "/Applications/Microsoft Office 2008/Microsoft Word"
whereas
  launch "/Applications/Microsoft Office 2008/Microsoft Word.app"
does not work. In the Finder on my Mac, the MSWord application does  
not have the ".app" suffix, so I would have been surprised if using  
"/Microsoft Word.app" had worked, since it doesn't correspond to an  
identifiable file on my drive.


I'm sure the ".app" suffix is there, OS X needs it. The Finder has  
an option to hide extensions though, and probably that's set on your  
Mac. I think hiding them is the default setting; I always change it  
back to show extensions. But I'm not sure why you can't launch Word  
when you do include it, since it certainly exists on the file  
bundle. I wouldn't think Rev would discriminate between file names  
based on the user's visual view.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: How to launch an application (like "word" from a stack?

2010-06-18 Thread J. Landman Gay

Peter Brigham MD wrote:
Hmm... On my system (MacBook, OSX 10.5.8, Rev Studio 4.0.0-gm-1, build 
950) the following works fine:

   launch "/Applications/Microsoft Office 2008/Microsoft Word"
whereas
   launch "/Applications/Microsoft Office 2008/Microsoft Word.app"
does not work. In the Finder on my Mac, the MSWord application does not 
have the ".app" suffix, so I would have been surprised if using 
"/Microsoft Word.app" had worked, since it doesn't correspond to an 
identifiable file on my drive.


I'm sure the ".app" suffix is there, OS X needs it. The Finder has an 
option to hide extensions though, and probably that's set on your Mac. I 
think hiding them is the default setting; I always change it back to 
show extensions. But I'm not sure why you can't launch Word when you do 
include it, since it certainly exists on the file bundle. I wouldn't 
think Rev would discriminate between file names based on the user's 
visual view.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: How to launch an application (like "word" from a stack?

2010-06-18 Thread Peter Brigham MD
Hmm... On my system (MacBook, OSX 10.5.8, Rev Studio 4.0.0-gm-1, build  
950) the following works fine:

   launch "/Applications/Microsoft Office 2008/Microsoft Word"
whereas
   launch "/Applications/Microsoft Office 2008/Microsoft Word.app"
does not work. In the Finder on my Mac, the MSWord application does  
not have the ".app" suffix, so I would have been surprised if using "/ 
Microsoft Word.app" had worked, since it doesn't correspond to an  
identifiable file on my drive.

But you're correct that
   launch "/Applications/Microsoft Office 2008/Microsoft Word/"
also works, though strictly speaking it should be ungrammatical in  
RevTalk.


Is this a Mac vs Windows thing? A Leopard vs Snow Leopard thing? A Rev  
4.0 vs 4.5 thing?


-- Peter

Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig


On Jun 18, 2010, at 4:30 AM, Andre.Bisseret wrote:



Le 17 juin 10 à 15:22, Peter Brigham MD a écrit :

I suspect the problem was more related to the final slash in your  
original script, so a folder was specified rather than a file. Does  
it work using ".../Microsoft Word" without the ".app" but also  
without the final slash?


-- Peter


Bonjour Peter,

No, it does not work without ".app", either with the final slash or  
without it.


launch "/Applications/Microsoft Office 2008/Microsoft Word/" -- does  
not work
launch "/Applications/Microsoft Office 2008/Microsoft Word" -- does  
not work


while it works as soon as one adds the ".app", with or without a  
final slash:


launch "/Applications/Microsoft Office 2008/Microsoft Word.app" --  
works
launch "/Applications/Microsoft Office 2008/Microsoft Word.app/" --  
works


Thank you much for your reply and suggestion

Best regards from Grenoble

André



Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig


On Jun 17, 2010, at 8:27 AM, Andre.Bisseret wrote:


Danke shön! Bernd for your prompt reply
Klaus was the winner ;-))) with the same suggestion

works fine now with .app

Guten nachmittag!

André


Le 17 juin 10 à 13:49, BNig a écrit :



André,

on mouseUp
launch "/Applications/Microsoft Office 2008/Microsoft Word.app"
if the result is not empty then answer the result
end mouseUp

works for me.
regards
Bernd
-- View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/How-to-launch-an-application-like-word-from-a-stack-tp2258617p2258653.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: How to launch an application (like "word" from a stack?

2010-06-18 Thread Emmett Gray
On Thu, 17 Jun 2010 13:16:49 +0200, "Andre.Bisseret" 
 wrote asking this.


An elegant way is to use AppleScript, which avoids having to know the path:

do "tell application " & quote &  "Microsoft Word" & quote & " to 
activate" as AppleScript


opens it and makes it frontmost, or

do "tell application " & quote &  "Microsoft Word" & quote & " to 
run" as AppleScript


opens it an keeps it in the background.

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: How to launch an application (like "word" from a stack?

2010-06-18 Thread Andre.Bisseret

Wow! I did not know that; sure it is worth!

Unfortunately seems that it does not work in tRev (impossible to paste  
directly in the script); but it works in the message box or in a  
field, from which it is possible to copy/paste in the script; so it is  
OK


it works well in the script editor of rev.

Danke sehr Bernd for this usefull information

Best regards

André




Le 18 juin 10 à 10:51, BNig a écrit :



André,

for what it is worth: in MacOS X you can select the file/application  
you
want to address in the finder, command-C or copy it and paste it  
into the

Rev field/script to get the full path pasted.

If you want multiple files you select them in the finder and then  
drag and
drop these files into the field/script to get the  paths of all the  
files.

Copy paste will only paste the first file selected.

It probably works in Windows too, though not tested.
regards
Bernd
--




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: How to launch an application (like "word" from a stack?

2010-06-18 Thread BNig

André,

for what it is worth: in MacOS X you can select the file/application you
want to address in the finder, command-C or copy it and paste it into the
Rev field/script to get the full path pasted.

If you want multiple files you select them in the finder and then drag and
drop these files into the field/script to get the  paths of all the files.
Copy paste will only paste the first file selected.

It probably works in Windows too, though not tested.
regards
Bernd
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/How-to-launch-an-application-like-word-from-a-stack-tp2258617p2259892.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: How to launch an application (like "word" from a stack?

2010-06-18 Thread Andre.Bisseret


Le 17 juin 10 à 15:22, Peter Brigham MD a écrit :

I suspect the problem was more related to the final slash in your  
original script, so a folder was specified rather than a file. Does  
it work using ".../Microsoft Word" without the ".app" but also  
without the final slash?


-- Peter


Bonjour Peter,

No, it does not work without ".app", either with the final slash or  
without it.


 launch "/Applications/Microsoft Office 2008/Microsoft Word/" -- does  
not work
 launch "/Applications/Microsoft Office 2008/Microsoft Word" -- does  
not work


while it works as soon as one adds the ".app", with or without a final  
slash:


 launch "/Applications/Microsoft Office 2008/Microsoft Word.app" --  
works
 launch "/Applications/Microsoft Office 2008/Microsoft Word.app/" --  
works


Thank you much for your reply and suggestion

Best regards from Grenoble

André



Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig


On Jun 17, 2010, at 8:27 AM, Andre.Bisseret wrote:


Danke shön! Bernd for your prompt reply
Klaus was the winner ;-))) with the same suggestion

works fine now with .app

Guten nachmittag!

André


Le 17 juin 10 à 13:49, BNig a écrit :



André,

on mouseUp
launch "/Applications/Microsoft Office 2008/Microsoft Word.app"
if the result is not empty then answer the result
end mouseUp

works for me.
regards
Bernd
-- View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/How-to-launch-an-application-like-word-from-a-stack-tp2258617p2258653.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: How to launch an application (like "word" from a stack?

2010-06-17 Thread Peter Brigham MD
I suspect the problem was more related to the final slash in your  
original script, so a folder was specified rather than a file. Does it  
work using ".../Microsoft Word" without the ".app" but also without  
the final slash?


-- Peter

Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig


On Jun 17, 2010, at 8:27 AM, Andre.Bisseret wrote:


Danke shön! Bernd for your prompt reply
Klaus was the winner ;-))) with the same suggestion

works fine now with .app

Guten nachmittag!

André


Le 17 juin 10 à 13:49, BNig a écrit :



André,

on mouseUp
 launch "/Applications/Microsoft Office 2008/Microsoft Word.app"
 if the result is not empty then answer the result
end mouseUp

works for me.
regards
Bernd
-- View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/How-to-launch-an-application-like-word-from-a-stack-tp2258617p2258653.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: How to launch an application (like "word" from a stack?

2010-06-17 Thread Andre.Bisseret

Danke shön! Bernd for your prompt reply
Klaus was the winner ;-))) with the same suggestion

works fine now with .app

Guten nachmittag!

André


Le 17 juin 10 à 13:49, BNig a écrit :



André,

on mouseUp
  launch "/Applications/Microsoft Office 2008/Microsoft Word.app"
  if the result is not empty then answer the result
end mouseUp

works for me.
regards
Bernd
--  
View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-to-launch-an-application-like-word-from-a-stack-tp2258617p2258653.html

Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: How to launch an application (like "word" from a stack?

2010-06-17 Thread Andre.Bisseret

Guten tag Klaus,

Le 17 juin 10 à 13:20, Klaus on-rev a écrit :


Bonjour, Andre.Bisseret:


Bonjour,

If I put the following handler in the script of a button:

on mouseUp
 launch "/Applications/Microsoft Office 2008/Microsoft Word/"
 answer the result
end mouseUp

I get "no such program"


You supply a path to a FOLDER here, is that correct?


Microsoft Office 2008 is a folder in which there is among others the  
app Microsoft Word



Shouldn't it be:
...
launch "/Applications/Microsoft Office 2008/Microsoft Word.app"
...
?
You are right (not a surprise ;-)); adding ".app" was what I was  
missing!

(I would have swear that in older versions it used to work without .app)

Danke sehr for your so quick and efficient help :-))

André




I was quite sure that I had have this working well before  
(Actually, I just replace 2004 with 2008 in an old handler which  
used to work)

I get the same result with rev 4.0 and rev 4.5 dp 3
Did not find any insight in the archives.
What am I missing?
Thanks a lot in advance

Best regards from Grenoble

André


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: How to launch an application (like "word" from a stack?

2010-06-17 Thread BNig

André,

on mouseUp
   launch "/Applications/Microsoft Office 2008/Microsoft Word.app"
   if the result is not empty then answer the result
end mouseUp

works for me.
regards
Bernd
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/How-to-launch-an-application-like-word-from-a-stack-tp2258617p2258653.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: How to launch an application (like "word" from a stack?

2010-06-17 Thread Klaus on-rev
Bonjour, Andre.Bisseret:

> Bonjour,
> 
> If I put the following handler in the script of a button:
> 
> on mouseUp
>   launch "/Applications/Microsoft Office 2008/Microsoft Word/"
>   answer the result
> end mouseUp
> 
> I get "no such program"

You supply a path to a FOLDER here, is that correct?
Shouldn't it be:
...
launch "/Applications/Microsoft Office 2008/Microsoft Word.app"
...
?

> I was quite sure that I had have this working well before (Actually, I just 
> replace 2004 with 2008 in an old handler which used to work)
> I get the same result with rev 4.0 and rev 4.5 dp 3
> Did not find any insight in the archives.
> What am I missing?
> Thanks a lot in advance
> 
> Best regards from Grenoble
> 
> André

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


How to launch an application (like "word" from a stack?

2010-06-17 Thread Andre.Bisseret

Bonjour,

If I put the following handler in the script of a button:

on mouseUp
   launch "/Applications/Microsoft Office 2008/Microsoft Word/"
   answer the result
end mouseUp

I get "no such program"

I was quite sure that I had have this working well before (Actually, I  
just replace 2004 with 2008 in an old handler which used to work)


I get the same result with rev 4.0 and rev 4.5 dp 3
Did not find any insight in the archives.

What am I missing?

Thanks a lot in advance

Best regards from Grenoble

André




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution