Re: Panther versus tiger
Re: Panther versus tiger
- Subject: Re: Panther versus tiger
- From: Jan Bultereys <email@hidden>
- Date: Wed, 29 Mar 2006 18:33:24 +0200
- Thread-topic: Panther versus tiger
OK this is the error when I remove "try"
System Events got an error:
NSReceiverEvaluationScriptError: 4
Any ideas?
> From: Robert Poland <email@hidden>
> Date: Wed, 29 Mar 2006 09:23:25 -0700
> To: Jan Bultereys <email@hidden>
> Subject: Re: Panther versus tiger
>
>> Hi, does anyone knows why this works in tiger but not in panther? No
>> errors given it just does nothing in Panther.
>>
>> tell application "QuarkXPress Passport"
>> tell document 1
>> activate
>> try
>> tell application "System Events"
>> tell process "QuarkXPress"
>> tell menu bar 1
>> tell menu bar item "Style"
>> tell menu "Style"
>> tell menu item "Underline Styles"
>> tell menu "Underline Styles"
>> click menu item "Custom..."
>> tell window "Underline Settings"
>> keystroke "50%"
>> keystroke tab
>> keystroke "0.3 pt"
>> keystroke tab
>> keystroke "2.5 pt"
>> keystroke return
>> end tell
>> end tell
>> end tell
>> end tell
>> end tell
>> end tell
>> end tell
>> end tell
>> end try
>> end tell
>> end tell
>>
>> Any input appreciated,jan
>
> Take the "Try" out and you should get errors.
> --
> Bob Poland - Fort Collins, CO
> http://www.ibrb.org/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden