SketchUcation Premium Membership

 

 

mac UI.messagebox - hud and timeout

mac UI.messagebox - hud and timeout

Postby driven » Thu Jan 26, 2012 4:07 am

this freezes SU until click or time out. if timeout is never you can clear it in code
you can change
font, background or shadow color
bg opacity
size and position relative to MAIN screen
it can read the messages out
your "message" is scaled to fit, adding blank newlines would make the apple smaller

It can do other stuff I haven't tested.
2012-01-26 02.02.55 am.png
fromSU.png
Please, register (free) to access all the attachments on the forums.
driven
Top SketchUcator
 
Posts: 1409
Joined: Fri May 01, 2009 11:50 pm
Name: John
Operating system: Mac
SketchUp version: 8
License type: Pro
SketchUp use: engineering and mechanical design
Level of SketchUp: Intermediate

Re: mac UI.messagebox - hud and timeout

Postby thomthom » Thu Jan 26, 2012 9:30 am

Modal popup? Gimmegimmegimmegimmegimme!
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17545
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: thomthom
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: mac UI.messagebox - hud and timeout

Postby driven » Thu Jan 26, 2012 3:56 pm

thomthom wrote:Modal popup? Gimmegimmegimmegimmegimme!

thought you might like this...

so far i can get it working locally from SU, but it uses an Apple utility that isn't normally installed on macs.

I can host that utility almost anywhere and point to it.

For it to work on other peoples mac's, I can include it in a sub-directory for my module.

I need to work out the best approach to instal it for any other scripts to access.

I could use /usr/local/lib/bhtxt, but I'd have to build the folder structure to instal 'bhtxt' into for most people...

Is your mac up and running?
driven
Top SketchUcator
 
Posts: 1409
Joined: Fri May 01, 2009 11:50 pm
Name: John
Operating system: Mac
SketchUp version: 8
License type: Pro
SketchUp use: engineering and mechanical design
Level of SketchUp: Intermediate

Re: mac UI.messagebox - hud and timeout

Postby TIG » Thu Jan 26, 2012 4:13 pm

Could you not make a cross-platform Java [jar] based utility to do this? Borderless/transparent popup with images/text etc... :roll:
TIG
User avatar
TIG
Global Moderator
 
Posts: 13903
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: mac UI.messagebox - hud and timeout

Postby driven » Thu Jan 26, 2012 4:31 pm

TIG wrote:Could you not make a cross-platform Java [jar] based utility to do this? Borderless/transparent popup with images/text etc... :roll:

possibly some java wizard could, all I'm doing here is re-purposing a pre-compiled apple utility then writing a shell script in SU to run it.
e.g.`#!/bin/sh
/usr/local/lib/bhtxt -p 10 -f yellow -b purple -s cyan -o 0.640 -w 90% -h 90% -x 60 -y 60 " A Message  Goes Here "`

I can target it using w=(Sketchup.active_model.active_view.vp_width), etc...
but, I haven't worked out how to use all the options, any clues welcome
Code: Select all
Options:
   -h windowHeight
   -w windowWidth
          height and width can be either pixels,
          or percentages of the screen size.
          The default is  -w 90% -h 20% 
   -x xposition
   -y yposition
          Specify lower left corner of window.
          You can specify either pixels, or precentages of the screen size.
          If unspecified, window will be centered.
   -m     Ignore mouse clicks. Window stays put.
   -M     Ignore mouse clicks AND allow the user to move the window around.
            By default, mouse clicks make the window go away.
   -p N   Wait for at most N seconds. Use -p 0 to wait forever.
          The default is to display the message for 3 seconds.
   -d     detach and run in the background
   -f col Set the foreground (text) color.  Default is white.
   -b col Set the background (window) color. Default is black.
   -s col Set the text shadow color. Default is black.
          Colors can be a hex RGB value, e.g.  -f 00ff00  (green)
          or one of the standard NSColor names: black, darkGray, lightGray, white,
         gray, red, green, blue, cyan, yellow, magenta, orange, purple, brown.
   -o alpha 
          Set the transparency of the window. default is 0.640.
          0 is fully transparent, 1 is fully opaque.
   -d     detach and run in the background
   -v voice    Also say the text in the given voice (see "man say")   -H     Honk.
   -X     Exit with status 2 on timeout, 3 on user click.  (Rather than always 0.)
          Useful in scripts, if you need to differentiate a click from a timeout,
          but without -X, we always exit with status 0, which makes scripts simpler.
 b   -      read text from standard in, rather than arguments.
   --help Print this help message.
