Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Apr 27, 2012, 03:29 PM   #1
Applescripter
macrumors newbie
 
Join Date: Apr 2012
Programmate css in applescript

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:
Code:
#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:
Code:
property myWebView: missing value

on videosBotton_(sender)
Tell myWebView to setMainFrameUrl_("http://youtube.com/")
Tell myWebView to -- here should come the css code
end videosBotton_

Last edited by Applescripter; Apr 29, 2012 at 07:57 AM.
Applescripter is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
No CSS on some websites. clinthorner MacBook 0 Nov 6, 2013 10:05 PM
AppleScript: How do I save multiple Excel sheets to one pdf using Applescript sbtaylor1 Mac Programming 0 Oct 28, 2013 11:38 PM
AppleScript: How do I save multiple Excel sheets to one pdf using Applescript sbtaylor1 Mac Applications and Mac App Store 0 Oct 28, 2013 11:32 PM
Help me with CSS. waloshin Web Design and Development 9 Jan 1, 2013 08:30 AM
Need Help Centering UL CSS menu screensaver400 Web Design and Development 2 Dec 27, 2012 07:28 PM

Forum Jump

All times are GMT -5. The time now is 09:16 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC