(no subject)
(no subject)
- Subject: (no subject)
- From: Barbara Mueller <email@hidden>
- Date: Tue, 1 Apr 2003 12:24:04 +0200
Hallo,
Meanwhile I have solved the problem with "Application process whose
creator type
" but there was another problem arising:
The following script should work independent of the application's name.
But as soon as I replace "AppleWorks 6" with theApp in line 3, the
loop begins to turn endlessly and I have to stop the script manually.
Could anyone tell me why this is so or suggest me any other solution
avoiding the application's name?
tell application "Finder" to open application file id "BOBO"
tell application "Finder" to set theApp to application file id "BOBO" as string
tell application theApp
activate
tell application "System Events"
tell process theApp
set MenuList to name of every menu of menu bar 1
set MenuCount to count of MenuList
repeat until MenuList contains "File"
set MenuList to name of every menu of menu bar 1
end repeat
say "I have opened the AppleWorks"
end tell
end tell
end tell
Barbara
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.