Text, including multi-line text, will be shrunk as needed to fit.

john
driven
Top SketchUcator
 
Posts: 1409
Joined: Fri May 01, 2009 11:50 pm
Name: John
Operating system: Mac
SketchUp version: 8
License type: Pro
SketchUp use: engineering and mechanical design
Level of SketchUp: Intermediate

Re: mac UI.messagebox - hud and timeout

Postby Dan Rathbun » Thu Jan 26, 2012 6:44 pm

I would suggest that the method take an options hash argument for complex uses (like the UI::WebDialog class does. And try to mimic it as closely as you can.)

The method could also take a few important args (and use defaults for the rest, or calculate position and size,) for simpler situations.

Code: Select all
module GUI

  def self.widgetbox( *args )
    if args.empty?
      raise(ArgumentError,"no arguments given.",caller)
    elsif args.length == 1
      # it should be a Hash arg
      unless args[0].is_a?(Hash)
        raise(TypeError,"Hash type as single argument expected.",caller)
      end
      h = args[0]
      #
    else # it's multi-arg list
      # build internal Hash from arglist
      h = Hash.new
      # set min number of keys here
      unless args[0].is_a?(String)
        raise(TypeError,"String type for first argument expected.",caller)
      else
        h['message']=args[0]
      end
      #
      #  ... etc ... etc
      #
    end

    # Check h for missing key/vals and set them.
    # Also check that vals are within valid ranges.

    cmdpath = 'some/path'

    # call command using replacement
    retval = %x(#{cmdpath} -p #{h['wait']} -x #{h['x']} -y #{h['y']} "#{h['message']}")

  end # def

end # module
User avatar
Dan Rathbun
Top SketchUcator
 
Posts: 4069
Joined: Tue Oct 06, 2009 3:06 am
Location: Florida, USA
Name: Dan Rathbun
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: education
Level of SketchUp: Advanced

Re: mac UI.messagebox - hud and timeout

Postby Dan Rathbun » Thu Jan 26, 2012 6:51 pm

Also.. everything else in the API, and webdialogs use upper left corner, so y would need to be translated to this.
User avatar
Dan Rathbun
Top SketchUcator
 
Posts: 4069
Joined: Tue Oct 06, 2009 3:06 am
Location: Florida, USA
Name: Dan Rathbun
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: education
Level of SketchUp: Advanced

Re: mac UI.messagebox - hud and timeout

Postby driven » Thu Jan 26, 2012 8:55 pm

Dan Rathbun wrote:Also.. everything else in the API, and webdialogs use upper left corner, so y would need to be translated to this.

I was thinking of using
y=(view.corner(2)[0].to_s + ", " + view.corner(2)[1].to_s)
would that cause issues if it's in a module?

BTW and OT. I may have an easy way to access SiteRuby...
driven
Top SketchUcator
 
Posts: 1409
Joined: Fri May 01, 2009 11:50 pm
Name: John
Operating system: Mac
SketchUp version: 8
License type: Pro
SketchUp use: engineering and mechanical design
Level of SketchUp: Intermediate

Re: mac UI.messagebox - hud and timeout

Postby Dan Rathbun » Thu Jan 26, 2012 10:53 pm

You misunderstand, apparently.

In Ruby we will be using and passing our desired upper left corner.

Internal to the method, you'll need to translate the y passed into the method, by adding the dialog's height to it (unless on the Mac, the screen origin 0,0 is at the bottom left, in that case you'd have to subtract the height,)...

... BEFORE passing the -y value to the %x (backquoted) shell command string.
User avatar
Dan Rathbun
Top SketchUcator
 
Posts: 4069
Joined: Tue Oct 06, 2009 3:06 am
Location: Florida, USA
Name: Dan Rathbun
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: education
Level of SketchUp: Advanced

Re: mac UI.messagebox - hud and timeout

Postby Dan Rathbun » Fri Jan 27, 2012 2:37 am

I would think, in most situations, authors will want the dialog centered, so you would just not pass -x & -y, to the shell command, at all.

Problem with using the API's View class, is that it is really the client area viewport, and not the screen. On my machine I dont have Sketchup maximized widthwise. On the left, ~ 16% is for ToolWindow dialogs. Then I have space taken up by vertical toolbars, etc.

Add to that.. the myriad monitor screen resolutions.... and well... it just makes sense to either use percentages, and/or let the system center the dialog.
User avatar
Dan Rathbun
Top SketchUcator
 
Posts: 4069
Joined: Tue Oct 06, 2009 3:06 am
Location: Florida, USA
Name: Dan Rathbun
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: education
Level of SketchUp: Advanced

Re: mac UI.messagebox - hud and timeout

Postby driven » Fri Jan 27, 2012 2:57 pm

Hi Dan, I couldn't reply last night, something odd with my internet...
Dan Rathbun wrote:You misunderstand, apparently.

possibly, I know very little about PC windows, but quite a lot about the mac ones.
Dan Rathbun wrote:I would think, in most situations, authors will want the dialog centered, so you would just not pass -x & -y, to the shell command, at all.
I agree with the centering, but you have to pass- x, -y to do that.

If I run the shell from applescript I can place the window in relation to the forefront SU windows size and position or the full desktop, but it has no idea where the SU 'design area' is.

To have the message 'appear' to part of SU [and plugins] you need to take SU's screen width into account and address the design window, which WD's don't address at all.

mac main screen sizes are cornered at 0, 0 [screen top/left] for the window containing the menu bar but all sub-window measurements require additional maths.

If you set SketchUp's window at [1000, 0, 1000, 1000] you get AXPosition (W): “x=1000 y=22” AXSize (W): “w=900 h=1000”

If you then set a WebDialog in that SU window at [1000, 1000, 1000, 0 ] you get AXPosition (W): “x=1000 y=22” AXSize (W): “w=1000 h=1000”

SU has taken the menu "y=22" height into account, but not it's toolbar, width or position, for a centered messages that is essential.

Ideally, need to know the 'viewport' || 'design window' position and size.

If I collect the viewport rectangle corners in SU I may as well use that match the shell script requirements and then apply the hashes, which can appear in the same order as WD.

I do something similar to 'print to scale' the viewport using a shell script, in another ruby.

The main difference's here is I need the 'desktop' size as well, especially for dual monitor setups and in the other script I can set SU to a datum size, compare that to viewport size, do any maths and then resize the viewport accurately.

here's the WIP applescript, not streamlined or tested for dual monitors yet, for comments... john
Code: Select all
tell application "Finder"
   set macScrn to the bounds of window of desktop
   set macH to item 4 of macScrn
   set macW to item 3 of macScrn
end tell
tell application "SketchUp"
   activate
   set foremost to true
   set SUscrn to the bounds of window 1
   set SUx to item 1 of SUscrn
   set SUy to item 2 of SUscrn
   set SUw to item 3 of SUscrn
   set SUh to item 4 of SUscrn
end tell
do shell script "./usr/local/lib/bhtxt  -p 10 -b purple -w " & ((SUw - SUx) * 0.75) & " -h " & ((SUh - SUy) * 0.6) & " -x " & (SUx + ((SUw - SUx) * 0.5) * 0.25) & " -y " & (macH - SUh + ((SUh - SUy) * 0.5) * 0.4) & "  A Message  Goes Here "
driven
Top SketchUcator
 
Posts: 1409
Joined: Fri May 01, 2009 11:50 pm
Name: John
Operating system: Mac
SketchUp version: 8
License type: Pro
SketchUp use: engineering and mechanical design
Level of SketchUp: Intermediate

Re: mac UI.messagebox - hud and timeout

Postby Dan Rathbun » Fri Jan 27, 2012 11:33 pm

driven wrote:I agree with the centering, but you have to pass- x, -y to do that.

Uh.. John. You posted the options list for the utility, that said:
-x xposition
-y yposition
Specify lower left corner of window.
You can specify either pixels, or precentages of the screen size.
If unspecified, window will be centered.


So if the author does not pass position, (they want it centered by the utility,) then you do not pass position args either.
User avatar
Dan Rathbun
Top SketchUcator
 
Posts: 4069
Joined: Tue Oct 06, 2009 3:06 am
Location: Florida, USA
Name: Dan Rathbun
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: education
Level of SketchUp: Advanced

Re: mac UI.messagebox - hud and timeout

Postby Dan Rathbun » Fri Jan 27, 2012 11:36 pm

    Will this just be a splash screen like "notice" window, or will it have all the same button options that a messagebox has ?? (OK, Yes/No, Yes/No/Cancel, etc.)
    User avatar
    Dan Rathbun
    Top SketchUcator
     
    Posts: 4069
    Joined: Tue Oct 06, 2009 3:06 am
    Location: Florida, USA
    Name: Dan Rathbun
    Operating system: Windows
    SketchUp version: 8
    License type: Pro
    SketchUp use: education
    Level of SketchUp: Advanced

    Re: mac UI.messagebox - hud and timeout

    Postby driven » Sat Jan 28, 2012 1:18 am

    Dan,

    In it's original use it 'SELF CENTERS' the message on any computer screen, [mac or PC] on an apple remote desktop network.

    To target an individual App window it needs to know where the app is, in relation to the 'full screen' it was designed for.

    You can only input text, using the single supplied font. You can set the time out so message appears to blink, or give a series of notices that require a click to cancel.

    It's not a replacement for user input, unless single option clicks. i.e. "click to abort, allow timeout to continue"

    However it could replace all the messages that don't really need clicks. e.g. "Select Group or Component" with a 1 second timeout. or script error messages when testing.

    It can respond to and return the single click or the timeout as values, which could be acted upon.

    My original planed usage is to give stepped instructions for using a specific tool instead of using instructor, reading the help files in a WD or using a skp with scenes.

    The user can at any time turn this 'aid' on or off after first run that contains essential operational details.

    I don't mind messages from scripts, but hate the fact I always have to cancel them, the timeout is the main attraction to me.

    It may well be extendable, but first it needs be to reliably 'stuck' to the SketchUp.active_model.active_view or there's not much point to it, except maybe license agreements, copy write read-me's, etc. where you want to cover everything until acknowledged.

    Currently, I've got it capable of replacing e.g. UI.messagebox("Cheese activated.") withMUI.messagebox("Cheese activated.")
    with MUI being up to "full-SU-screen" and on a timeout/click anywhere on background.

    I want to "full-SU-screen" to exclude the 'mac toolbar', which I can only do now with a hardcoded reduction in size. If linked to 'viewport' size it become dynamic.

    depending on how I launch it, it can be modal or non-modal in the normal mac [app specific] fashion.

    Your feedback is valued, as it makes me think, so thanks again.

    john
    driven
    Top SketchUcator
     
    Posts: 1409
    Joined: Fri May 01, 2009 11:50 pm
    Name: John
    Operating system: Mac
    SketchUp version: 8
    License type: Pro
    SketchUp use: engineering and mechanical design
    Level of SketchUp: Intermediate

    Re: mac UI.messagebox - hud and timeout

    Postby Dan Rathbun » Sat Jan 28, 2012 3:16 am

    No problem.. it does help to talk things out.

    For Windows, there is always ONLY one active model... so no floating document windows to iterate.

    But the model can have more than one scene page (actually, looks like it uses the same "pane" window for all scenes.)

    This topic (Sketchup View origin ) covered how to get the (upper-left) viewport origin (in relation to the desktop screen origin, which is also upper-left.)

    The location of the Sketchup application window, and it's size, IS stored in the registry, when SU closes. But it's only good, until the user moves or resizes the app window. The settings are not updated "live", which is why we use Win32API calls instead.
    User avatar
    Dan Rathbun
    Top SketchUcator
     
    Posts: 4069
    Joined: Tue Oct 06, 2009 3:06 am
    Location: Florida, USA
    Name: Dan Rathbun
    Operating system: Windows
    SketchUp version: 8
    License type: Pro
    SketchUp use: education
    Level of SketchUp: Advanced

    Re: mac UI.messagebox - hud and timeout

    Postby driven » Sat Jan 28, 2012 3:56 am

    Dan Rathbun wrote:The location of the Sketchup application window, and it's size, IS stored in the registry, when SU closes. But it's only good, until the user moves or resizes the app window. The settings are not updated "live", which is why we use Win32API calls instead.


    All the positions of all current windows are stored by the System Window Server.

    You have to query it in a very specific fashion to get the normally hidden details.

    AppleScript uses it to get a 'restricted' amount of information, but you can get a bit more.

    I actually got Ruby Console and a WebDialogs 'live' positions out earlier, but I accidently deleted the script and can't reproduce it now...

    john
    driven
    Top SketchUcator
     
    Posts: 1409
    Joined: Fri May 01, 2009 11:50 pm
    Name: John
    Operating system: Mac
    SketchUp version: 8
    License type: Pro
    SketchUp use: engineering and mechanical design
    Level of SketchUp: Intermediate

    Re: mac UI.messagebox - hud and timeout

    Postby Dan Rathbun » Mon Jan 30, 2012 9:48 pm

    Well deleting the poll, did not help. It still was marked (in the topic list,) that this thread had new posts, and that the last poster was driven, even tho, it was me that was the last poster.

    Let's see if, by me posting this message, if the forum topic lister PHP, gets things set back to normal.

    EDIT: Hey looks like it worked !!
    User avatar
    Dan Rathbun
    Top SketchUcator
     
    Posts: 4069
    Joined: Tue Oct 06, 2009 3:06 am
    Location: Florida, USA
    Name: Dan Rathbun
    Operating system: Windows
    SketchUp version: 8
    License type: Pro
    SketchUp use: education
    Level of SketchUp: Advanced

    Re: mac UI.messagebox - hud and timeout

    Postby driven » Mon Jan 30, 2012 11:10 pm

    So, it was you that broke it then... I had to get Gai to remove the poll, I don't have the delete button, it may be admin only...

    I made some progress on doing this sensibly.

    I currently write a dat file to user prefs folder that holds both Desktop's and SU's current position and overall size,
    I collect that in ruby, factor in the view.center, height and width and set the default MUI.message_box to match SU's current UI.message_box dims and position.

    the option hash would be a percentage increase in height and/or width, 0-100 being default to full-viewport.

    If an author wanted total Monitor Screen they can write directly to the utility as a separate operation.

    By approaching it this way, the initial installation of the utility could be added by users as a standalone mac enhancement that replaces the standard annoying UI.message_box's [message-only that have to be clicked for no reason], rather than part of any particular plugin.

    Once installed, MUI module, 'bht' utility and the positions dat file could then be accessed by any author for any purpose.

    thoughts welcome

    john
    driven
    Top SketchUcator
     
    Posts: 1409
    Joined: Fri May 01, 2009 11:50 pm
    Name: John
    Operating system: Mac
    SketchUp version: 8
    License type: Pro
    SketchUp use: engineering and mechanical design
    Level of SketchUp: Intermediate

    Re: mac UI.messagebox - hud and timeout

    Postby Dan Rathbun » Tue Jan 31, 2012 12:43 am

    1) What does MUI stand for ?

    2) What happens if the user resizes the Sketchup application window, after the module is loaded ?
    User avatar
    Dan Rathbun
    Top SketchUcator
     
    Posts: 4069
    Joined: Tue Oct 06, 2009 3:06 am
    Location: Florida, USA
    Name: Dan Rathbun
    Operating system: Windows
    SketchUp version: 8
    License type: Pro
    SketchUp use: education
    Level of SketchUp: Advanced

    Re: mac UI.messagebox - hud and timeout

    Postby driven » Tue Jan 31, 2012 1:36 am

    Dan Rathbun wrote:1) What does MUI stand for ?
    mac UI, you had used GUI in your template and I just change it to MUI, for now at least.


    2) What happens if the user resizes the Sketchup application window, after the module is loaded ?
    It's dynamic, it updates the prefs file with changes then modifies shell script before running. The dat file is a list of 8 items so it's quick and has very little overhead, compared to the normal applescript methods.
    I still need to read/write some back in ruby, but I'm trying to limit that to a minimum.

    john
    driven
    Top SketchUcator
     
    Posts: 1409
    Joined: Fri May 01, 2009 11:50 pm
    Name: John
    Operating system: Mac
    SketchUp version: 8
    License type: Pro
    SketchUp use: engineering and mechanical design
    Level of SketchUp: Intermediate

    Re: mac UI.messagebox - hud and timeout

    Postby Dan Rathbun » Tue Jan 31, 2012 4:12 am

    driven wrote:
    Dan Rathbun wrote:1) What does MUI stand for ?
    mac UI, you had used GUI in your template and I just change it to MUI, for now at least.

    Well I think the ultimate goal, is to have a cross-platform UI module:

    example:
    Code: Select all
    module SKX::GUI

      MAC =( RUBY_PLATFORM =~ /(darwin)/ ? true : false )
      WIN =( not MAC )

      if MAC
        def self.timed_splash( *args )
          # code calling Applescript, etc.
        end
      else # it's Windows
        def self.timed_splash( *args )
          # code using Win32API calls
        end
      end # if MAC

    end # module


    In practice actually, there would be a loader that determines the platform, and it would require one of two files:
    skx_gui_mac.rb or skx_gui_win.rb

    This is how Wx::Windows is setup when it loads.

    Anyhow, within any author's nested plugin module or class, they can create a pointer to the actual GUI module, using anyname they wish (since it's local to their namespace.)
    Ex:
    Code: Select all
    module Driven
      module Util
        class ExportWidget
          MUI = SKX::GUI
          MUI.timed_splash("John's Export Widget",10)
          # more code ...
        end # class
      end
    end

    The pointer can be a local constant, or a local var, a class var, doesn't matter. All references in Ruby just point at objects. A class or module name is just a constant that points at the instance objects of class Class and class Module, respectively.
    User avatar
    Dan Rathbun
    Top SketchUcator
     
    Posts: 4069
    Joined: Tue Oct 06, 2009 3:06 am
    Location: Florida, USA
    Name: Dan Rathbun
    Operating system: Windows
    SketchUp version: 8
    License type: Pro
    SketchUp use: education
    Level of SketchUp: Advanced

    Re: mac UI.messagebox - hud and timeout

    Postby driven » Sun Feb 05, 2012 11:19 pm

    An update for those interested,

    After following up on Dan's old suggestion to TIG, about using Thread.new for mac shell running, I have a non-freezing applescript/shell test that runs from a button in SU. The problem I was having with the shell/SU blocking has gone... yeh.

    At the moment I've made a proof of principle/demo, to show that the 'threading' works and speed is useable.

    It dynamically resizes SU to a number of random sizes, based on host Monitor size.

    For each, in turn, it dynamically creates a 'centered' random sized message-box based on the new windows size. [min-max preset as %]

    The messages are also random, as are the font, shadow and background colors.

    It takes SU full screen at the end.

    What I need next is confirmation of it working the same on other macs, before adding all the other bits that already work separately, but not yet combined. There's no reason to think it won't as it uses all mac, SU and Ruby 1.8.5 standard functions. but....

    I'll try and make a small enough screen-cast to post this demo here for none mac watchers.

    here's a zipped dmg for any willing mac owners... please.
    GoogleSketchUP_X_instal.dmg.zip

    john
    Please, register (free) to access all the attachments on the forums.
    driven
    Top SketchUcator
     
    Posts: 1409
    Joined: Fri May 01, 2009 11:50 pm
    Name: John
    Operating system: Mac
    SketchUp version: 8
    License type: Pro
    SketchUp use: engineering and mechanical design
    Level of SketchUp: Intermediate

    Re: mac UI.messagebox - hud and timeout

    Postby driven » Mon Feb 06, 2012 2:27 am

    For some reason i can't upload to YouTube, so I put a movie up here http://gallery.me.com/johnboundy#100086

    the movies quite compact at 1.2MB, but a small, crap animated giff version comes in at 12MB... I don't follow that.
    macMsg3078.gif
    Please, register (free) to access all the attachments on the forums.
    driven
    Top SketchUcator
     
    Posts: 1409
    Joined: Fri May 01, 2009 11:50 pm
    Name: John
    Operating system: Mac
    SketchUp version: 8
    License type: Pro
    SketchUp use: engineering and mechanical design
    Level of SketchUp: Intermediate

    Re: mac UI.messagebox - hud and timeout

    Postby Dan Rathbun » Mon Feb 06, 2012 5:25 am

    Bummer.. it a QT movie. Cannot install anything else right now. (Getting the old "System part of the Resgistry has reached it's limit..." messagesboxes.)

    Perhaps someone else can convert it WMV or AVI or something that YouTube likes ?
    User avatar
    Dan Rathbun
    Top SketchUcator
     
    Posts: 4069
    Joined: Tue Oct 06, 2009 3:06 am
    Location: Florida, USA
    Name: Dan Rathbun
    Operating system: Windows
    SketchUp version: 8
    License type: Pro
    SketchUp use: education
    Level of SketchUp: Advanced

    Re: mac UI.messagebox - hud and timeout

    Postby driven » Mon Feb 06, 2012 5:34 am

    Can you not view it online?

    I can make and upload to youTube normally, just not at the moment... I'll try tomorrow. john
    driven
    Top SketchUcator
     
    Posts: 1409
    Joined: Fri May 01, 2009 11:50 pm
    Name: John
    Operating system: Mac
    SketchUp version: 8
    License type: Pro
    SketchUp use: engineering and mechanical design
    Level of SketchUp: Intermediate

    Re: mac UI.messagebox - hud and timeout

    Postby driven » Mon Feb 06, 2012 5:42 am

    Dan, could you try to stick this on YouTube?

    macmsg_1.zip
    Please, register (free) to access all the attachments on the forums.
    driven
    Top SketchUcator
     
    Posts: 1409
    Joined: Fri May 01, 2009 11:50 pm
    Name: John
    Operating system: Mac
    SketchUp version: 8
    License type: Pro
    SketchUp use: engineering and mechanical design
    Level of SketchUp: Intermediate

    Re: mac UI.messagebox - hud and timeout

    Postby Dan Rathbun » Mon Feb 06, 2012 6:19 am

    It would not run on my Windows Media Player (mesagebox saying wrong format or you don't have the correct codec.)
    User avatar
    Dan Rathbun
    Top SketchUcator
     
    Posts: 4069
    Joined: Tue Oct 06, 2009 3:06 am
    Location: Florida, USA
    Name: Dan Rathbun
    Operating system: Windows
    SketchUp version: 8
    License type: Pro
    SketchUp use: education
    Level of SketchUp: Advanced

    Re: mac UI.messagebox - hud and timeout

    Postby TIG » Mon Feb 06, 2012 11:51 am

    Runs OK for me on VLC or WMPlayer... but then I probably have every codec known to man...
    TIG
    User avatar
    TIG
    Global Moderator
     
    Posts: 13903
    Joined: Mon Nov 12, 2007 7:24 pm
    Location: Northumbria UK
    Name: TIG
    Operating system: Windows
    SketchUp version: 8
    License type: Pro
    SketchUp use: architecture
    Level of SketchUp: Advanced

    Re: mac UI.messagebox - hud and timeout

    Postby driven » Mon Feb 06, 2012 11:58 am

    I have most, but selecting what to use for windows eludes me.

    Stream: macmsg_1.wmv
    Path: /Applications/GoogleSketchUp_X/macmsg_1.wmv

    Duration: 0:00:04
    Data Size: 2.27 MB
    Bit Rate: 3.94 Mbps

    Video Tracks:
    Windows Media Video 9 Standard, 960 × 540, 25 fps, 3.94 Mbps

    macmsg_1 2.zip

    john
    Please, register (free) to access all the attachments on the forums.
    driven
    Top SketchUcator
     
    Posts: 1409
    Joined: Fri May 01, 2009 11:50 pm
    Name: John
    Operating system: Mac
    SketchUp version: 8
    License type: Pro
    SketchUp use: engineering and mechanical design
    Level of SketchUp: Intermediate

    Re: mac UI.messagebox - hud and timeout

    Postby Dan Rathbun » Mon Feb 06, 2012 12:44 pm

    OK the second works fine for me. Had to adjust the play speed to slow.

    What do you call this kind of "popup" ??

    It's not really a splash window (that usually has a graphic background.)
    Not a "messagebox", as that term is taken (although I would have called them "queryboxes", myself.)

    It is similar to the icon bubble notification boxes on XP, both system and app (though they popup in the lower right corner of the screen.) Calendar "reminder" apps and AV/Firewalls are the biggest consumers of these "bubble" notice windows. Anyway, these kind of windows, are timed and close or shrink away after an interval with no user interaction.

    Anyone have an idea if there is a standard generic name for this type of window ?
    User avatar
    Dan Rathbun
    Top SketchUcator
     
    Posts: 4069
    Joined: Tue Oct 06, 2009 3:06 am
    Location: Florida, USA
    Name: Dan Rathbun
    Operating system: Windows
    SketchUp version: 8
    License type: Pro
    SketchUp use: education
    Level of SketchUp: Advanced

    SketchUcation One-Liner Adverts

    by Ad Machine » 5 minutes ago

    Need SketchUp Books, Models, Styles or Textures? Check out our One Stop Shop for SketchUp.

    Premium Members get 20% discount!

    Ad Machine
    Robot
     
    Posts: 2012

    Next


     

    Return to Developers' Forum

    Who is online

    Users browsing this forum: francescole, KeithSWD, smm1891, yoshi2212013au and 2 guests