Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently December 22nd, 2024, 9:26 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Window - How to do this in scripts?
PostPosted: July 24th, 2010, 5:41 pm 
Offline

Joined: December 13th, 2008, 3:15 pm
Posts: 152
Location: Brasil
Opus: 7
OS: Windows 7 x64
System: Asus P5Q3 Deluxe, Core 2 Duo E8500, 8 Gb DDR3 1333 mhz, His IceQ5 5770 HD Graphic Card, Samsung T220 Monitor; Lenovo G550 T6600, 4 GB DDR3 - 15,6".
Hy Opus fans!!!

Is there a way to interact with windows in the Opus in script? Let me describe the situation.

A page with the main window - 1024 (wide) x 768 (height) as the background of the publication.

In some situations, one button click for example, enter another page in a new window of smaller size, with 600 (width) x 500 (height).

These pages belong to different chapters of the publication. I can make this page change through of ready Opus functions - (GotoPage - Restore window, Minimize window).

My problem here is that I have several objects interacting with the user in that window smaller, then I would put everything in script - particularly the restoration and minimize the window that shows the page smaller.

I think with the scripts -gotoPage and SetInitialPosition, I can put the window with the smallest page on the screen, superimposed on the main window with the largest page. But how to make this page less is minimized in scripts after a certain time (wait ?...) or via a user click.

Another final problem - the window minimized is subject to user interaction of user by double-clicking the mouse, in cases where the resolution of your monitor screen is larger (1680x1050 or 1920x1080) for example. I can not put the publication to adjust the screen, under penalty of having everything stretched. So, how to lock that window minimized so that the user does not click it? Create a function that the mouse works centered in the main publication (1024x768) How...?

I await suggestions, because I have not found a way to do this in scripts.

_________________
"To the ignorant, old age is the winter of life, for the wise, is the season of harvest."
It is not easy to translate the world into a binary code of 0s and 1s, but in scripts, anything is possible!


For this message NilsonBrasil has been thanked by : mackavi


Top
 Profile  
 
 Post subject: Re: Window - How to do this in scripts?
PostPosted: July 24th, 2010, 10:28 pm 
Offline
Godlike
Godlike

Joined: November 12th, 2005, 1:56 am
Posts: 1474
Location: SFBay Area
Opus: OpusPro v9.0x, & Evol.
OS: Vista32
System: Core 2 duo 2Ghz, RAM 3GB, Nvidia Go 7700 - laptop
I read through this a couple times. Only partially understand. Or maybe misunderstand what is wanted. It is just abstract right now.

You could use 'labels' like Window A, Window B... explain which is Large, behind and which is Small, content/interactive etc. Or better, post a sample Pub with text to say what is needed at each step.

