Aqua-Soft Forums: AveScripter bug report thread - Aqua-Soft Forums

Jump to content

  • 4 Pages +
  • 1
  • 2
  • 3
  • 4
  • You cannot start a new topic
  • You cannot reply to this topic

AveScripter bug report thread Rate Topic: -----

#21 User is offline   pcm Icon

  • Group: Member
  • Posts: 617
  • Joined: 02-May 05

Posted 16 November 2005 - 03:18 PM

aquahawk said:

I found a mistake in the itunes desklet.

was this:

function IsITunesOn()
On error resume Next
dim Handle
Handle = this.UI.FindWindow("ITunes","ITunes")
if ( Handle > 0) then
IsITunesOn = true //mistake
else
IsITunesOn = false//mistake
end if
end function

heres the correction:


function IsITunesOn()
On error resume Next
dim Handle
Handle = this.UI.FindWindow("ITunes","ITunes")
if ( Handle > 0) then
IsITunesOn = false
else
IsITunesOn = true
end if
end function

no biggie ;)

Actually that's not true.... if a Handle is returned and it is > 0 then ITunes is on. The problem I found is this:
Handle = this.UI.FindWindow("ITunes","ITunes") <<<<<

On some systems the caption isn't ITunes. So the corrections is

Handle = this.UI.FindWindow("ITunes","") <<<<<

Which is already done and will be released end of this week

This is probably the problem you having. Let me know if this is fixs your problem please. Unless there is another problem.
0

#22 User is offline   aquahawk Icon

  • Group: Member
  • Posts: 35
  • Joined: 15-June 05

Posted 16 November 2005 - 03:28 PM

pcm said:

Actually that's not true.... if a Handle is returned and it is > 0 then ITunes is on. The problem I found is this:
Handle = this.UI.FindWindow("ITunes","ITunes") <<<<<

On some systems the caption isn't ITunes. So the corrections is

Handle = this.UI.FindWindow("ITunes","") <<<<<

Which is already done and will be released end of this week

This is probably the problem you having. Let me know if this is fixs your problem please. Unless there is another problem.



ok fair enough ,it was a five second fix or not :D

yeah this fixed it.

Handle = this.UI.FindWindow("ITunes","") <<<<<
0

#23 User is offline   herd Icon

  • Group: Developers
  • Posts: 999
  • Joined: 02-November 03

Posted 16 November 2005 - 04:10 PM

Bug description: Update glitch when playing sounds
Items involved:Clock sample

Windows Version:
XP SP2
DirectX version: 9.0c
System specs: 2*1GHz PIII, 512 MB RAM
Graphics card & drivers version: Irrelevant to the issue
Desklets running: AveScripter

Steps to reproduce:
Drag the clock sample around - note how it stops moving as long as the tick sound lasts and how the preview flickers in the control panel.
Special notes: Probably a non-issue on faster machinery. Hint: Do the sound playback asynchronously - should be just an option to the call.
0

#24 User is offline   pcm Icon

  • Group: Member
  • Posts: 617
  • Joined: 02-May 05

Posted 16 November 2005 - 04:58 PM

herd said:

Bug description: Update glitch when playing sounds
Items involved:Clock sample

Windows Version:
XP SP2
DirectX version: 9.0c
System specs: 2*1GHz PIII, 512 MB RAM
Graphics card & drivers version: Irrelevant to the issue
Desklets running: AveScripter

Steps to reproduce:
Drag the clock sample around - note how it stops moving as long as the tick sound lasts and how the preview flickers in the control panel.
Special notes: Probably a non-issue on faster machinery. Hint: Do the sound playback asynchronously - should be just an option to the call.

-Bug confirmed (Delays).

I know exactly what the problem is... This is been haunting me for awhile. It's not the tick sound, because it does play async. (option 3 will play sync you'll see a bigger pause there) But I know exactly where the problem is. If you comment the sleep out.. you will not get the pause. But the problem isn't just the sleep, its something else internally timing which is on my list of changes to do. And this problem will be solved once I drop that part of the code.
0

#25 User is offline   melta207 Icon

  • Group: Member
  • Posts: 160
  • Joined: 24-March 05

Posted 17 November 2005 - 06:47 AM

Bug description: Date screws up when jumping through previous or future months.
Items involved: Calendar

AveScripter Version: 1.0.0.1

Windows Version:XPSP1
DirectX version:9c
System specs: p4 1.7g 768MB ram
Desklets running:ave scripter

Steps to reproduce:
Add calendar
Change to a different month
Jump back to this month
You will get this:
Posted Image
0

#26 User is offline   pcm Icon

  • Group: Member
  • Posts: 617
  • Joined: 02-May 05

Posted 17 November 2005 - 01:05 PM

What do you mean the date screws up? Are you referring to the graphics? or the date number... Your screen shoot looks like the entire graphic goes nuts.
0

#27 User is offline   bM3w Icon

  • Group: Member
  • Posts: 19
  • Joined: 26-November 02

