Can I use one document to open another?

I am assuming this is a scripting problem though I am not a scripter myself.
Basically the situation is this: I have a number of Appleworks documents each of which contains many thumbnails of images, and each thumbnail is also a hotlink to a url for the web page which hosts the full size image. I would be perfectly satisfied with this setup except that the Appleworks icon in Finder is total rubbish, worse even than a Classic icon. I cannot use the Finder (column view) to see from the icon which document it is.
To get around this, I have also saved the same documents in Photoshop as small jpegs, which give a beautiful, sharp, clear, LARGE icon image in Finder.
The problem is that I now have PAIRS of documents, one Appleworks and one Photoshop, a total of more than 50 pairs in a folder. What I want to do is to use the jpeg solely to identify the document in Finder, then when I double-click on it, the Appleworks document opens. Can I link document files together so that if I double-click one, the other opens?
I believe the clue may lie in aliases? I have created an alias of one of the jpegs, and its icon is every bit as good as the original document. Can I now get the alias to point to another document, in this case its paired Appleworks document?

Hello christopher,
Well, you may give this another try, though it's a little out of the scope of your original question. (Technically, custom icon and preview are two things ; ))
The following script will try to get preview image , i.e. pair of 'PICT' and 'pnot' resources, from Photoshop JPEG file and put it in the corresponding AppleWorks 6 file's resource.
If recent Photoshop JPEG file still stores the preview image in that fashion, this script should help. Otherwise, it would do nothing, hopefully. (Try the script on a test folder first.)
To run this script, you need to install Satimage.osax that is free scripting additions made and distributed by Satimage-software, France. See script's comment for more details.
http://www.satimage.fr/software/en/downloads/downloadscompanionosaxen.html
Good luck,
H
-- SCRIPT
  make PICT preview of AW6 file from the paired jpg file with fine preview.
  v0.1
  * Using 'list resource', 'load resource' and 'put resource' of Satimage OSAX.
  Preparation:
    • Install Satimage OSAX in either of:
      /Library/ScriptingAdditions/
      ~/Library/ScriptingAdditions/
    * download sources:
      http://www.satimage.fr/software/en/downloads/index.html
      http://www.satimage.fr/software/en/downloads/downloadscompanionosaxen.html
      http://www.satimage.fr/software/en/downloads/downloadsold_companionosaxen.html
  Usage -
    • Copy this script into new window of Script Editor and run it.
     It will let you choose source folder to process and then
     get 'PICT' and 'pnot' data from jpg files and put them into corresponding cwk files.
    * The script assumes that
      - the source folder contains AW6 files and Photoshop jpg files loosely; and
      - their file name extensions are 'cwk' and 'jpg' respectively; and
      - file names without exension are the same for corresponding files.
  e.g.
  source folder structure -
    target folder:
      file1.cwk  -- AppleWorks 6 file
      file1.jpg  -- corresponding (Photoshop) jpg file with fine PICT preview
      file2.cwk
      file2.jpg
  result folder structure -
    target folder:
      file1.cwk  -- AppleWorks 6 file with fine PICT preview obtained from corresponding jpg file
      file1.jpg  -- jpg files with fine PICT preview (not changed)
      file2.cwk
      file2.jpg
