Help converting from PC
I have been a Mac user for several years now. Minus a few years that I am not proud of. LOL I have converted several of my family members and friends as well. My sister is now looking at an iMac to replace her Dell.
The question is this. She has an external hard drive to back up all of her pictures etc. Due to the fact that she is having serious problems with her current Dell, I am not sure that we will be able to burn cds to transfer all of these documents.
Is there any other way to get the information transferred easily? I am guessing that I cannot simply plug the PC formatted external hard drive into the new iMac for transferring. Once we get the information off of the external hard drive, I should be able to reformat the drive to work with the Mac though correct??
Appreciate all of your help and tips. I always seem to get really good information from the folks on here.
Thanks
J
As Niel has said, MacOS can read NTFS and FTA32 drives, it can also write to FAT32 drives. As long as the pictures and other files are in a common format (JPG, TIFF, TXT, DOC, etc.) you can copy those files to the iMac and use the included or freely available software to access the files.
While there are a very few drive enclosures that don't work or work well with MacOS, but for the most part, you will be able to re-format (or more likely re-partition & re-format) the drive to be in a Mac format. There are a couple of free, and commercial drivers to allow you to have full read/write access to an NTFS drive while running MacOS. I mention this because if there is a chance that she will want to share that drive between a PC and a MAC, getting NTFS access from MacOS is generally easier and cheaper than getting HFS+ access from a PC.
Similar Messages
-
Need help converting from 4.0 to 2011
hello,
Need help converting files from 4.0 to 2011.
thank you
Solved!
Go to Solution.
Attachments:
noise source.vi 73 KB
8673D.vi 30 KB
8970 FREQ.vi 26 KBattached as 8.2, which you can open
missing some subVIs - not sure if you already have them
Attachments:
8673D.vi 13 KB
8970 FREQ.vi 11 KB
noise source.vi 24 KB -
Any help converting from Entourage to iCal?
With all the problems syncing between Entourage calendar and my wife's iPhone (and now Apple dropping sync to Entourage in the new "forced" upgrade on MobileMe), I want to help my wife convert from Entourage to iCal. Anyplace to go for that help?
You can use Thundebird to replace Entourage and get the Lighting.Add-on to Thunderbird to replace the calendar of Entourage which USED TO synch over ical to Mobile Me as follows:
1. How to set up the iCal for Lightning and MobileMe
open Thunderbird
Install the Lightning add-on
Select “Preferences” “Advanced” “General”“Config Editor…”
yes, be careful
scroll down until you find “general.useragent.extra.lightning” andset the value to (nothing). you can also set the value to “ical” or whatever,just change it.
Close the config editor, close Thunderbird
Get the link to your iCal on MobileMe asfollows:
open ical (YES, iCAL)
right click the calendar under [email protected] youwant to access
select“get info”
copythe url after “CalDAV url:” it should read“/calendars/users/1.xxxxxxxxx/xxx-x-x-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx”
OpenThunderbird (assuming you have the Lightning add-on installed)
Within Thunderbird
File/ New / Calendar
onthe networkselect “CalDav”
intolocation: type the following (excluding the “”) :“https://cal.me.com:8443/calendars/users/1.xxxxxxxxx/xxx-x-x-xxxxxxxx-xxxx-xxxx-x xxx-xxxxxxxxxxx”where the xxx stuff is the part of the url that you copied under 5. above.
Whenyou check what is written in the location field, it will end with a “/” which is correct.
This works fine for me.
If you want to back-up your calendar on Thunderbird/Lightning outside the cloud, goto iCal and export the file to a local location as backup. -
Help convert from 7 to labview 6.1
Hi,
Could anyone help me to convert the code to labview 6.1
Thankyou very much
Attachments:
ag663xxa.zip 503 KBYou can try creating a 6.1 driver yourself. All the IVI drivers are simple wappers around a Call Library Node Function into the DLL created in LabWindows/CVI. The LabVIEW driver is created from the Tools>Instrumentation>Import CVI Instrument Driver selection. Download the CVI driver and install it. The converter will require some files installed in the \VXIpnp\WinNT (.fp) and \VXIpnpWinNT\bin (.dll) folders.
-
I never learnt as2 and I just purchased a fla file from a stock sight thinking it was in as3 and it isn't!!! doh
can anyone help me convert this from as2 to as3:
stop();
import flash.filters.*;
//--------------variables to change--------------------------//
//set this value to true if you want sparkles to be created from the mouse
//and false if you want automatic sparkles
var createSparklesFromAnyMouse:Boolean = true;
//set to true if you want sparkles to stop being created when the mouse
//is still
var createSparklesFromClick:Boolean = false;
//modify the size of the sparkles
var maxSparkSize:Number = 18;
var minSparkSize:Number = 8;
//increase this value to shorten the life, 0 to live forever
var fadeSpeed:Number = 10;
//the speed the sparkles fall, higher number quicker the speed
var speed:Number = 1;
//choose whether you want the sparkle colour to be random
var randomColour:Boolean = true;
//if you don't want a random colour pick a default colour
defaultColour = 0xFFffFF;
//do not modify code below here...
var sparkle:Number = 0;
var mousePosX:Number;
var mousePosY:Number;
var whichBat:Number;
var count:Number = 0;
this.createEmptyMovieClip("empty",this.getNextHighestDepth());
howToCreate();
function howToCreate() {
if (createSparklesFromClick == true) {
trace("create sparkles every time I click the mouse");
//create sparkles from mouse clicks
activateClick();
} else {
if (createSparklesFromAnyMouse == true) {
trace("create sparkles from the mouse");
//create sparkles from the mouse
this.onEnterFrame = function() {
createSparkle();
createSparkle();
} else {
trace("create sparkles every time I move the mouse");
//create sparkles ONLY when the mouseMoves
createWhenMoving();
function createWhenMoving() {
this.onEnterFrame = function() {
if (mousePosX != _root._xmouse && mousePosY != _root._ymouse) {
createSparkle();
mousePosX = _root._xmouse;
mousePosY = _root._ymouse;
function activateClick() {
empty.onMouseDown = function() {
this.onEnterFrame = function() {
createSparkle();
empty.onMouseUp = function() {
delete this.onEnterFrame;
function createSparkle() {
movingSparkle = this.attachMovie("colouredSparkle", "s_"+sparkle, sparkle);
movingSparkle2 = this.attachMovie("colouredSparkle", "ss_"+sparkle, sparkle+100);
sparkle++;
if(sparkle>100){
sparkle = 0;
setParams(movingSparkle);
setParams(movingSparkle2);
function setParams (movingSparkle){
movingSparkle._x = _root._xmouse+randRange(-8, 8);
movingSparkle._y = _root._ymouse+randRange(-15, 0);
movingSparkle._xscale = movingSparkle._yscale=Math.random()*maxSparkSize+minSparkSize;
movingSparkle._rotation = randRange(0, 360);
if (randomColour == true) {
col = Math.round(Math.random()*0xFFFFFF);
} else {
col = defaultColour;
colouredFill = new Color(movingSparkle.colour_mc);
colouredFill.setRGB(col);
colouredFill = new Color(movingSparkle.white_mc);
colouredFill.setRGB(col);
moveSparkle(movingSparkle);
function moveSparkle(movingSparkle) {
var ySpeed = randRange(0, speed);
var rot = randRange(-15, 15);
var blurX = randRange(2, 5);
var blurY = blurX;
var blurFilter = new BlurFilter(blurX, blurY, 3);
movingSparkle.white_mc.filters = [blurFilter];
movingSparkle._alpha = randRange(85, 100);
var alphaDrop = randRange(1, fadeSpeed);
movingSparkle.onEnterFrame = function() {
//change speed
this._y += ySpeed;
//change rotation
this._rotation = this._rotation+rot;
//make it smaller
this._xscale = this._yscale=this._xscale*0.98;
//fade the sparkle
this._alpha = this._alpha-alphaDrop;
//remove the movieclip if it get tiny
if (this._alpha<10) {
this.removeMovieClip();
delete this.onEnterFrame();
if (this._height<4) {
this.removeMovieClip();
delete this.onEnterFrame();
function setColour(mc, col) {
colourIt = new Color(mc);
colourIt.setRGB(col);
function randRange(min:Number, max:Number):Number {
var randomNum:Number = (Math.random()*(max-min))+min;
return randomNum;Zhanbolat,
In theory, conversion of this code is not difficult, especially because it is clear what the logic is designed to do. The issue is that you will not have an expected result once only this code is converted in isolation. This puppy uses some other objects that are written in AS2 including entities in the FLA library.
In short, it looks like this application needs a total overhaul at every level in order for it to properly function as an AS3 program.
With that said, although this is, again, not a difficult task, it is unlikely to find someone to do it for free. You may have a better luck if you start conversion yourself and post focused questions as you go. -
Help converting from Cakewalk/Sonar
All my song files are from Cakewalk/Sonar. Does anyone know if Logic Pro can read cakewalk/sonar files?
If not, any suggestions on how I can convert files to Logic Pro, especially files that have both midi and audio tracks.
I want to make the switch to Logic Pro, but don't want to leave behind the hundreds of files that I created on my PC with Cakewalk. Help.I used to know Sonar very well. Off the top of my head, here are the possible solutions that come to mind.
1. Try exporting the Sonar project as an OMF file. Logic can import OMF files but I've never tried it to see if it really works well.
2. Export the audio from Sonar as broadcast wave files. Also export the midi as standard midi files. Then, import them all into a Logic project. Broadcast wave files maintain the start points so everything will line-up correctly.
Good luck! -
[AS] Beast of a script needs help converting from Quark 8 to InDesign CS5
First off, THANK YOU for even reading this post. Here's the dilema. I work in a publishing company that used an AppleScript from Quark 8 to automate our pagination from set text we pull from our sales reps worksheets. About 8 months ago we switched fully to InDesign CS5, but have had to hold onto Quark 8 to be able to keep running our pagination. I'd like to see if the geniuses (yes, I've been trolling these forums looking to solve this myself and seen some great problems fixed) on these forums can help me figure out the proper conversion I would need to be able to leave Quark 8 in the rearview.
Here's our current code... (I warned you it was a beast)
set Ad_Props to {¬
{Ad_Label:"SPREAD – ", Ad_Width:2.495, Ad_Height:1.62, Ad_Text_Angle:0}, ¬
{Ad_Label:"FULL – ", Ad_Width:1.225, Ad_Height:1.62, Ad_Text_Angle:0}, ¬
{Ad_Label:"SPREAD – ", Ad_Width:2.495, Ad_Height:1.62, Ad_Text_Angle:0}, ¬
{Ad_Label:"JUNIOR – ", Ad_Width:0.90625, Ad_Height:1.62, Ad_Text_Angle:0}, ¬
{Ad_Label:"1/2H – ", Ad_Width:1.225, Ad_Height:0.785, Ad_Text_Angle:0}, ¬
{Ad_Label:"1/2V – ", Ad_Width:0.5875, Ad_Height:1.62, Ad_Text_Angle:90}, ¬
{Ad_Label:"1/3V – ", Ad_Width:0.5875, Ad_Height:1.2025, Ad_Text_Angle:90}, ¬
{Ad_Label:"1/4 – ", Ad_Width:0.5875, Ad_Height:0.785, Ad_Text_Angle:0}, ¬
{Ad_Label:"1/4 Strip – ", Ad_Width:0.26875, Ad_Height:1.62, Ad_Text_Angle:90}, ¬
{Ad_Label:"1/8H – ", Ad_Width:0.5875, Ad_Height:0.3675, Ad_Text_Angle:0}, ¬
{Ad_Label:"1/8V – ", Ad_Width:0.26875, Ad_Height:0.785, Ad_Text_Angle:90}, ¬
{Ad_Label:"Junior (GOLF) – ", Ad_Width:0.8, Ad_Height:1.62, Ad_Text_Angle:0}, ¬
{Ad_Label:"1/3V (GOLF) – ", Ad_Width:0.375, Ad_Height:1.62, Ad_Text_Angle:90}, ¬
{Ad_Label:"1/3sq. (GOLF) – ", Ad_Width:0.8, Ad_Height:0.785, Ad_Text_Angle:0}, ¬
{Ad_Label:"1/6V (GOLF) – ", Ad_Width:0.375, Ad_Height:0.785, Ad_Text_Angle:90}, ¬
{Ad_Label:"Directory Listing Only – ", Ad_Width:0.3, Ad_Height:0.3, Ad_Text_Angle:0}, ¬
{Ad_Label:"INSERT (# in notes) – ", Ad_Width:0.3, Ad_Height:0.3, Ad_Text_Angle:0}, ¬
{Ad_Label:"Other (See Notes) – ", Ad_Width:0.3, Ad_Height:0.3, Ad_Text_Angle:0}, ¬
{Ad_Label:"------------ – ", Ad_Width:0.3, Ad_Height:0.3, Ad_Text_Angle:0}}
set Position_Width to number
set Position_Width to 11.375
set Position_Height to number
set Position_Height to 1.875
set Jump_Height to number
set Jump_Height to 0
set Variable_Count to number
set Variable_Count to 0
set Variable_Height to number
set Variable_Height to (1.875 + (1.62 * Variable_Count))
set Last_Ad to number
set Last_Ad to 0
tell application "QuarkXPress"
activate
try
display dialog "WARNING: This version of 'Dummy Square Maker' runs much slower than the last version, a confirmation will tell you when you are finished. Please be patient." & return & return & "Make sure to have the text box selected" buttons {"Cancel", "Accept"} default button 2 with icon caution
set ThisBox to object reference of current box
tell story 1 of ThisBox
set (every paragraph where it is return) to ""
set style sheet of every text to null
set style sheet of every text to "DUMMY TEXTS"
repeat with i from 1 to (count of paragraphs)
try
tell paragraph i
set ThePage to my get_CurrentPage()
try
if it contains " – " then
set style sheet to "AD SIZE"
set Ad_Size to contents
set {This_Width, This_Height, this_angle} to {"", "", ""}
repeat with This_Ad in Ad_Props
if Ad_Size contains (Ad_Label of This_Ad) then
set This_Width to Ad_Width of This_Ad
set This_Height to Ad_Height of This_Ad
set this_angle to Ad_Text_Angle of This_Ad
exit repeat
end if
end repeat
set Ad_Box to my Make_Box(ThePage, {1.875, 10.875, This_Height + 1.875, This_Width + 10.875}, this_angle)
duplicate contents to (end of Ad_Box)
else if it contains "—" then
set style sheet to "AD REP/PLACEMENT"
duplicate contents to (end of Ad_Box)
else if it starts with "©" then
set style sheet to "AD REP/PLACEMENT"
delete (character 1)
duplicate contents to end of Ad_Box
if Position_Width ≤ 19.75 then
set Jump_Height to Jump_Height + This_Height
(*_________________This is where Ad Boxes Stack_________________*)
if (Jump_Height ≤ 1.62) then
set origin of bounds of Ad_Box to {Position_Height, Position_Width}
set Position_Height to Position_Height + This_Height
(*_________________This is where Ad Boxes more right_________________*)
else
set Position_Height to Variable_Height
(*set Position_Width to Position_Width + This_Width + 0.05*)
set Position_Width to Position_Width + Last_Ad + 0.05
set origin of bounds of Ad_Box to {Position_Height, Position_Width}
set Jump_Height to This_Height
set Position_Height to Variable_Height + This_Height
end if
set Last_Ad to This_Width
(*_________________This is where New Row appears_________________*)
else
set Position_Width to 11.375
set Variable_Count to Variable_Count + 1
set Variable_Height to (1.875 + (1.62 * Variable_Count))
set Position_Height to Variable_Height
set origin of bounds of Ad_Box to {Position_Height, Position_Width}
set Position_Height to Position_Height + This_Height
set Jump_Height to This_Height
set Last_Ad to This_Width
end if
else
duplicate contents to (end of Ad_Box)
end if
end try
end tell
on error errmsg number errnum
display dialog "There has been an error " & "[" & i & "] (" & errmsg & " [" & errnum & "])" buttons {"Okay"} default button 1 with icon stop
end try
end repeat
delete contents
set style sheet of every text to null
end tell
beep 2
display dialog "Automation Finished" & return & return & "IMPORTANT NOTE: Color your Ad Squares according to Sales Rep, and select them all and 'BRING TO FRONT [F5]', this is VITAL." buttons {"Okay"} default button 1 with icon stop
on error errmsg number errnum
beep 3
if errnum ≠ -128 then
beep
display dialog errmsg & " [" & errnum & "]" buttons {"OK"} default button 1 with icon stop
end if
end try
end tell
on Make_Box(ThePage, TheBounds, this_angle)
local ThePage, TheBounds, this_angle
tell application "QuarkXPress"
tell page ThePage of document 1
set Ad_Box to make new text box at end with properties {bounds:TheBounds, vertical justification:centered, color:"Rep_Other", shade:100, opacity:10, text angle:this_angle, frame:{style:solid line, color:"Black", shade:60, width:0.1}}
end tell
end tell
(*end tell*)
return Ad_Box
end Make_Box
on get_CurrentPage()
tell application "QuarkXPress"
tell document 1
return page number of current page
end tell
end tell
end get_CurrentPageHi,
I think with this, you can already make good progress in your work.
Good luck!
global mydocument
tell application "Adobe InDesign CS5.5"
set mydocument to active document
tell mydocument
set myParaStyle to paragraph style "DUMMY TEXTS"
tell page 1
set TheBounds to {0, 0, 20, 50}
set Ad_Box to make text frame
tell Ad_Box
set geometric bounds to TheBounds
set vertical justification of text frame preferences to center align
set contents to "This is the contents"
end tell
set myStory to parent story of Ad_Box
set applied paragraph style of every paragraph of myStory to myParaStyle
end tell
end tell
end tell
Your two handlers then look like this:
on Make_Box(ThePage, TheBounds, this_angle)
local ThePage, TheBounds, this_angle
tell application "Adobe InDesign CS5.5"
tell page ThePage of mydocument
set Ad_Box to make text frame
tell Ad_Box
set geometric bounds to TheBounds
set vertical justification of text frame preferences to center align
end tell
end tell
end tell
return Ad_Box
end Make_Box
on get_CurrentPage(CurrentTextFrame)
tell application "Adobe InDesign CS5.5"
tell mydocument
return name of parent page of parent page of CurrentTextFrame
end tell
end tell
end get_CurrentPage
Shorter version:
on get_CurrentPage(CurrentTextFrame)
tell mydocument of application "Adobe InDesign CS5.5"
return name of parent page of parent page of CurrentTextFrame
end tell
end get_CurrentPage
Ce message a été modifié par: OlivierBerquin -
Help convert from 7 to 6.1
Hello all.
Someone tried to answer my question but i can't open his file cuz i only have labview 6.1. could someone please convert it for me? thanks.
Aquaphire
---USING LABVIEW 6.1---
Attachments:
saveclock4.vi 21 KBHi
Problem is that whoever posted the example for you, didnt include the subVI, so the VI is incomplete.
Get the SubVI and I will save it back for you.
Regards
Meister -
Need help converting from Actionscript 2.0 to 3.0
I have an old flash file that I need to update. Ufortunately I only ahve access to Flash Pro CC and when I open the file it says the program no longer supports Actionscript 2.0. When I test the file, I get the following compiler errors:
Symbol 'MoneySlider', Layer 'AS', Frame 1, Line 7, Column 3
1120: Access of undefined property ratio.
Symbol 'MoneySlider', Layer 'AS', Frame 1, Line 7, Column 20
1180: Call to a possibly undefined method number.
Symbol 'MoneySlider', Layer 'AS', Frame 1, Line 7, Column 27
1120: Access of undefined property _root.
Symbol 'MoneySlider', Layer 'AS', Frame 1, Line 9, Column 27
1120: Access of undefined property ratio.
And on the MoneySlide layer in Actions:
this.ratio = 0;
this.loadBar._width = 0;
this.dragger.ratio.text= "$0";
dragger.onPress=function(){
this.startDrag(true,0,0,line._width,0);
this.onEnterFrame=function(){
ratio=Math.round(number(_root.transitBenefitLimit/100)*(thi s._x/(line._width/100)));
loadBar._width = Math.round(this._x);
dragger.ratio.text= "$"+ratio;
dragger.onRelease=dragger.onReleaseOutside=stopDrag;
Any help changing the code to be compatible with Actionscript 3? thanks in advance...as3:
this.ratio = 0;
this.loadBar.width = 0;
this.dragger.ratio.text= "$0";
dragger.addEventListener(MouseEvent.MOUSE_DOWN,downF);
var dragged_mc:MovieClip;
function downF(e:MouseEvent):void{
dragged_mc=MovieClip(e.currentTarget);
dragged_mc.startDrag(true,0,0,line.width,0);
dragged_mc.addEventListener(Event.ENTER_FRAME,enterframeF);
stage.addEventListener(MouseEvent.MOUSE_UP,upF);
function enterframeF(e:Event):void{
ratio=Math.round(Number(MovieClip(root).transitBenefitLimit/100)*(dragged_mc.x/(line.widt h/100)));
loadBar.width = Math.round(dragged_mc.x);
dragger.ratio.text= "$"+ratio;
function upF(e:MouseEvent):void{
stage.removeEventListener(MouseEvent.MOUSE_UP,upF);
dragged_mc.removeEventListener(Event.ENTER_FRAME,enterframeF);
dragged_mc.stopDrag(); -
I'm helping a friend with a new 4S iPhone. He's converting from an old 3GS. We've gone throughout the activation, update to iOS 5.0.2 and restored. Now I'm surprised to find that the Facetime app is not on his new 4S iPhone. How do we fix this?
I would suggest you read the user guide. There IS no Facetime App for the iPhone.
http://manuals.info.apple.com/en_US/iphone_user_guide.pdf
< Edited By Host > -
I paid for PDF to Word subscription through iTunes but when I try to convert from my computer directly from Adobe, it says I need a subscription. Help?
Hi divabuyer,
It sounds like you're trying to convert to Word from within Reader, is that so? Are you signed in to Reader? If so, you'll see your name in the upper-right corner of the Reader application window.
If that doesn't work, please try llogging in to https://cloud.acrobat.com/exportpdf with your Adobe ID and password.
Let us know how it goes.
Best,
Sara -
WHO CAN/WILL HELP ME CONVERT FROM PDF TO WORD ?
WHO CAN/WILL HELP ME CONVERT FROM PDF TO WORD ?
Someone might. Are you having a problem? What have you purchased from Adobe, exactly, and where do you get stuck?
-
Please help me to convert from 5.0 to 2009
Please help me to convert from 5.0 to 2009
Source LabVIEW version: LabView 5.0
Target LabVIEW Version: LabView 9.0
Thank you so much..
Solved!
Go to Solution.
Attachments:
shutter.llb 255 KBLabVIEW 9.0
Attachments:
shutter.llb 90 KB -
when I try to convert from pdf to word, a box opens and suggests I am to click on (select) the file I want to convert. It sounds all well but it does not work. I really really just want my files back in word, all of them, no matter, because after having to reinstall windows 7 (done by techs) and me having to re-download all my HP drivers, and tools, and other software, which I imagine included adobe reader, now I see some pdf files won't open. It says, "access denied" and boy that really makes me wantt o scream. I am the ONLY user, it is my notebook, I am the administrator so I can't figure out why some files open and some don't. I can't ascertain any difference.
I would be grateful for any help. This has become just too exhausting. After reinstalling sooooooooo much, then to have to go through this with what is a free application? I say I think not.
This should NEVER happen with any free application and boy there is NO help to be found. They blow you off the phone fast telling you it's a free application. Then why are you putting in this kind of stuff that it won't open? This is NOT a shared notebook, it's mine. I am the only user, personal use.
HP probook, if anyone needs that info.
Please, will someone help?
I would be so grateful.
thanks,
GinaGee, Pat, this is a real big help.
Nobody could possibly think anyone would ask for help without first trying to fix the issue oneself. Or maybe you do. I have opened the file and looked under security. I have changed it to owner-notebook (which is what the techs called me) and clicked accept but geepers it didn't work.
Maybe someone else has an idea.
Take Ownership of a File or Folder
The above should be a link. At least I copied and pasted the link. I did what was stated in there. It isn't like brain surgery. But it is not working. I ended up being able to open some pdf files after transferring them from one partition category to another. I wish it was that easy as you seem to think.
Thanks for the help. Have a great year. -
Applescript to convert from AW6 spreadsheets to Excel
I have an iMac (iMac12,2) running OS 10.9.1 with applications of Pages’09 (4.3), Pages (5.0.1), Numbers’09 (2.3) and Numbers (3.0.1) available.
One of my laptops is a MBA (MacBookAir1,1) that I have kept at 10.6.8 with applications Appleworks (6.2.2) and Appleworks (6.6.9) available.
Recently, I converted many CWWP documents from AW6 into Pages. This was done on the iMac with an Applescript that copied a file (AnyDocumentCWWP) to the desktop as a file named AWV6, opened AWV6 with Pages’09, saved the result as AWV6.Pages, applied the creation date and modify dates of the original to AWV6.Pages, moved the new AWV6.Pages to the original directory and moved the original file to the trash, renamed AWV6.Pages to the original filename (excluding extension). The Pages version of the original document does not preserve the formatting of the CWWP, but the content was now discoverable with Spotlight. Since I was primarily concerned with the content, I would consider the conversion effort successful enough.
I performed the same sort of process on the iMac with CWSS documents converting from AW6 into Numbers. Here the results were less successful. I discovered that many of the converted spreadsheets had cells where the cell contained the last calculated value in substitute for the formula originally present -or- Numbers was unable to open the CWSS spreadsheet due to size limitations. Neither problem occurs when the file is converted on the MBA by Appleworks into an Excel format. For those CWSS files that did not properly convert to Numbers, I would like to perform a conversion to Excel.
When a given spreadsheet is manually opened on the MBA with either version of Appleworks, one can “Save as” using several formats of Excel. That operation will preserve the formula which cannot be recognized in Numbers’09. An example of this issue is when a spreadsheet has a cell that contains a formula with the function “ISNUMBER”. When I manually open a CWSS in Appleworks (either 6.2 version), I can Save As Excel Win 97 … or Excel Mac 98 … creating an XLS file that preserves the formula.
I have attempted two techniques with Applescript to be able to convert my CWSS documents into XLS format. Neither seem to work.
The first technique is very similar to a few lines extracted from a canned script found on http://macscripter.net/viewtopic.php?id=8296 the relevant code is:
set theSprTranslator to "Excel Win 97, 2000, XP 2002 spr"
tell application "System Events" to set mfpath to get path of disk item ("~/desktop/" as string)
set newfile to (mfpath & "AWV6" as string)
set NewFilename to AWV6XLS
tell application "AppleWorks 6"
activate
open newFile -- alias reference is ok
save using translator theSprTranslator with NewFilename and replace
close front document without saving
end tell
When this did not work, I attempted a scripted GUI solution as a second option. The GUI code I had found at http://stackoverflow.com/questions/17348326/applescript-to-save-an-appleworks-do cument-wont-compile-end-tell-vs-end-easy is:
tell application "System Events"
tell process "AppleWorks"
click menu item "Save As…" of menu "File" of menu bar 1
click menu button "File Format" of window "Save : AppleWorks 6"
click menu item "Excel Mac 5 spreadsheet" of menu 1 of menu button "File Format" of window "Save : AppleWorks 6"
keystroke return
end tell
end tell
Unfortunately there is no “File Format” menu button, after a bit of further research, I discovered UI Browser and wrote my own Applescript equivalent:
set mytempwork1 to AWV6
set theSprTranslator to “Excel Win 97, 2000, XP 2002 spr”
tell application "Finder" to open file (mytempwork1 as string) of the desktop
tell application "System Events"
tell process "AppleWorks"
click menu item "Save As…" of menu "File" of menu bar 1
tell text field 1 of window "Save : AppleWorks 6"
set value to "XX" & mytempwork1
end tell
click pop up button 1 of group 1 of window "Save : AppleWorks 6"
click menu item theSprTranslator
—click radio button 2 of group 1 of window "Save : AppleWorks 6"
—delay 3
—click radio button 1 of group 1 of window "Save : AppleWorks 6"
end tell
end tell
tell application "System Events"
tell process "AppleWorks"
delay 10 — <<<<<IF YOU CLICK ON THE BUTTON WHILE IN THIS DELAY, THE SCRIPT WILL BEHAVE PROPERLY
click button "Save" of window "Save : AppleWorks 6"
delay 1
end tell
end tell
This GUI script behaves almost as I would like. It seems to ignore the setting of the “pop up button 1” unless I actually intervene while the script is running and I click on the button. When I do so, the script runs as intended.
Is there a way to force Appleworks to recognize the Applescripted value of the “clicked” menu item?Hello
As far as I know, there's no need to resort to GUI scripting. The problem in exporting in AppleScript is that AppleWorks 6 only accepts typeChar (TEXT) data as translator name while AppleScript string has become always being represented as typeUnicodeText (utxt) since OS X 10.5. This makes passing translator name to save command difficult but there's a workaround method as shown in the sample code below. The |TEXT|() handler does the job. Tested with AppleWorks 6.2.4 under 10.6.8.
main()
on main()
set export_translator to "Excel Mac 98, 2001 spreadsheet"
"Excel Mac 5 spreadsheet"
"Excel Mac 98, 2001 spreadsheet"
"Excel Win 5 spreadsheet"
"Excel Win 97, 2000, XP 2002 spr"
set export_translator_TEXT to my |TEXT|(export_translator)
set src to (path to desktop)'s POSIX path & "in.cwk"
set dst to (path to desktop)'s POSIX path & "out.xls"
set srca to src as POSIX file as alias
set dsta to touch(dst) as POSIX file as alias
tell application "AppleWorks 6"
--return export translators
open srca
tell document 1
if document kind = spreadsheet document then
save in dsta using translator export_translator_TEXT
end if
close saving no
end tell
end tell
end main
on touch(f)
do shell script "touch " & f's quoted form
return f
end touch
on |TEXT|(u)
string u : source text
return data : «data TEXT...» representing u converted to MACROMAN encoding
do shell script "u=" & u's quoted form & "; printf '%s' \"$u\" | iconv -f UTF-8 -t MACROMAN | xxd -p"
run (run script "
script
«data TEXT" & result & "»
end script")
end |TEXT|
Hope this helps,
H
Maybe you are looking for
-
Button in Bex Analyser 7.0 - problem with setting up Static Parameters
Hello, I know a similar problem has been discussed here already, but I am still having problems with setting up Static Parameters of my Button in BEx Analyser 7.0, so that I can pass Variable values from that button to my query. This is what I do - i
-
Error while loading a String on a TextField
Hi, I have a TextField set for Numeric values, now when I do setString () and pass a number as String it gives an error,. It works perfectly on a emulator but on the real device it gives a exception. I dont know the stacktrace beause I dont know how
-
Export to SD card for car stereo - use lower bitrate?
Okay, so my fancy new car stereo has an SD card slot, and the stereo reads a file structure so I can have folders for each Artist, and in that a flofer for each album, with MP3 files inside. I can see tha ther easiest way to populate an SD card is to
-
Hi! I'm using TestStand 2012 with LabVIEW 2011 for measuring the current in my Sensor Interface module. In the TestStand program's setup part I initialize the DC current measurement channel, and as the VI's output I take the Session and error out. In
-
I have a Sony HD video camera, a Handycam. The camera came with a software called PMB which is only compatable for PC's. The software enables the PC to view the HD video files. My Macbook Pro is not able to view these videos and I can't figure out