Unzip with progress
I'd like to be able to unzip a compressed application, and show a progress bar while doing it.
I'm not aware of any public API to unzip that supports Apple's conventions for file attributes, resource forks and whatnot.
I can unzip using the ditto command, but then there's no way to display progress.
I could send an Apple Event to the Archive Utility, but then I don't know for sure when it's done. (If the utility launched just for this one action, I could watch for it to quit, but if it was already running, I'm out of luck.)
Ideas?
Advice for what?
Similar Messages
-
Splash screen with progress bar and multiple jar files to load
Hello,
I have been looking to the new features in java 6 for splash screens. I haven't implemented this never before and i was wondering how i could do the following with java 1.5 or 6:
I would like to see a splash screen with a progress bar that "grows" when every jar file has been read.
At this time i call my application like this from a shell script:
exec "$JAVA_BIN" -Djava.library.path=$LIBRARIES_J3D -classpath xxxx.jar yyyy.jar zzzz.jar ...
where xxx.jar, yyy.jar and zzz.jar are very heavy jars.
So i would like to see in the progress bar 33% 66% and 100% when they are loaded.
I do not know if this is the right forum to ask for this. If no, please point me which would be the ideal one.
Any help will be very useful. Thanks to all!Am 10.07.2015 um 07:17 schrieb Lalit Solanki:
> Hi friend,
>
> I am create pure eclipse E4 application and trying to splash screen with progress bar and message.
>
>
>
>
> but above image in only support eclipse E3 application so pleas help me how to add progress bar and message in eclipse E4 application
>
Hi Lalit,
there's a Bug entry: https://bugs.eclipse.org/bugs/show_bug.cgi?id=382224
Meanwhile you can use this solution:
https://www.eclipse.org/forums/index.php/t/328812/5ceed4bcaa683a94d65efb161bffd217/
Regards,
Ralf. -
Problem with Progress DB while using to connect using JDBC Adapter
Hi,
I am facing Problem with Progress DB while using to connect using JDBC Adapter. I am getting the following error in auditlog file like,
Error during database connection to the database URL jdbc:JdbcProgress:T:156.5.31.65:2545:/mfgprodev/devbadb
/devsche/i_apoext.db using the JDBC driver "com.progress.sql.jdbc.JdbcProgressDriver" : com.sap.aii.adapter.jdbc.sql.DriverManagerException: Unable to locate a suitable JDBC driver to establish a connection to URL " jdbc:JdbcProgress:T:156.5.31.65:2545:/mfgprodev/devbadb
/devsche/i_apoext.db "
I tried using the following all URLs,
1. jdbc:JdbcProgress:T:156.5.31.65:2545:i_apoext.
2. jdbc:JdbcProgress:T:156.5.31.65:2545:i_apoext.db
3.
jdbc:JdbcProgress:T:156.5.31.65:2545:/mfgprodev/devbadb
/devsche/i_apoext.
4.
jdbc:JdbcProgress:T:156.5.31.65:2545:/mfgprodev/devbadb
/devsche/i_apoext.db.
Can anyone please help me out in solving this issue.
May be the cause for this is :
1) The Wrong URL format
2) CLASSPATH is not setted properly..
Can you look more into this stuff.
Thanks,
Soorya.Hi,
To access any database fromm XI, using the JDBC adapter, the corresponding drivers have to be installed on the XI server.
Just check this note 831162.
Also, check this PDF to install Drivers in XI,
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3867a582-0401-0010-6cbf-9644e49f1a10 -
Macbook opens slowly with progress bar below the logo
macbook opens slowly with progress bar below the logo, what's happened can it be fixed and how Yosemite OS
ThanksThe status bar below the Apple logo in Yosemite is not a bug, its a feature. No need for a fix.
The reason why your MB starts slowly shall be answered if we have more info on your MacBook (RAM, version, etc.) -
iPhone 4s will not boot after trying to install ios7 beta 4. Stops at apple logo with progress line under it. how can I reset it or get it back up to do a restore then try the iOS 7 beta 4 install again. Issue was probably caused by disconnection
Obviously since you have iOS 7 you're a developer. As a developer, you signed a NDA with Apple not to discuss the iOS on a public forum. Please log in to the Developer Forum using your credentials and ask for help there, lest you risk having your credentials terminated.
Thanks, and best of luck to you.
GDG -
Gray Boot Screen with progress bar & SMC Issues
Hi All,
Over the last few days I've experienced the grey boot screen with progress bar three separate times after the finder froze and I was forced to manually reboot my imac. Previously I have only seen this during a Firmware update.
I am also concerned about the Finder freezing. It has been happening when I've been trying to access any of my external hard drives at random intervals (connected via usb, and f800). I am concered that my SMC controller might be failing as these drives are testing fine on other computers and in drive test programs. Also, the f800 drives have been self unmounting.
I had my internal drive replaced by apple a few weeks ago, could they have somehow damaged the smc controller unintentially? Or is this simply a Snow Leopard hiccup? (I'm running 10.6.2). I'm really starting to get annoyed with having to hard reboot or constantly reset my SMC. Any ideas before I take it in to a store?
Thanks!
Message was edited by: fkick1I have found other users have this same problem when using windows. My setup worked fine until I did a windows update. Now apple partition is inaccessible. Guess the windows update whacked the apple partition. Apple should have a workaround. Bad Windows!
-
CS3 install silent with progress bar ??
Is it possible to install full CS3 with progress bar showing when the program silently installs?
Install works fine using UI mode Silent and Full, but I can't find andy other options?
My problem is when using the silent install of full CS3, shortcuts are available before the installation is finished. Since the installation takes time, users may click the shortcut before the installation is finished, resulting installation fails.
Using the UI Mode Full is dependent on the users, and not accepted by company.
-OdestiWe too are in the same boat, we need a progress bar so that our users know that we are deploying the application.
I've tried various random switch for the "UI mode" but none work. There must be others than silent or Full.
Phil H -
Problems with infinite/jumping buffering using Strobe MP with progressive download MP4
Hello,
I am fighting with the Strobe Media Player and an MP4 video that it is supposed to load and play with progressive download.
The video is playing perfectly fine, except if it needs to buffer somewhere on the middle (the first "buffering" works correctly). If it happens, either it will stay buffering forever - but the buffer bar keeps filling up -, or after several seconds it will jump the video some seconds ahead, and start buffering again, repeating this until the end.
I have tried a lot of different scenarios, with different options on the buffer settings of Strobe, and different encodings on the video, without results.
The video can be seen here: http://www.webfuel.pt . It's currently encoded for 750 kb/s, using VBR 2 pass, web optimized.
I am testing using a bandwidth limiter (Service Capture), and limiting to around 200 kb/s. When the video reaches the buffer, the problem happens.
What can be the cause of the problem? A setting on Strobe? The video encoding? HTTP server configuration? A bug on Strobe?
By the way, just a fast question. For the current use case (the video you saw on the site, autoplaying), which bitrate would you consider acceptable? And considering the purpose is Web/Progressive downloaded is it recommended the use of VBR, or should I use CBR? Is there anything more relevant when encoding a video to be deployed on the web?
Thank you,
João SaleiroWe have solved the problem by creating our own video player and applying the technique described here:
http://stackoverflow.com/questions/1079935/actionscript-netstream-stutters-after-buffering
In another words, when the buffer gets empty, we pause the player, and we create an eventlistener that checks when the buffer is full to resume the playing. The result can be seen our site.
This is, IMHO a big problem in the Strobe Media Player that made us loose around 2 days researching, and can be easily solved with the above technique. -
About UNZIP with password, is there any non-free tool can get it done? Than
I am trying to use JAVA on our web application to unzip some ZIP file, however, those ZIP has password on it. Although I know what the password is, I can not make program unzip for me, since we all know that JAVA's bulit-in unzip engine does not support password.
My question is: If I like to pay for whatever the solution is, is there one JAVA version that support unzip with password? If not, is there any other way to solve this?
Thank you very muchHi,
Please check if this happens in [https://support.mozilla.com/en-US/kb/Safe%20Mode Safe Mode] after enabling only the PDF plugin in '''Tools''' ('''Alt''' + '''T''') > '''Add-ons''' > '''Plugins'''. You can also '''Disable''' the PDF plugin and try an alternative, for eg. [https://addons.mozilla.org/en-US/firefox/addon/pdfjs/?src=cb-dl-created pdf.js]. Please also go through the add-on reviews, ratings, help and FAQ.
[http://kb.mozillazine.org/Problematic_extensions Problematic Extensions]
[https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes Troubleshooting Extensions and Themes]
[http://support.mozilla.com/en-US/kb/Uninstalling+add-ons Uninstalling Add-ons]
[http://kb.mozillazine.org/Uninstalling_toolbars Uninstalling Toolbars]
[http://support.mozilla.com/en-US/kb/Cannot%20uninstall%20an%20add-on Cannot Uninstall Add-on]
[https://support.mozilla.com/en-US/kb/Troubleshooting%20plugins Troubleshooting Plugins]
[http://kb.mozillazine.org/Testing_plugins Testing Plugins] -
Hi,
I've this table:
CREATE TABLE MY_TAB (
ID VARCHAR2 (24) NOT NULL,
NAME_ID VARCHAR2 (32) DEFAULT NULL,
PRIMARY KEY (ID ));
I'd like to create one trigger that for each NAME_ID insert into ID column the value "NAME_ID-progressive of 3 digit"
For example:
INSERT INTO MY_TAB ( NAME_ID) VALUES ('999');
ID..............NAME_ID
999-001.........999
INSERT INTO MY_TAB ( NAME_ID) VALUES ('999');
ID..............NAME_ID
999-001.........999
999-002.........999
INSERT INTO MY_TAB ( NAME_ID) VALUES ('88888');
ID..............NAME_ID
999-001.........999
999-002.........999
88888-001.......88888
INSERT INTO MY_TAB ( NAME_ID) VALUES ('88888');
ID..................NAME_ID
999-001.............999
999-002.............999
88888-001...........88888
88888-002...........88888
INSERT INTO MY_TAB ( NAME_ID) VALUES ('999');
ID..................NAME_ID
999-001.............999
999-002.............999
88888-001...........88888
88888-002...........88888
999-003.............999
INSERT INTO MY_TAB ( NAME_ID) VALUES ('999')
ID..................NAME_ID
999-001.............999
999-002.............999
88888-001...........88888
88888-002...........88888
999-003.............999
999-004.............999
The trigger is like this:
CREATE OR REPLACE TRIGGER TRG_MY_TAB
BEFORE INSERT ON MY_TAB
REFERENCING NEW AS NEW OLD AS OLD
FOR EACH ROW
WHEN (NEW.ID IS NULL)
BEGIN
SELECT (:NEW.NAME_ID ||('-here progressive'))
INTO :NEW.ID
FROM DUAL;
END;
How can I create this trigger with progressive
Thank in advance!Create an auxiliary table:
CREATE TABLE progressive
(name_id VARCHAR2(32) NOT NULL PRIMARY KEY
,seq NUMBER NOT NULL
/And then call this function in your trigger:
CREATE OR REPLACE FUNCTION next_progressive (p_name_id IN progressive.name_id%TYPE)
RETURN NUMBER IS
l_seq NUMBER;
BEGIN
LOOP
BEGIN
SELECT seq INTO l_seq
FROM progressive
WHERE name_id = p_name_id
FOR UPDATE;
UPDATE progressive
SET seq = seq + 1
WHERE name_id = p_name_id;
RETURN l_seq;
EXCEPTION
WHEN no_data_found THEN
BEGIN
INSERT INTO progressive (name_id, seq)
VALUES (p_name_id, 2);
RETURN 1;
EXCEPTION
WHEN dup_val_on_index THEN
null;
END;
END;
END LOOP;
END;
/ -
How to associate audio file with progress bar
Hi all,
I have a case in which I need to associate an audio file witha progress bar. What I want to do is to able to play a audio file which will say " Process started.." Process going on" and process ends, and it shoud be synchronized with the progress bar. Is there a way to do this .
Please let me know
Thanks,
Ankit G
Solved!
Go to Solution.Are you referring to a LabVIEW horizontal/vertical progress bar, which basically has a U8 integer constantly written to it? Is this in a loop as it fills up?
If so, there is an entire palette that allows you to play waveforms. As you're writing to your progress bar the number, you can keep checking what that number is (event or case structure), and when it hits particular values, you play particular sounds. Here is a screenshot of that palette.
Ravi A.
National Instruments | Applications Engineer -
Auto slideshow with progressive image load
Hello everyone,
Does anyone know of a good autoplay slideshow script that
starts with the
first image on page load and then downloads the additional
images when
called? In other words, if there are 20 images in the
slideshow, it doesn't
load all 20 images before displaying the first.
I have just a couple of specific requirements.
I don't need any controls (pause, forward, etc) on it.
Most of the javascript slideshows I've looked at in Google or
have in my
snippet list have the image name hardcoded in the script.
Image1.jpg, image2.jpg, etc, which won't work.
I'll be feeding the images dynamically depending on the
category the user
chooses and the image names are variable.
I'm currently using javascript that automatically shows and
hides divs with
the same class name by changing the display style from none
to block and
back to none as it loops through them.
This works well as I can dynamically write as many divs as
needed by looping
through all the items in a category.
But alas, this one still doesn't start to run until all the
images are
downloaded.
You can see it here:
http://www.onelongfellowsquare.com/
There's actually 3 "slideshows", stacked one on top of the
next, using this
in the "Featured" section.
Thank you for any help or ideas.
Take care,
TimThanks, Jeff.
That's the functionality I was looking for.
I just need to figure out the best way to dynamically fill
the array with
image names from a database.
Take care,
Tim
"Jeff" <[email protected]> wrote in message
news:[email protected]...
> <head>
> <script language="JavaScript1.1">
> <!--
> var slidespeed=3000
> var slideimages=new
>
Array("image1.JPG","image2.JPG","image3.jpg","image4.jpg","image5.jpg","image6.jpg")
>
> var slidelinks=new Array("")
>
> var newwindow=0
>
> var imageholder=new Array()
> var ie=document.all
> for (i=0;i<slideimages.length;i++){
> imageholder
=new Image()
> imageholder.src=slideimages
> }
>
> function gotoshow(){
> if (newwindow)
> window.open(slidelinks[whichlink])
> else
> window.location=slidelinks[whichlink]
> }
> //-->
> </script>
> </head>
>
> <body>
> <a href="javascript:gotoshow()"><img
src="image1.JPG" alt="" name="slide"
> width="400" height="271" border=0
style="filter:blendTrans(duration=3)">
>
> <script language="JavaScript1.1">
> <!--
> var whichlink=0
> var whichimage=0
> var blenddelay=(ie)?
document.images.slide.filters[0].duration*1000 : 0
> function slideit(){
> if (!document.images) return
> if (ie) document.images.slide.filters[0].apply()
> document.images.slide.src=imageholder[whichimage].src
> if (ie) document.images.slide.filters[0].play()
> whichlink=whichimage
> whichimage=(whichimage<slideimages.length-1)?
whichimage+1 : 0
> setTimeout("slideit()",slidespeed+blenddelay)
> }
> slideit()
> //-->
> </script>
> </body>
>
> Jeff
>
>
>
> ----- Original Message -----
> From: "TC2112" <[email protected]>
> Newsgroups: macromedia.dreamweaver
> Sent: Saturday, January 31, 2009 7:04 PM
> Subject: Auto slideshow with progressive image load
>
>
>> Hello everyone,
>>
>> Does anyone know of a good autoplay slideshow script
that starts with the
>> first image on page load and then downloads the
additional images when
>> called? In other words, if there are 20 images in
the slideshow, it
>> doesn't load all 20 images before displaying the
first.
>>
>> I have just a couple of specific requirements.
>> I don't need any controls (pause, forward, etc) on
it.
>> Most of the javascript slideshows I've looked at in
Google or have in my
>> snippet list have the image name hardcoded in the
script.
>> Image1.jpg, image2.jpg, etc, which won't work.
>> I'll be feeding the images dynamically depending on
the category the user
>> chooses and the image names are variable.
>>
>>
>> I'm currently using javascript that automatically
shows and hides divs
>> with the same class name by changing the display
style from none to block
>> and back to none as it loops through them.
>> This works well as I can dynamically write as many
divs as needed by
>> looping through all the items in a category.
>> But alas, this one still doesn't start to run until
all the images are
>> downloaded.
>> You can see it here:
>>
http://www.onelongfellowsquare.com/
>> There's actually 3 "slideshows", stacked one on top
of the next, using
>> this in the "Featured" section.
>>
>> Thank you for any help or ideas.
>>
>>
>> Take care,
>>
>> Tim
>>
>>
>
> "TC2112" <[email protected]> wrote in message
> news:[email protected]...
>> Hello everyone,
>>
>> Does anyone know of a good autoplay slideshow script
that starts with the
>> first image on page load and then downloads the
additional images when
>> called? In other words, if there are 20 images in
the slideshow, it
>> doesn't load all 20 images before displaying the
first.
>>
>> I have just a couple of specific requirements.
>> I don't need any controls (pause, forward, etc) on
it.
>> Most of the javascript slideshows I've looked at in
Google or have in my
>> snippet list have the image name hardcoded in the
script.
>> Image1.jpg, image2.jpg, etc, which won't work.
>> I'll be feeding the images dynamically depending on
the category the user
>> chooses and the image names are variable.
>>
>>
>> I'm currently using javascript that automatically
shows and hides divs
>> with the same class name by changing the display
style from none to block
>> and back to none as it loops through them.
>> This works well as I can dynamically write as many
divs as needed by
>> looping through all the items in a category.
>> But alas, this one still doesn't start to run until
all the images are
>> downloaded.
>> You can see it here:
>>
http://www.onelongfellowsquare.com/
>> There's actually 3 "slideshows", stacked one on top
of the next, using
>> this in the "Featured" section.
>>
>> Thank you for any help or ideas.
>>
>>
>> Take care,
>>
>> Tim
>>
>>
>
> -
Can anyone recommend a free file uploader with progress bar?
Can anyone recommend a free file uploader with progress bar?
I have searched google but with no luck.
Ideally it would be a DW extension but that might be wishing
for too much.
I would like a large file limit for video and multiple file
extensions allowed.
Thanks in advanceHeya,
Check out this due Waleed he has some nice tuts and here's
a
link
to file upload with progress bar tutorial he has. Granted it
looks like it's just an animated gif letting users know their file
is uploading; if you want realtime upload information displayed for
the user you're gonna have to look at something like Flash with the
power of actionscript to achieve that result.
Hope that helps! -
Powershell unzip with shell.application not working when launched from windows service
I have a deployment agent on a machine implemented as a windows service. Service is 32-bit and runs on windows server 2008R2 x64 SP1 with powershell V2. Powershell script requires elevation and to run under x64 because of dependency to powershell module
'IIS Administration'. To achieve this, the service starts a cmd file which in turn launches powershell x64 console:
C:\WINDOWS\sysnative\WindowsPowerShell\v1.0\powershell.exe "Start-Process C:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell -ArgumentList '-ExecutionPolicy Bypass -NoLogo -NonInteractive -NoProfile -File C:\Temp\EndJobCmd\Install.ps1' -Verb RunAs"
This seems to work well. The problem I have is that the script has a sequence where it unpacks a zip file to a destination folder using shell.application, this works fine when triggered manually on the server or through the task scheduler, but when triggered
from the service it does not extract any files at all (cannot see any errors thrown by the script but it seems to continue to execute as it logs a successful message to the event log after finishing).
Unzip sequence looks like:
$shell = New-Object -com shell.application
$pkg = $shell.namespace($sourceFile)
$installDir = $shell.namespace($targetDir)
$installDir.Copyhere($pkg.items(), 20)
Any advice greatly appreciated. I have searched some and seen a few people with similar issue but have yet to find a solution.If it's still actual, I managed to fix this with having CopyHere params equal 1564.
So in my case extract zip function looks like:
function Expand-ZIPFile{
param(
$file, $destination
$shell = new-object -com shell.application
$zip = $shell.NameSpace($file)
foreach($item in $zip.items())
$shell.Namespace($destination).copyhere($item,1564)
"$($item.path) extracted"
1564 description can be found here - http://msdn.microsoft.com/en-us/library/windows/desktop/bb787866(v=vs.85).aspx:
(4) Do not display a progress dialog box.
(8) Give the file being operated on a new name in a move, copy, or rename operation if a file with the target name already exists.
(16) Respond with "Yes to All" for any dialog box that is displayed.
(512) Do not confirm the creation of a new directory if the operation requires one to be created.
(1024) Do not display a user interface if an error occurs. -
Can't get past gray screen with progress indicator... Help
I can't turn on my Macbook. It starts but won't go past the gray screen with the progress indicator (spinning circle).
I have tried:
1. turning off, removing battery, holding start for 5+ seconds, replacing battery and then turning on.
2. Holding command + option + R + P while staring up, waited for 3+ chimes.
3. holding Shift down while starting up
none of these things are working.
I've been on hold with apple service/support for almost an hour now.
I have an assignment on the computer that is due by midnight.
HELP!
I'm not very computer savvy and this is my first mac.
Any ideas folks??
Thanks.
Macbook Mac OS X (10.4.7)You've done all the standard procedures. If you have any peripherals attached, disconnect them.
This describes resetting the PMU:
http://docs.info.apple.com/article.html?artnum=303319
Did you have the AC disconnected when you did it? I don't have any other ideas.
These are the startup key options:
http://docs.info.apple.com/article.html?artnum=303124
Edit: If you have the install disc stuck in it anyway, can you get the hardware test to work? (Reboot while pressing the D key.)
Maybe you are looking for
-
When I connect my shuffle to ITunes, the SOURCE category doesn't show up!
HELP! My shuffle (bought it off of ebay two weeks ago) has been working fine. But today I ran into a problem. I plug it into Itunes, and no SOURCE category shows up. I can't even get the computer to recognize the device. Please make your response as
-
Query on inspection/cert. during dispatch of goods to customer
How to configure certificate type and assign certificates during pre-dispatch inspection. Could you kindly provide the process flow. What are the Config data that needs to be considered for the same. is Cust. info record required? Thanks in Advance.
-
Hi, I am working with purchase order creation.After creating the PO there will be an invoice tab in items data.When u click that tab it will show you a tax button and when pressed it will show some data(tax calculated data. But we dont know in whic
-
Login Page Only One administrators appears
Hey Guys, Recently purchase a macbook air OS X Yosemite, Processor 1.4 Ghz Intel core i5. Memory 4gb 1600 MHZ DDR3. My girlfriend jumped the gun setting up herself before me as the administrators. So I open up the MB air I login into her Account. I g
-
My PC operates with Windows 7. I now have PSE 11 with Camera Raw version 7.1.0.354 which will not open my new Panasonic LX7 cameras RW2 raw files. I have tried to use DNG version 5.7.0.213 (the latest) to convert my RW2 files to DNG files but it won