Posted 18 November 2005 - 06:26 AM

Bug description: Desklet disappears in Showcase - doesn't keep transparency settings
Items involved: Weather desklet

Windows Version: Windows XP Pro SP2
DirectX version: 9.0c
System specs:AMD Athlon 64 3000+, 1.5 GB of DDR RAM
Graphics card & drivers version: Ati Radeon 9600 with 128mb of RAM, Catalyst 5.10
Desklets running: PIDL, Translator, AveScriper - Clock, Weather, Calendar and PictureViewer
Steps to reproduce:
1. Create a AveScriper - Weather desklet
2. Set to Showcase
3. Set transparency to 255
4. Restart AveDesk
5. Press F8 for Showcase
6. Weather Desklet appears for half a second and then disappears (it's still loaded !)
7. Check settings and see that transparency got set to 240

Other than that AveScripter is just awesome - Thanks !
bM3w
0

#28 User is offline   melta207 Icon

  • Group: Member
  • Posts: 160
  • Joined: 24-March 05

Posted 18 November 2005 - 07:07 AM

pcm said:

What do you mean the date screws up? Are you referring to the graphics? or the date number... Your screen shoot looks like the entire graphic goes nuts.


Well if the entire graphic is the month's day on the left, then yes. Once you jump back/forward a month then go back to current month, the day goes back to 1.
0

#29 User is offline   pcm Icon

  • Group: Member
  • Posts: 617
  • Joined: 02-May 05

Posted 18 November 2005 - 02:11 PM

bM3w said:

Bug description: Desklet disappears in Showcase - doesn't keep transparency settings
Items involved: Weather desklet

Windows Version: Windows XP Pro SP2
DirectX version: 9.0c
System specs:AMD Athlon 64 3000+, 1.5 GB of DDR RAM
Graphics card & drivers version: Ati Radeon 9600 with 128mb of RAM, Catalyst 5.10
Desklets running: PIDL, Translator, AveScriper - Clock, Weather, Calendar and PictureViewer
Steps to reproduce:
1. Create a AveScriper - Weather desklet
2. Set to Showcase
3. Set transparency to 255
4. Restart AveDesk
5. Press F8 for Showcase
6. Weather Desklet appears for half a second and then disappears (it's still loaded !)
7. Check settings and see that transparency got set to 240

Other than that AveScripter is just awesome - Thanks !
bM3w




That's an AveDesk problem. I get it with other desklets too.. Sometimes the translator desklet doesn't even show up at all and sometimes it draws itself and you can't click it. the bug is worse if you got multimonitor :S

Bug Andreas to fix it :P
0

#30 User is offline   mrhotwings Icon

  • Group: Member
  • Posts: 229
  • Joined: 13-October 05

Posted 21 November 2005 - 02:19 PM

Bug description: can't get weather, or RSS working. for d-weather, i can't seem to change the City or Temperature no matter what, i type City or zipcode and press enter, nothing happens. for RSS feed, i change the URL and press done. it doesn't change or go back to the RSS feeds but stays in window where you enter URL.

AveScripter Version: 1.0.0.1

Windows Version:XPSP1
DirectX version:9c
System specs: p4 2.8c
Desklets running:ave scripter, weather, rss

okay i dunno what is going on. can't seem to get avescripter working for some reason.
0

#31 User is offline   pcm Icon

  • Group: Member
  • Posts: 617
  • Joined: 02-May 05

Posted 21 November 2005 - 02:41 PM

mrhotwings said:

Bug description: can't get weather, or RSS working. for d-weather, i can't seem to change the City or Temperature no matter what, i type City or zipcode and press enter, nothing happens. for RSS feed, i change the URL and press done. it doesn't change or go back to the RSS feeds but stays in window where you enter URL.

AveScripter Version: 1.0.0.1

Windows Version:XPSP1
DirectX version:9c
System specs: p4 2.8c
Desklets running:ave scripter, weather, rss

okay i dunno what is going on. can't seem to get avescripter working for some reason.

Can you download and try the latest version 1.0.1.0.. The communication protocol has been completly redone.
0

#32 User is offline   Aquaowl Icon

  • Group: Member
  • Posts: 26
  • Joined: 26-October 05

Posted 23 November 2005 - 09:37 AM

In the latest versino of avescripter (1.0.1.0) the rss news feed doesnt display headlines on startup (occasionally), and the d-weather desklet wont display the main weather icon on startup (always).
i went back to the original avescripter version to check .. and dont experience these bugs with it ..
0

#33 User is offline   hallf Icon

  • Group: Member
  • Posts: 750
  • Joined: 09-November 02

Posted 23 November 2005 - 12:25 PM

Aquaowl said:

In the latest versino of avescripter (1.0.1.0) the rss news feed doesnt display headlines on startup (occasionally), and the d-weather desklet wont display the main weather icon on startup (always).
i went back to the original avescripter version to check .. and dont experience these bugs with it ..


I don't use the RSS module, but I'm experiencing the same thing with D-weather since I upgraded to 1.0.1 Avescripter...I have to re-enter my city name every time I restart.
0

#34 User is offline   pcm Icon

  • Group: Member
  • Posts: 617
  • Joined: 02-May 05

Posted 23 November 2005 - 01:46 PM

hmm.. this is very strange... would you be willing to test my "dev" version for the next update? I did a small tweak. If so, can you PM me with your email, I'll email you the dll.
0

#35 User is offline   hallf Icon

  • Group: Member
  • Posts: 750
  • Joined: 09-November 02

Posted 23 November 2005 - 03:24 PM

pcm - you have PM. I'll gladly test it.
0

#36 User is offline   pcm Icon

  • Group: Member
  • Posts: 617
  • Joined: 02-May 05

Posted 23 November 2005 - 06:16 PM

hallf said:

pcm - you have PM. I'll gladly test it.

Emailed it :) (FYI, in case I'm rejected because of "Spam" reasons)
0

#37 User is offline   Oxtie Icon

  • Group: Member
  • Posts: 122
  • Joined: 11-June 03

Posted 25 November 2005 - 03:45 PM

Bug description: Annoying "Connect" pop-ups!!!

Items involved: Weather desklet at the moment and in future all Internet based desklets!!!

Windows Version: Windows XP Pro SP2
DirectX version: 9.0c
System specs:Pentium 4 3.4ghz, 1024mb of unknown RAM ;)
Graphics card & drivers version: GrForce 6800 256mb of RAM, Forceware 81.95 WHQL
Desklets running: PIDL, AveScriper - Weather and Calendar
Steps to reproduce:
1. Create a AveScriper - Weather desklet
2. Save the AveTheme in control panel
3. EXIT AveDesk and ReStart AveDesk OR Restart Windows OR Log-Off Windows & Log-In
4. BANG! Connect Connect Connect!!!

Special notes: This is the most annoying thing I encounter in almost all Internet based desklets and I assume i am not the only Dial-Up user getting annoyed by it. If internet or network is NOT connected (if there is NO ip address present), AveScripter should block connection request of Internet based desklets (such as weather, mail-check, horoscope, RSS etc etc). If a user manually clicks "Update" or "Refresh" then AveScripter should allow the normal procedure. In an event where the connection is detected as "OFF" then, weather should show previous weather. Sometimes user manually clicks refresh and they're asked to connect and if they choose "cancel" button, desklets should show previous state NOT (n/a or empty or XXX error messages)

Imagine when there are desklets asking for connection every 10 mins or 20 min (RSS or Mail-Check desklets) these things will bug users like anything (Connect dilog every 10 min or 20 min)


On the other hand, I always thought its better for AndreasV to add this kind of function in main AveDesk engine. Now this is because desklets makers are plenty and there can be so many variables when it comes to Scripting Engines (SysStat, AveScripter, etc etc) and stand-alone desklets without scripting engines tring connections all on their own.
0

#38 User is offline   pcm Icon

  • Group: Member
  • Posts: 617
  • Joined: 02-May 05

Posted 25 November 2005 - 04:04 PM

Noted... and on my top list to fix. Should be a easy enough change to do.

I know that I have already put code that will show the previous state if the desklet can't connect, so it just a matter of adding abit more to check for connection state.

Thanks for the feedback. If your ok with Betas, you might want to join in the beta section and test the feature out when it will be done.. Like I said, I don't think it would be hard to implement and for sure important. I'm just spoiled and always have internet. :P
0

#39 User is offline   AndreasV Icon

  • Group: Developers
  • Posts: 2,137
  • Joined: 22-November 03

Posted 25 November 2005 - 04:17 PM

Quote


On the other hand, I always thought its better for AndreasV to add this kind of function in main AveDesk engine. Now this is because desklets makers are plenty and there can be so many variables when it comes to Scripting Engines (SysStat, AveScripter, etc etc) and stand-alone desklets without scripting engines tring connections all on their own.

This is actually system-behaviour, not AveDesk behaviour, so the desklet should just call the system wide function instead of round-tripping thru avedesk again.
#include <wininet.h>

#pragma comment(lib,"wininet.lib")



bool IsConnectedToInternet()

{

// post: true has been returned if there is an internetconnection, otherwise false has been returned

DWORD dwConnectionType = INTERNET_CONNECTION_MODEM | INTERNET_CONNECTION_LAN | INTERNET_CONNECTION_PROXY;

return InternetGetConnectedState(&dwConnectionType,0)==TRUE;

}

0

#40 User is offline   pcm Icon

  • Group: Member
  • Posts: 617
  • Joined: 02-May 05

Posted 25 November 2005 - 04:35 PM

Yup.. and that is exactly what I was planning to add to the avescripter after the previous message.. IsconnectedToInternet() :)

It is a very simple add in...
0

  • 4 Pages +
  • 1
  • 2
  • 3
  • 4
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users