how to run applescript as a background process?

A

anni

i want to run this script in background...

Actually i want to handle popup window which appeat when we run this
code, it asks optons: 1-"Open the series" and 2-"Open the one", by
default the Open the one is selected but i wanted to select Opent the
series option. But this script wait until the option is not selected
so i was not able to run the code which select that option. Any
suggestion, how i can do it?

code to open event
********************************

[applescript]tell application "Microsoft Entourage"
set newevent to item 1 of (every event whose subject is equal to
"Test")
open newevent
end tell[/applescript]

code to select option
**********************************
[applescript]activate application "Microsoft Entourage"
tell application "System Events"
tell process "Microsoft Entourage"
-- insert GUI Scripting statements here
--radio button "Open the series" of window 1
tell window 1
click radio button "Open the series"
end tell
end tell
end tell[/applescript]
***********************************

regards,
anni
 
B

Barry Wainwright

anni said:
i want to run this script in background...

Actually i want to handle popup window which appeat when we run this
code, it asks optons: 1-"Open the series" and 2-"Open the one", by
default the Open the one is selected but i wanted to select Opent the
series option. But this script wait until the option is not selected
so i was not able to run the code which select that option. Any
suggestion, how i can do it?

what is it you are trying to achieve? It may well be possible to do it
without involving the UI at all.
 
A

anni

what is it you are trying to achieve? It may well be possible to do it
without involving the UI at all.

hi Barry,

can you tell me how to do it without using UI programming. It would
be great help,
 
A

anni

hi Barry,

Thanks for reply. Actually, I want to accept/decline
recurring meeting and i didn't find any other way to do it, without
opening an meeting. That's why i m trying to do it using UI. I you
could assist me how to do it without using involving UI, it would be
nice...


regards,
anni
 
B

Barry Wainwright

anni said:
hi Barry,

Thanks for reply. Actually, I want to accept/decline
recurring meeting and i didn't find any other way to do it, without
opening an meeting. That's why i m trying to do it using UI. I you
could assist me how to do it without using involving UI, it would be
nice...


regards,
anni

responding to invites is not possible through applescript at this time.

Please send feedback to Microsoft on this. Use the 'Send Feedback' item
under the 'Help' menu in any Office application. The more people that
request such a feature the more likely it is to be implemented.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top