Resolved Programmate css in applescript

Discussion in 'Mac Programming' started by Applescripter, Apr 27, 2012.

  1. Applescripter, Apr 27, 2012
    Last edited: Apr 29, 2012

    Applescripter macrumors newbie

    Apr 27, 2012
    :apple: Hi, I wannt to make a Coca Applescript based Webview Application(in Xcode). In that I wannt
    to hide the Youtube searchfield. The css code for that is:
    #masthead-search-bar, #masthead-user-bar {
    display: none;
    visibility: hidden;
    but how can I get that css code in my applescript application

    This is that what I've allready programmed:
    property myWebView: missing value
    on videosBotton_(sender)
    Tell myWebView to setMainFrameUrl_("")
    Tell myWebView to -- here should come the css code
    end videosBotton_

Share This Page