Quote:
But how to make this page less is minimized in scripts after a certain time (wait ?...) or via a user click.
1) have you considered Timeline? 2) Properties settings for each Page (not Chapter/Window though) have a ready-made option to 'Display this page for...' xx:yy minutes and seconds. (hint: on the Page you're redirect to, it could be small or transparent and have an OnShow action to minimize the other View [Lar EDIT: to clarify this last part] (or even minimize the current View/top View -- I do not think it matters if the redirect_to Page is in the same Chapter or not, it should work) .)

_________________
_good things come to those who wait(0)_


For this message Lar_123 has been thanked by : mackavi


Top
 Profile  
 
 Post subject: Window - How to do this in scripts?
PostPosted: July 25th, 2010, 10:35 pm 
Offline

Joined: December 13th, 2008, 3:15 pm
Posts: 152
Location: Brasil
Opus: 7
OS: Windows 7 x64
System: Asus P5Q3 Deluxe, Core 2 Duo E8500, 8 Gb DDR3 1333 mhz, His IceQ5 5770 HD Graphic Card, Samsung T220 Monitor; Lenovo G550 T6600, 4 GB DDR3 - 15,6".
Ok Lar, sorry for the delay. I am posting here an imp to better understanding.

As I said before, I wonder if I can add all of this functionality that is in the trigger of the page smaller in scripts. Is there anything in the script to opus, but to minimize and restore the window that is superimposed on the main window of the publication, I don't know.

Another major problem is to have the window minimized interacting with the user's mouse clicks. This window should be blocked, hidden or something like that, but can not close it, then what to do?

Thanks!!!!

_________________
"To the ignorant, old age is the winter of life, for the wise, is the season of harvest."
It is not easy to translate the world into a binary code of 0s and 1s, but in scripts, anything is possible!


For this message NilsonBrasil has been thanked by : mackavi


Top
 Profile  
 
 Post subject: Window - How to do this in scripts?
PostPosted: July 30th, 2010, 3:16 pm 
Offline

Joined: December 13th, 2008, 3:15 pm
Posts: 152
Location: Brasil
Opus: 7
OS: Windows 7 x64
System: Asus P5Q3 Deluxe, Core 2 Duo E8500, 8 Gb DDR3 1333 mhz, His IceQ5 5770 HD Graphic Card, Samsung T220 Monitor; Lenovo G550 T6600, 4 GB DDR3 - 15,6".
Well, as I have not received any feedback, I'll post here the zip file open. I await an opinion on the problem of minimizing and restoring windows in scripts.

I'll waiting good news.

_________________
"To the ignorant, old age is the winter of life, for the wise, is the season of harvest."
It is not easy to translate the world into a binary code of 0s and 1s, but in scripts, anything is possible!


For this message NilsonBrasil has been thanked by : mackavi


Top
 Profile  
 
 Post subject: Re: Window - How to do this in scripts?
PostPosted: July 30th, 2010, 11:41 pm 
Offline
Godlike
Godlike

Joined: November 12th, 2005, 1:56 am
Posts: 1474
Location: SFBay Area
Opus: OpusPro v9.0x, & Evol.
OS: Vista32
System: Core 2 duo 2Ghz, RAM 3GB, Nvidia Go 7700 - laptop
Quote:
As I said before, I wonder if I can add all of this functionality that is in the trigger of the page smaller in scripts. Is there anything in the script to opus, but to minimize and restore the window that is superimposed on the main window of the publication, I don't know.
Another major problem is to have the window minimized interacting with the user's mouse clicks. This window should be blocked, hidden or something like that, but can not close it, then what to do?
No time currently to test your zip/pub.

Some ideas:
For the User interacting part of the problem (Blocking), is it sufficient to block mouse clicks? Or do you need to block Mouse-overs also? The first is easy to do. The second goal is a bit harder AND a solution DEPENDS on your specifics of what objects need to be alive and which ones should be disabled.

I am still not clear on the 'minimize', page smaller --- problem. And sorry no time to play with downloads now.
By 'minimize/restore' do you mean Opus 'minimize Window View' and it shows a small Button or Tab with the Chapter Title just above Windows' Start button?
Or do you mean to cause the Windows 'minimize to Task Bar' as it does for applications?????
-- the first is achieveable.

_________________
_good things come to those who wait(0)_


For this message Lar_123 has been thanked by : mackavi


Top
 Profile  
 
 Post subject: Window - How to do this in scripts?
PostPosted: July 31st, 2010, 12:50 am 
Offline

Joined: December 13th, 2008, 3:15 pm
Posts: 152
Location: Brasil
Opus: 7
OS: Windows 7 x64
System: Asus P5Q3 Deluxe, Core 2 Duo E8500, 8 Gb DDR3 1333 mhz, His IceQ5 5770 HD Graphic Card, Samsung T220 Monitor; Lenovo G550 T6600, 4 GB DDR3 - 15,6".
Lar, thank you for your attention...
I think the source of my problem is the resolution used for my publication that is 1024 x 768 (standard). On wide monitors with higher resolutions, when the window with a smaller page (which displays messages according to the passage of time and as some events in the publication) is minimized, stays on the lower left side of the monitor.
This smaller window (visible even minimized) needs to be locked to the clicks the user - a double click opens the window again, which is not good. Only seeing the imp file to understand the problem ...

_________________
"To the ignorant, old age is the winter of life, for the wise, is the season of harvest."
It is not easy to translate the world into a binary code of 0s and 1s, but in scripts, anything is possible!


For this message NilsonBrasil has been thanked by : mackavi


Top
 Profile  
 
 Post subject: Re: Window - How to do this in scripts?
PostPosted: July 31st, 2010, 2:38 am 
Offline
Godlike
Godlike

Joined: November 12th, 2005, 1:56 am
Posts: 1474
Location: SFBay Area
Opus: OpusPro v9.0x, & Evol.
OS: Vista32
System: Core 2 duo 2Ghz, RAM 3GB, Nvidia Go 7700 - laptop
Quote:
stays on the lower left side of the monitor.
maybe can be influenced by Pub or Chap properties settings for the Window, whether centered 50/50 or some other option.

Quote:
(visible even minimized)
Opus minimized or Windows minimized. I will not take time to view your .imp until at least late next week.

[Lar Edit: this is weird] I think not all my comments got entered.
I'll try to re-state what I posted in next post.

_________________
_good things come to those who wait(0)_


For this message Lar_123 has been thanked by : mackavi


Top
 Profile  
 
 Post subject: Re: Window - How to do this in scripts?
PostPosted: July 31st, 2010, 5:32 am 
Offline
Godlike
Godlike

Joined: November 12th, 2005, 1:56 am
Posts: 1474
Location: SFBay Area
Opus: OpusPro v9.0x, & Evol.
OS: Vista32
System: Core 2 duo 2Ghz, RAM 3GB, Nvidia Go 7700 - laptop
I do not know what happened. I had some suggested approaches. I will revisit and re-post later.

_________________
_good things come to those who wait(0)_


For this message Lar_123 has been thanked by : mackavi


Top
 Profile  
 
 Post subject: Window - How to do this in scripts?
PostPosted: July 31st, 2010, 4:13 pm 
Offline

Joined: December 13th, 2008, 3:15 pm
Posts: 152
Location: Brasil
Opus: 7
OS: Windows 7 x64
System: Asus P5Q3 Deluxe, Core 2 Duo E8500, 8 Gb DDR3 1333 mhz, His IceQ5 5770 HD Graphic Card, Samsung T220 Monitor; Lenovo G550 T6600, 4 GB DDR3 - 15,6".
Ok, Lar. Thanks for your support. I'II be waiting...

_________________
"To the ignorant, old age is the winter of life, for the wise, is the season of harvest."
It is not easy to translate the world into a binary code of 0s and 1s, but in scripts, anything is possible!


For this message NilsonBrasil has been thanked by : mackavi


Top
 Profile  
 
 Post subject: Re: Window - How to do this in scripts?
PostPosted: August 7th, 2010, 9:17 am 
Offline
Godlike
Godlike

Joined: November 12th, 2005, 1:56 am
Posts: 1474
Location: SFBay Area
Opus: OpusPro v9.0x, & Evol.
OS: Vista32
System: Core 2 duo 2Ghz, RAM 3GB, Nvidia Go 7700 - laptop
Nilson,

I am checking back on this thread to continue/follow-up, however I can see no attachments/IMPs/ZIPs to download. It seems to be a problem with the BB currently.

I do not see any clarification or answers from you regarding ?s in july 30 Post. And I really do not want to guess at it and waste time on a wrong solution.

_________________
_good things come to those who wait(0)_


For this message Lar_123 has been thanked by : mackavi


Top
 Profile  
 
 Post subject: Window - How to do this in scripts?
PostPosted: August 7th, 2010, 2:39 pm 
Offline

Joined: December 13th, 2008, 3:15 pm
Posts: 152
Location: Brasil
Opus: 7
OS: Windows 7 x64
System: Asus P5Q3 Deluxe, Core 2 Duo E8500, 8 Gb DDR3 1333 mhz, His IceQ5 5770 HD Graphic Card, Samsung T220 Monitor; Lenovo G550 T6600, 4 GB DDR3 - 15,6".
Lar, Thanks for support.

Thanks to you and Osni, which resolved an important issue in my other topic, I managed to solve two problems at once. Then, finally abandoned the window approach, using pages of the same size in the publication.

Then you can give this issue closed. Again, thank you once again for the constant presence in my topics and all the help provided to my aid.

_________________
"To the ignorant, old age is the winter of life, for the wise, is the season of harvest."
It is not easy to translate the world into a binary code of 0s and 1s, but in scripts, anything is possible!


For this message NilsonBrasil has been thanked by : mackavi


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 41 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group