XWidgetSoft Forum

XWidget & XLaunchpad , Desktop customization
It is currently 2017年 Nov 24日 21:32

All times are UTC - 8 hours




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: Info Recyclebincore
PostPosted: 2012年 Oct 23日 08:21 
Offline

Joined: 2012年 Oct 23日 08:17
Posts: 6
Why if I use ccleaner the state of Recyclebin is not updated?


Top
 Profile  
 
 Post subject: Re: Info Recyclebincore
PostPosted: 2012年 Oct 24日 03:49 
Offline

Joined: 2012年 Oct 23日 08:17
Posts: 6
RECYCLE_BIN = 10;

objShell = new ActiveXObject("Shell.Application");
objFolder = objShell.Namespace(RECYCLE_BIN);
objFolderItem = objFolder.Self;
print(objFolderItem.Path);

print(objFolder.Items().Count);


Top
 Profile  
 
 Post subject: Re: Info Recyclebincore
PostPosted: 2012年 Nov 6日 01:29 
Offline
User avatar

Joined: 2012年 Jun 10日 05:57
Posts: 315
which version did you use? and is your computer X64 or X86?
I don't have this problem.


Top
 Profile  
 
 Post subject: Re: Info Recyclebincore
PostPosted: 2012年 Nov 6日 16:00 
Offline

Joined: 2012年 Oct 23日 08:17
Posts: 6
Version number : 1.7.3.928 - Win7 Pro x64
With my script manually upgrade the status of RecyclebinCore.


Top
 Profile  
 
 Post subject: Re: Info Recyclebincore
PostPosted: 2012年 Nov 7日 02:39 
Offline
User avatar

Joined: 2012年 Jun 10日 05:57
Posts: 315
xstriga wrote:
Version number : 1.7.3.928 - Win7 Pro x64
With my script manually upgrade the status of RecyclebinCore.


can you upload the widget?


Top
 Profile  
 
 Post subject: Re: Info Recyclebincore
PostPosted: 2012年 Nov 7日 06:29 
Offline

Joined: 2012年 Oct 23日 08:17
Posts: 6
// Variabili globali
RECYCLE_BIN = 10;

var _objShell;
var _objFolder;

function widgetOnLoad()
{
_objShell = new ActiveXObject("Shell.Application");
_objFolder = _objShell.Namespace(RECYCLE_BIN);
}

// Verifico se il cestino è vuoto
function IsRecyclebinEmpty()
{

var num=_objFolder.Items().Count;

// print(num);

if (_objFolder.Items().Count > 0)
{
//print("Full");
return false;
}
else
{
//print("Empty");
return true;
}
}

// Verifico se l'applicazione è attiva tramite l'icona Indicator
function timercore1OnUpdate(Sender)
{
if(IsRecyclebinEmpty())
{
print("Recyclebin:Empty");

if(recyclebincore1.get("%IsEmpty")!= "empty")
{
print("Recyclebincore:Clean");
recyclebincore1.cmd(null,"!ClearNoAsk");
}

}
}


Attachments:
mac_dock.zip [2.42 MiB]
Downloaded 314 times
Top
 Profile  
 
 Post subject: Re: Info Recyclebincore
PostPosted: 2012年 Nov 7日 06:39 
Offline

Joined: 2012年 Oct 23日 08:17
Posts: 6
I would like to monitor the status of all the shortcuts with a single timer to activated without drag & drop


Top
 Profile  
 
 Post subject: Re: Info Recyclebincore
PostPosted: 2012年 Nov 7日 07:34 
Offline
User avatar

Joined: 2012年 Jun 10日 05:57
Posts: 315
It's a bug. My friend who uses X64 windows7 pro has this problem,too.
Thank you for your feedback. Hope Tony will fix it in next version.
And what do you mean "monitor the status of all the shortcuts with a single timer to activated without drag & drop"?
Your dock can monitor the status of shortcuts already.


Top
 Profile  
 
 Post subject: Re: Info Recyclebincore
PostPosted: 2012年 Nov 7日 08:19 
Offline

Joined: 2012年 Oct 23日 08:17
Posts: 6
But activating a core for each shortcut is not used a greater amount of memory ?
Now the state of shortcuts is active only after drag & drop ...


Top
 Profile  
 
 Post subject: Re: Info Recyclebincore
PostPosted: 2012年 Nov 8日 07:33 
Offline
User avatar

Joined: 2012年 Jun 10日 05:57
Posts: 315
xstriga wrote:
But activating a core for each shortcut is not used a greater amount of memory ?
Now the state of shortcuts is active only after drag & drop ...


Another new bug. Thanks for your feedback.
Tony will fix it in next version. You need to restart XWidget after setting shortcut before next version.


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

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 8 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® Forum Software © phpBB Group