[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4668: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4670: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4671: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4672: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
XWidgetSoft Forum • View topic - Info Recyclebincore

XWidgetSoft Forum

XWidget & XLaunchpad , Desktop customization
It is currently April 16th, 2024, 4:21 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: Info Recyclebincore
PostPosted: October 23rd, 2012, 8:21 am 
Offline

Joined: October 23rd, 2012, 8:17 am
Posts: 6
Why if I use ccleaner the state of Recyclebin is not updated?


Top
 Profile  
 
 Post subject: Re: Info Recyclebincore
PostPosted: October 24th, 2012, 3:49 am 
Offline

Joined: October 23rd, 2012, 8:17 am
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: November 6th, 2012, 1:29 am 
Offline
User avatar

Joined: June 10th, 2012, 5:57 am
Posts: 313
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: November 6th, 2012, 4:00 pm 
Offline

Joined: October 23rd, 2012, 8:17 am
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: November 7th, 2012, 2:39 am 
Offline
User avatar

Joined: June 10th, 2012, 5:57 am
Posts: 313


Top
 Profile  
 
 Post subject: Re: Info Recyclebincore
PostPosted: November 7th, 2012, 6:29 am 
Offline

Joined: October 23rd, 2012, 8:17 am
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 664 times
Top
 Profile  
 
 Post subject: Re: Info Recyclebincore
PostPosted: November 7th, 2012, 6:39 am 
Offline

Joined: October 23rd, 2012, 8:17 am
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: November 7th, 2012, 7:34 am 
Offline
User avatar

Joined: June 10th, 2012, 5:57 am
Posts: 313
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: November 7th, 2012, 8:19 am 
Offline

Joined: October 23rd, 2012, 8:17 am
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: November 8th, 2012, 7:33 am 
Offline
User avatar

Joined: June 10th, 2012, 5:57 am
Posts: 313


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 19 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