How should I open a URL in a Mac App?

gamesmoldgamesmold Member, PRO Posts: 279
edited November -1 in Tech Support
Hi there,

maybe someone has a solution to this:

My new app for the Mac has just been rejected by Apple.

It starts in windowed mode, but they have switched to fullscreen and then they clicked the "more games" button.

While this getURL works perfectly in windowed mode, it doesn't in fullscreen mode. It opens the browser window behind the game, the game stays fullscreen and the user sees no effect after clicking.
And Apple tells me that this as a bug.

Is there a way to open URLs in a GS Mac app, anyway? When you can't prevent the user switching to fullscreen?

Does anybody know a trick how to do this right?

Thank you,
Thomas

Comments

  • LumpAppsLumpApps Member Posts: 2,881
    I have no idea how this works but isn't it possible to add a rule which first makes the game go to window mode and then open the URL (Perhaps build in a timer which opens the URL after say 0.1 secs).
    So:

    Rule: attribute receives mouse button down
    Go to window mode
    timer: after 0.1 secs
    Open url www.bla.com
  • gamesmoldgamesmold Member, PRO Posts: 279
    Well, having a rule that makes the player go to window mode would be great. But I fear there is no such rule...?
  • mintmomegmintmomeg Member, PRO Posts: 261
    @gamesmold I have same problem..
  • LumpAppsLumpApps Member Posts: 2,881
    Ah sorry to hear this. It was indeed a wild guess.
  • outsidethebyteoutsidethebyte Member Posts: 115
    Sounds like the GS team needs to throw in some code that minimizes the game window when a URL is called.
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    Submit it as a bug report. im sure they just missed it in testing.
  • gamesmoldgamesmold Member, PRO Posts: 279
    tenrdrmer said:
    Submit it as a bug report. im sure they just missed it in testing.

    Yes, I have sent them an email and they will look into this.

    But I guess I'll simply have to get along without opening any URLs on the Mac till they release the next GS update...
Sign In or Register to comment.