main()
on main()
script o
property aa : {}
property fda : choose folder with prompt "Locate the folder to process." -- source folder
property fdp : fda as Unicode text
property jpgext : ".jpg" -- jpg file name extension (including period, case insensitive)
property cwkext : ".cwk" -- AppleWorks 6 file name extension (idem.)
-- get list of jpg files
tell application "Finder"
set aa to (files of fda whose name ends with jpgext) as list -- JPGs
end tell
-- get 'PICT' and 'pnot' resource data from jpg file and put them into cwk file.
set d to -(count jpgext) - 1
repeat with a in my aa
set a to a's contents -- Finder reference of jpg file with fine PICT preview
set n to a's name -- jpg file name
set a to a as alias -- alias of jpg file
set p1 to fdp & (n's text 1 thru d) & cwkext -- corresponding AW6 file path
try
set a1 to p1 as alias -- alias of corresponding AW6 file
-- get PICT and pnot resource data from jpg file
set {PICTid} to list resources "PICT" from a
set {pnotid} to list resources "pnot" from a
set PICTdata to load resource PICTid type "PICT" from a
set pnotdata to load resource pnotid type "pnot" from a
-- put PICT and pnot resource data to cwk file
put resource PICTdata to a1 type "PICT" index PICTid with name ""
put resource pnotdata to a1 type "pnot" index pnotid with name ""
on error -- ignore it silently
end try
end repeat
end script
tell o to run
end main
-- END OF SCRIPT

Similar Messages

  • Not able to copying files/folders from one Document Library to another Document Library using Open with Browser functionality

    Hi All, 
    We have SharePoint Production server 2013 where users are complaining that they are not able to copy or move files from one document library to another document library using “Open with Explorer” functionality.
    We tried to activate publishing features on production server but it did not work. We users reported following errors:  
    Copying files from one document library to another document library:
    Tried to map the document libraries and still not get the error to copy files: 
    In our UAT environment we are able to copy and move folders from using “Open with Explorer” though.
    We have tried to simulate in the UAT environment but could not reproduce the production environment.  
    Any pointers about this issue would be highly appertained.
    Thanks in advance
    Regards,
    Aroh  
    Aroh Shukla

    Hi John and all,
    One the newly created web applications that we created few days back and navigated to document library, clicked on “Open with Explorer”, we get this error.
    We're having a problem opening this location in file explorer. Add this website to your trusted and try again.
    We added to the trusted site in Internet Explorer for this web application, cleared the cache and open the site with same document library but still get the same above error.
    However, another existing web application (In same the Farm) that we are troubleshooting at the moment, we are able click on “Open with Explorer”,  login in credentials opens and we entered the details we are able to open the document
    library and tried to follow these steps:
    From Windows Explorer (using with Open with Explorer), tried to copy or move a files to
    source document library.
    From Windows Explorer moved this file to another destination document library and we got this error.
    What we have to achieve is users should be able to copy files and folders using
    Open with Explorer functionality. We don’t know why Open with Explorer
    functionality not work working for our environment.  
    Are we doing something wrong? 
    We have referred to following websites.
    we hope concepts of copying / Moving files are similar as SharePoint 2010. Our production environment is SharePoint 2013.   
    http://www.mcstech.net/blog/index.cfm/2012/1/4/SharePoint-2010-Moving-Documents-Between-Libraries https://andreakalli.wordpress.com/2014/01/28/moving-or-copying-files-and-folders-in-sharepoint/
    Please advise us. Thank you.
    Regards,
    Aroh
    Aroh Shukla

  • Move Files from one document set to another document set using workflow

    Hi All,
    Env : SP 2013 Server - SPD 2013.
    I'm trying to make a SPD Workflow that must copy a  files from one Document Set to another Document set in the same library other document library  
    Does Someone already get success for Copy  files from one Document Set to another Document set?
    Thanks for your help.

    Hi,
    According to your post, my understanding is that you wanted to move Files from one document set to another document set using workflow.
    I recommend to use the custom workflow activity  Copy List Item Extended Activityto
    copy files to another document set.
    You can do this with codeless SharePoint Designer workflows as long as you can install the
    Codeplex Custom SharePoint Designer Workflow Activities. 
    These activities are also built-in to SPD2013. However, you can only use the custom activities in the SharePoint 2010 Platform.
    To install the custom activities, please follow the steps as below:
    Download the solution file form
    Useful Sharepoint Designer Custom Workflow Activities
    Copy the wps file to the Disk C.
    Open the SharePoint 2013 Management Shell.
    Run the command: add spsolution c:\ dp.sharepoint.workflow.wsp
    Open the Center Administration, click System Setting->Manage Farm Solution-> dp.sharepoint.workflow.wsp->Deploy to one or more Web Application.
    Open the SharePoint designer, create SharePoint 2010      Platform workflow, add action from Custom Actions.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Can i use one router connected to my cable modem and another....

    can i use one router to connect to my cable modem them have another (not connected to a modem) and a wireless reciver so i can plug my xbox 360 into it?

     Yes you can do that ... but you need to configure the computer connect to the Router using Cable ....
    Afterwards ... you can work on mutiple computers ...

  • Since installing an icon-editing add-on, I can't open tabs any more / I can only use one tab at a time.

    Ever since I installed the add-on Favicon Picker 2 that lets you change the bookmark icons, I can't open tabs any more. The second tab will open, but if you try to go to a site, the FIRST tab redirects to that site. Basically, I can only use one tab at a time. Is there any way I can keep this add-on and use tabs?

    Oh, wow - look at that, you're right :) I didn't want to uninstall the add-on as I like the feature, but simply by disabling it you can keep the new icons AND use tabs. Thanks dude!
    (The add-on is Favicon Picker 2 0.6.2.15 by the way - some of the user reviews report the same problem.)

  • New to LABVIEW. How can I use one analog channel to trigger acquisiton of a signal on another analog channel?

    I am new to using Labview and have been tasked to write data acqusition program for my company. We are attempting to log 6 machines, each with their own asynchronous trigger (I can't use one trigger for all 6 machines). I have the idea to use (for example) ai0 for the measurement and ai1 for the trigger (for one machine), yet I see nothing in the documentation on how this is done. I have tried playing around with the DAQ express VI (I am using Labview7) but still don't see a way to have the setup I am looking for. I'm sure this is a relatively easy question, but I'm unsure where to go to look for an answer. Any helpful pointers or guidance in the right direction
    would be very helpful!

    If what you want to do is start the acquisition of channel 0 when channel 1 reaches the trigger condition and not start channel 2 until channel 3 reaches it's trigger condition, then no, you cna't do that unless you have multiple daq devices. What can be easily done is continuously acquire all channels and monitor your trigger channels. When the trigger condition is met, then perform the analysis/logging. On the Analyze>Waveform Monitoring palette is the Basic Level Trigger Detection function. Use one for each trigger channel and have it return either the index or relative time of the trigger occurance. This value can then be used to idex that portion of the measurement channel that you're interested in.

  • Sharepoint 2010 - Archiving the files from one document library to another document library in sharepoint site

    I have a requirement to move the documents from one document library to another document library.
    Source Library - DocumentLib
    Destination Library - Archive
    Archive document library will have folders by fiscal year.
    Source documentlibrary has files from year 2012 till date.
    Archive folder will have folders by fiscal year -(fiscal year starts from July1st -June 30th )
    If the document is created date  between 1st  July 2012 -June 2013 then move the document to Archive document library and in  folder Fiscal Year 2013.
    If the document is created date  between 1st  July 2013 -June 2014 then move the document to Archive document library and in  folder Fiscal Year 2014.
    The structure of destination document library folder should be same as source document library.
    Please find attached the screenshot of the requirement.
    Files Type - Excel,pdf,microsoft outlook item
    Could we use Sharepoint designer workflow to achive this task?
    Any help on this will be appreaciated.

    Hi Asritha,
    According to your description, you want to create a workflow to meet the need.
    Per my knowledge, there is no built-in action which can move the documents from the current library to a folder in another library.
    I recommend to use the custom activity 'Copy List Item Extended' which need to be downloaded from
    http://spdactivities.codeplex.com/.
    Please per the steps below to deploy the custom activity to SharePoint:
    Download the activity form http://spdactivities.codeplex.com/
    Open Dos command prompt.
    Browse to the directory that you can access stsadm.exe. The default location in version 3.0 is C:\Program Files\Common Files\Microsoft Shared\web server extensions\14\bin
    Type the stsadm commands: stsadm -o addsolution -filename C:\UsefulSPDWorkflowActivities_0.5.0\DP.Sharepoint.Workflow.wsp (“C:\UsefulSPDWorkflowActivities_0.5.0\” is the file path)
    Type the stsadm commands: stsadm -o deploysolution -name DP.Sharepoint.Workflow.wsp -allowgacdeployment -force -immediate 
    Open the Center Administration, Click System Setting->Manage Farm Solution-> dp.sharepoint.workflow.wsp->Deploy to the Web Application.
    After that, we can create a workflow to meet the need.
    Here is the detailed steps to create the workflow:
    Create a workflow associated with the Source Library DocumentLib and set the workflow to start when an item is created.
    Select If current item field equals value, change the settings to be If Current Item: Created is greater than 7/1/2012.
    Select If current item field equals value, change the settings to be If Current Item: Created is less than 6/30/2013.
    Select Copy List Item Extended, change the settings to be Copy item in Current Item to list at Fiscal Year 2013 folder url.
    Select Delete Item, change the settings to be Delete Item in Current Item.
    Select If current item field equals value, change the settings to be If Current Item: Created is greater than 7/1/2013.
    Select If current item field equals value, change the settings to be If Current Item: Created is less than 6/30/2014.
    Select Copy List Item Extended, change the settings to be Copy item in Current Item to list at Fiscal Year 2014 folder url.
    Select Delete Item, change the settings to be Delete Item in Current Item.
    Publish the workflow.
    Best regards.
    Thanks

  • How to copy a folder from one document library to another document library ?

    How to copy a folder from one document library to another document library by programmtically?
    Samarendra Swain
    Team Sharepoint
    www.manuhsolutions.com

    You can use the SPFolder.CopyTo method.
    public static void CopyFolder()
    SPFolder folder = null;
    using (SPSite site = new SPSite("http://basesmcdev2/sites/tester1"))
    using (SPWeb web = site.OpenWeb())
    folder = web.GetFolder("shared%20documents/newfolder");
    folder.CopyTo("tester4/newfolder");
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfolder.copyto.aspx
    certdev.com

  • I can't use Photobooth - when I open the app, I get the message: "Photo Booth couldn't save your photos - Photo Both encountered an error when trying to save your photos. You photos cannot be saved at this time."

    I can't use Photobooth - when I open the app, I get the message: "Photo Booth couldn't save your photos - Photo Both encountered an error when trying to save your photos. You photos cannot be saved at this time."
    i tried adding user macintosh hd/users/your_user/pictures/"photo booth"  but still photo booth is not working and even images in photo booth cant be deleted they keep coming back

    Back up all data.
    This procedure will unlock all your user files (not system files) and reset their ownership and access-control lists to the default. If you've set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it.
    I've tested these instructions only with the Safari web browser. If you use another browser, they may not work as described.
    Step 1
    If you have more than one user account, and the one in question is not an administrator account, then temporarily promote it to administrator status in the Users & Groups preference pane. To do that, unlock the preference pane using the credentials of an administrator, check the box markedAllow user to administer this computer, then reboot. You can demote the problem account back to standard status when this step has been completed.
    Triple-click anywhere in the following line on this page to select it:
    { sudo chflags -R nouchg,nouappnd ~ $TMPDIR.. ; sudo chown -R $UID:staff ~ $_ ; sudo chmod -R u+rwX ~ $_ ; chmod -R -N ~ $_ ; } 2> /dev/null
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). I've tested these instructions only with the Safari web browser. If you use  another browser, you may have to press the return key after pasting.
    You'll be prompted for your login password. Nothing will be displayed when you type it. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command may take a few minutes to run, or perhaps longer if you have literally millions of files in your home folder. Wait for a new line ending in a dollar sign (“$”) to appear, then quit Terminal.
    Step 2 (optional)
    Take this step only if you have trouble with Step 1 or if it doesn't solve the problem.
    Boot into Recovery. When the OS X Utilities screen appears, select
    Utilities ▹ Terminal
    from the menu bar. A Terminal window will open.
    In the Terminal window, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window will open. You’re not going to reset a password.
    Select your boot volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
     ▹ Restart
    from the menu bar.

  • Move a folder, sub-folders, and documents under that folder from one document library to another within a Workflow

    Hello,
    I'm building a workflow in SharePoint Designer 2010 (Unfortunately we are not on 13 yet), and in that workflow I need to move a folder (with all it's sub-folders and items) from one document library to another document library.
    I tried a copy item but that kept failing, I checked content type, columns, and permission and it all looks good.
    the other option I started looking into is to Create the folder in the document list and them move all the items under that folder to the new folder. However I can't figure out how to loop through each items in that folder.
    Has this issue been addressed? or does someone has a solution.
    I looked and searched and all I found was tutorials on moving single items into a folder, but not entire folders.
    Thanks
    Hani

    Why to take pain in creating a workflow that copies folders, sub-folders and all of its contents from one document library to another.
    Simply open your source and destination document library in Windows Explorer mode and start copying your folder, sub-folders and contents that you want to copy out of the box.
    You will find "Open with Explorer" button under the Library tab on the ribbon of document library.
    Please remember to click 'Mark as Answer' on the reply if it helps you

  • Can only print ONE document then have to reset Airport Express to print aga

    The title says it all.
    Everything used to work fine until I installed Leopard. Now I can only print one document; subsequent documents will hang at 16% or 28%, etc.
    Anyone else had this problem?
    Thanks,
    Mark

    No, you are not the only person with the problem. I have tried it with both a "g" and an "n" Express (I bought the "n" hoping it might work better; nope). I have a Samsung CLP-510 plugged in to it. It prints one document, then I have to reset the Express before it will print again. When it tries to print the next document, it flashes "Unable to open device (read failure)!" briefly, then pauses the printer.
    It's been driving me crazy since I installed Leopard, so I basically gave up on the Express as a print server as there seems to be no cure, and Apple seems to have no interest in fixing it. (I have been through several firmware updates since the problem started, and none have made any difference).
    +Oddly, though, just now after the seventh reset, it accepted 6 of the documents in my queue (I had 22 in the queue, and I've just been waiting for it to pause, then resetting the router for each document) before it failed.+
    Message was edited by: The Technomancer

  • HT204053 Can I use one Apple ID for two Apple IPhones?

    Can I use one Apple ID for two Apple IPhones? I received an answer of yes.
    Now another question.  I have one ICloud Account, Two IPhones.  Can I use Find my IPhone via the one ICloud Account?  Can I see two IPhones on the map at the same time?  or do I need to view the second phone via some other method.
    Message was edited by: Hunter3D

    Yes.
    Cheers,
    GB

  • HT1660 how can I use one single library for all users on the same laptop?

    how can I use one single library for all users on the same laptop?

    You are most of the way there. Each user having access to hard drive is the key. If users are limited in file privileges this is harder.
    Any files you add to your library and any files she adds to her library are available to the other. Just not automatically. Each user must add the files to their own library using the add file or add folder option from menu bar.
    What I have done is set library location to a location outside of My Documents\My Music. On my network storage I have a folder names s:\itunes. Both accounts iTunes are set to use this location for the library.

  • HT1206 Can I use one iPod Touch with 2 accounts and download from both accounts?

    Can I use one iPod Touch with 2 accounts? Can I download onto the one iPod from each account?

    I havent seen anything confirming this but I suspect not. that would require you keep logging in and out of the two accounts since you can only sign in to one at once. In iTunes on your computer if you log into another iTunes account you can't log into another one for 90 days. As I say I've seen nothing confirming this on a mobile device, but I suspect it will be the same.

  • How to use one query results in another query

    hi,
    in help.sap I have founded that using variable type replacement path I can use one query results in another query. It is wrote there that I have to choose query name results I want to get in variable definition but I do not know where.
    How I can do this?
    Result I want to get is:
    In one query I have material prices in another material quantities. I want to calculate inventory value (price * quantity). Moreover prices are on plant level, quantities on storage type level. Plant is atribute of storage type.
    Can I do this?
    Regards,
    Andrzej

    Hi Andrzej,
    please check out this thread: Set parameters values depending on other parameters
    I had a discussion about query results as input for another query in there.
    For creating a workbook, just click on the save button after you ran your query in the bex.
    Siggi
    Message was edited by: Siegfried Szameitat

Maybe you are looking for