Published Resources

Hi,
those of you reading the main list will no doubt be aware that there is discussion about CSS rollovers. I have an Action which is a modified version of the standard Softpress Action. Instead of creating JavaScript for the rollover, it creates CSS instead. The need here is to stitch the states together, so that one image is used, instead of two (or three if you count the click). What I need to get is the published image - and this means getting the full path of the file:

Macintosh HD:Users:paul:Documents:My Site:Site Folder:Resources:rolloverimage.png

(I don’t think it matters if it’s a Finder path or a POSIX one as AppleScript can handle both).

So far, I’ve not been able to grab these paths using Freeway. I can get the path from the page being worked on. If I can’t get the path directly from Freeway, I should be able to cobble it together if I can get:

1 - The full path of the Site Folder

2 - The full path of the image from the root of the Site folder

So far, I’ve not been able to get any of this, so I’m stuck.
I need this information as the UI for the Action is identical to the regular Softpress offering, so the user does not have to learn new tricks, or even construct the images outside of Freeway. As such, the images created only exist when the document is published, so this is the time to grab them.

Any suggestions would be helpful. This is the only obstacle in my way to getting the Action working as desired.

Thanks.


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

This could well be my new friend:

alert(fwFolder.fwHttpPath(null,true));


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I expect to see that on your ‘wall’ in a few moments…

Walter

On Jan 29, 2009, at 11:09 AM, Paul wrote:

This could well be my new friend:

alert(fwFolder.fwHttpPath(null,true));


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

It’s a tweet…

I expect to see that on your ‘wall’ in a few moments…

Walter

On Jan 29, 2009, at 11:09 AM, Paul wrote:

This could well be my new friend:

alert(fwFolder.fwHttpPath(null,true));


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options