hyperlink menu item in xcode?


i have built small applescript studio application, , add link homepage in the file menu. have absolutely no idea start, , thought relatively simple...

made applescript script , tried attach menu item it, attach button event script, doesnt work.... menu stays greyed out when test it.

can point me in right direction, ive scoured google cant find anything....

cheers in advance:(
 

in objective-c in program d&d manager use code:

code:
-(ibaction)loadwebsite:(id)sender{ 	nsurl *url=[nsurl urlwithstring:@"http://www.erasersoft.com/main2/download.html"]; 	[[nsworkspace sharedworkspace] openurl:url]; }
 


Forums Macs Mac Programming


  • iPhone
  • Mac OS & System Software
  • iPad
  • Apple Watch
  • Notebooks
  • iTunes
  • Apple ID
  • iCloud
  • Desktop Computers
  • Apple Music
  • Professional Applications
  • iPod
  • iWork
  • Apple TV
  • iLife
  • Wireless

Comments

Popular posts from this blog

Powerbook G4 power issue

MacBook hang up PLEASE HELP!

Apple Script