Help with script please
Help with script please
- Subject: Help with script please
- From: "Ball, Dan" <email@hidden>
- Date: Thu, 10 Jun 2010 14:30:05 -0400
- Acceptlanguage: en-US
- Thread-topic: Help with script please
Hi everyone,
Just updated my clients to Firefox 3.6.3 and I am getting an error now with an xcode applescript app I made. Its basically a bunch of buttons that users can visually see and click on so they do different things. For example the following opens a website but doesn’t work now for some reason. Whats wrong with the code? Its been the same for years, not sure why it isn’t working all of sudden. The error seems to be Firefox doesn’t like the OpenURL in the script.
on clicked theObject
tell application "System Events"
if exists process "firefox-bin" then
tell application "Finder"
activate
open application file "Firefox.app" of folder "Applications" of startup disk
delay 4
tell application "Firefox"
OpenURL "www.hotmail.com"
end tell
end tell
else
tell application "Finder"
activate
open application file "Firefox.app" of folder "Applications" of startup disk
delay 8
tell application "Firefox"
OpenURL "www.hotmail.com"
end tell
end tell
end if
end tell
end clicked
on action theObject
end action
Thank you,
Dan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden