• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Open safari and send post variables
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Open safari and send post variables


  • Subject: Re: Open safari and send post variables
  • From: Ken Tozier <email@hidden>
  • Date: Fri, 9 Jun 2006 11:37:38 -0400


On Jun 9, 2006, at 11:11 AM, Keary Suska wrote:

on 6/9/06 7:55 AM, email@hidden purportedly said:


I know what you mean , but there are some problems:

1- In the URL field I will see the tmp path of course and not the
site URL
2- The images of that web site will not loaded because the path...

So I don't think this is the correct way to interact trough cocoa
with a web site...

But if you have some other idea... :)

Do you specifically want the user to interact with Safari? Or are you just targeting Safari because it loads images for you automatically? What if the user prefers to use Firefox, OmniWeb, Opera, Shiira or (holds nose) IE?


You mentioned loading images so are you really trying to read the contents of a url extracting the images so you can display them to the user? I'm sure there is someone (either Apple or third party) has a Cocoa class that can read html files. You might even be able to do it with NSXMLParser with a few tweaks.



The short answer is that you can't quite do what you want--without
AppleScript, that is, or without extensive workarounds that may not be worth
the trouble. But if you *do* think it's worth the trouble you may want to
look into building a Safari plugin/extension, or using services
<http://developer.apple.com/documentation/Cocoa/Conceptual/ SysServices/SysSe
rvices.html#//apple_ref/doc/uid/10000101>


Interapplication communication is essentially limited to ApppleScript
(including automator), services, and low-level signals.

Best,

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40comcast.net


This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Open safari and send post variables
      • From: Yorh <email@hidden>
References: 
 >Re: Open safari and send post variables (From: Keary Suska <email@hidden>)

  • Prev by Date: Re: Open safari and send post variables
  • Next by Date: Re: Open safari and send post variables
  • Previous by thread: Re: Open safari and send post variables
  • Next by thread: Re: Open safari and send post variables
  • Index(es):
    • Date
    • Thread