HTML as GUI

Discussion in 'Mac Programming' started by mogallin, Jul 25, 2008.

  1. mogallin macrumors member

    Joined:
    Jul 21, 2008
    #1
    My question is: is it possible to use HTML to make GUIs for programs?

    I was thinking that instead of having a HTML link linking to a location it could perform a input action like entering a value to the program.
    Maybe like this
    <a href="programname.input.'2'"> 2 </a>

    It would spare me a few hours learning a GUI I anyway would only use for this kind of things.
     
  2. lazydog macrumors 6502a

    Joined:
    Sep 3, 2005
    Location:
    Cramlington, UK
    #2
    I think widget development with Dashboard is what you want to look at. If you want to code the 'logic' in C or Objective-C then you'll need to write that part as a plugin.

    b e n
     
  3. tominated macrumors 68000

    tominated

    Joined:
    Jul 7, 2006
    Location:
    Queensland, Australia
    #3
    Actually, you can with adobe AIR. it's cross platform too.
     
  4. Catfish_Man macrumors 68030

    Catfish_Man

    Joined:
    Sep 13, 2001
    Location:
    Portland, OR
    #4
    You could do this using WebKit's Objective-C/Javascript bridge.
     

Share This Page