Indigo Rose Software
  #151  
Old 09-24-2009
AMSWaves AMSWaves is offline
Forum Member
 
Join Date: Jun 2008
Location: AMSWaves
Posts: 190
Quote:
Originally Posted by Benjamin View Post
Have a bad news for me. Sometimes(on win xp sp3 x86) when i try extract files program crash and not responding. On the win xp sp2 x64 it happen always :(



On previous version extract work normally.
please test it with this callback and see this work or not and report

Callback :
Code:
function callback(a, b, c, d)
	return true
end
Quote:
Originally Posted by Benjamin View Post
P.S. Rar.Close(); really removed? I still see it in actions.
oh yea it removed but i forget remove it from XML Actions

Last edited by AMSWaves; 09-24-2009 at 10:55 AM.
Reply With Quote
  #152  
Old 09-24-2009
Samio's Avatar
Samio Samio is offline
Forum Member
 
Join Date: Nov 2006
Location: Tehran
Posts: 155
Thanks Dear AMSWaves.
Reply With Quote
  #153  
Old 09-24-2009
Benjamin Benjamin is offline
Forum Member
 
Join Date: Jul 2009
Posts: 19
On the XP x86 it work normally(At least any crash when i tried it). But always program not responding on x64.

Quote:
Rar.Extract(_TempLaunchFolder .. "\\kolobok.tmp", {"*.*"}, _TempLaunchFolder .. "\\kolobok", true, false, "zalupa", RAR_OVERWRITE_NEVER, "callback");

function callback(a, b, c, d)
return true
end
Reply With Quote
  #154  
Old 09-24-2009
AMSWaves AMSWaves is offline
Forum Member
 
Join Date: Jun 2008
Location: AMSWaves
Posts: 190
Quote:
Originally Posted by Benjamin View Post
On the XP x86 it work normally(At least any crash when i tried it). But always program not responding on x64.
please test old plugin in your windows 64 and say me it worked or not, i dont know maybe this version have some problem with X64.
Reply With Quote
  #155  
Old 09-24-2009
Benjamin Benjamin is offline
Forum Member
 
Join Date: Jul 2009
Posts: 19
Yes, it worked.

Quote:
Originally Posted by AMSWaves View Post
please test old plugin in your windows 64 and say me it worked or not

P.S. in new version: Interestingly that files are extracted from archive and are in destination folder.

Last edited by Benjamin; 09-24-2009 at 02:19 PM.
Reply With Quote
  #156  
Old 09-24-2009
AMSWaves AMSWaves is offline
Forum Member
 
Join Date: Jun 2008
Location: AMSWaves
Posts: 190
Quote:
Originally Posted by Benjamin View Post
Yes, it worked.




P.S. in new version: Interestingly that files are extracted from archive and are in destination folder.
so you want say plugin good worked on X64 but while extracting program not responded ?
Reply With Quote
  #157  
Old 3 Weeks Ago
AMS7.5 AMS7.5 is offline
Forum Member
 
Join Date: Apr 2009
Posts: 7
hi
first sorry for my english
waths problem ?
Code:
function test(Msg, Name, Percent, Size)
if Msg == "password" then
Folder.Rename(fol[x], path0.."\\$ "..name);
end
end
i want rename one folder if exm.rar is password protected !
but this script not work !
but if
Code:
function test(Msg, Name, Percent, Size)
if Msg == "password" then
Folder.Rename(fol[x], path0.."\\$ "..name);
end
end
Folder.Rename(fol[x], path0.."\\$ "..name);
my folder will rename !
how can i rename one folder if exm.rar is password protected ?
Reply With Quote
  #158  
Old 2 Weeks Ago
kauster kauster is offline
Forum Member
 
Join Date: May 2008
Posts: 9
Hi All, first of all first pardon for my Englishman, I have a doubt with lso progresses of the amsrar, yoquiero use the dialogstatus not the object plugin, but never using the value percent it finishes the entire progress, this is the code that I have now:

Code:
function rar_Extract (Msg, Name, Percent, Size)
-- Progreso de extraccion de archivos
  if Msg == "process" then
 
   StatusDlg.Show(MB_ICONNONE, false);
   StatusDlg.SetMessage("Extrayendo...");
   StatusDlg.SetMeterRange(0, 100);
   StatusDlg.SetMeterPos(Percent);
   StatusDlg.SetStatusText(String.SplitPath(Name).Filename..String.SplitPath(Name).Extension.." : "..Math.Floor(Size/1024).." KB");
   

   

   return true;
Some suggestion?
Reply With Quote
  #159  
Old 2 Weeks Ago
Benjamin Benjamin is offline
Forum Member
 
Join Date: Jul 2009
Posts: 19
Code:
StatusDlg.SetMeterRange(0, 100);
I think this line is not needed in callback function.
Reply With Quote
  #160  
Old 2 Weeks Ago
kauster kauster is offline
Forum Member
 
Join Date: May 2008
Posts: 9
Quote:
Originally Posted by Benjamin View Post
Code:
StatusDlg.SetMeterRange(0, 100);
I think this line is not needed in callback function.
Thank you, already eliminate it but I continue with the same problem the progress it is closed before be completing
Reply With Quote
  #161  
Old 2 Weeks Ago
rexzooly rexzooly is offline
Forum Enthusiast
 
Join Date: Jul 2007
Posts: 1,515
From what i can see your missing alot of your function this part seems on so it could be something else that is making the function brake.
Reply With Quote
  #162  
Old 2 Weeks Ago
kauster kauster is offline
Forum Member
 
Join Date: May 2008
Posts: 9
Quote:
Originally Posted by rexzooly View Post
From what i can see your missing alot of your function this part seems on so it could be something else that is making the function brake.
Full code:
Code:
function rar_Extract (Msg, Name, Percent, Size)

  if Msg == "process" then
 
   StatusDlg.Show(MB_ICONNONE, false);
   StatusDlg.SetMessage("Extrayendo...");
      StatusDlg.SetMeterPos(Percent);
   StatusDlg.SetStatusText(String.SplitPath(Name).Filename..String.SplitPath(Name).Extension.." : "..Math.Floor(Size/1024).." KB");
   

   

   return true;
   

  elseif Msg == "volume" then
 	
 		result = Dialog.FileBrowse(true, "Locate Rar Part File", "'", "Rar Part Files(*part.rar)|*.part*.rar|", "", "", false, false)
		if result[1] == "CANCEL" then
			result[1] = ""
		end
		return result[1]


  elseif Msg == "password" then
 	
		return Dialog.PasswordInput("Contraseña", "El archivo esta protegigo, introduce la contraseña", MB_ICONQUESTION);
 
  end
end

if rar_File == nil then
  Dialog.Message("Error", "No has seleccionado un archivo .rar", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);
 else

  sFolder = Dialog.FolderBrowse("Selecciona directorio donde extraer archivos", _DesktopFolder);
 
 if (sFolder ~= "CANCEL") then

  correcto = Rar.Extract(rar_File[1], {"*.*"}, sFolder, true, true, "", RAR_OVERWRITE_ALWAYS, "rar_Extract");
  
  if correcto == true then
   Dialog.Message("Extracción de archivos", "La Extracción se realizó correctamente.");
  else
   Dialog.Message("Extracción de archivos", "Ocurrió un problema en el proceso de copia.");
  end
 end
StatusDlg.SetMeterPos(0);
StatusDlg.Hide(); 
end
Reply With Quote
  #163  
Old 2 Weeks Ago
rexzooly rexzooly is offline
Forum Enthusiast
 
Join Date: Jul 2007
Posts: 1,515
Does it still unrar the file?
Reply With Quote
  #164  
Old 2 Weeks Ago
rexzooly rexzooly is offline
Forum Enthusiast
 
Join Date: Jul 2007
Posts: 1,515
this funtion seems little backwords to me.

I looked at it and i can see what your trying to do one funtion that will do it all call back and unrar and also if the details not there it will ask the user but its backwords.

can you show me a sinpit where you use the funtion so i can understand it little more.
Reply With Quote
  #165  
Old 2 Weeks Ago
kauster kauster is offline
Forum Member
 
Join Date: May 2008
Posts: 9
Quote:
Originally Posted by rexzooly View Post
this funtion seems little backwords to me.

I looked at it and i can see what your trying to do one funtion that will do it all call back and unrar and also if the details not there it will ask the user but its backwords.

can you show me a sinpit where you use the funtion so i can understand it little more.
Sorry if I do not quite understand your answer, my English is low, do not understand what you mean sinpit but I guess you mean an example, if it is not so dimelo, I leave the APZ is what I'm doing haver if solved between all of the statusdialog, greetings
Attached Files
File Type: apz rar.apz (296.0 KB, 3 views)
Reply With Quote
Reply

Tags
action plugin, amswaves, amswrar, bug, compression, compressor, plugin, rar, untested software

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Best way to share custom buttons with the group? mwreyf1 AutoPlay Media Studio 6.0 10 09-03-2009 05:01 AM
FREE : Timer Object Plugin reteset AutoPlay Media Studio 7.5 Plugins 33 04-23-2009 08:00 AM
FREE: UserMgmt Action Plugin TimeSurfer AutoPlay Media Studio 7.5 Discussion 2 04-27-2008 04:17 AM
Free WindowEx Action Plugin reteset AutoPlay Media Studio 7.5 Discussion 77 03-03-2008 10:45 PM
Free Plugin: Media Player Object Ted Sullivan AutoPlay Media Studio 5.0 7 09-24-2004 03:54 PM


All times are GMT -6. The time now is 06:25 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software